Cobradile Posted August 4 Report Share Posted August 4 I'm making a 3D game for the Atari Jaguar game jam, and am using the Jaguar SDK. I gotten myself familiar with the 3D demo and learned how to import my own models to it. I'm at the stage where I need to render 2D sprites on top of the 3D for things like the HUD and menus (or as billboard sprites?). However, there are no demos for doing so in C, so need to use assembly. I'm not familiar with assembly at all, but I found the code to load up the bitmap from one of the demos and added it to the video code of my project, but the closest I've gotten to it working is it flashing the sprite on the screen and then just a black screen. I've attached a txt of the code if you want a look at that. I've been told about the removers' library for 2D. Can this be used for what I want to achieve? What do I do? video.s.txt Justin and DegasElite 2 Quote Link to comment Share on other sites More sharing options...
phoboz Posted August 5 Report Share Posted August 5 (edited) 18 hours ago, Cobradile said: I'm making a 3D game for the Atari Jaguar game jam, and am using the Jaguar SDK. I gotten myself familiar with the 3D demo and learned how to import my own models to it. I'm at the stage where I need to render 2D sprites on top of the 3D for things like the HUD and menus (or as billboard sprites?). However, there are no demos for doing so in C, so need to use assembly. I'm not familiar with assembly at all, but I found the code to load up the bitmap from one of the demos and added it to the video code of my project, but the closest I've gotten to it working is it flashing the sprite on the screen and then just a black screen. I've attached a txt of the code if you want a look at that. I've been told about the removers' library for 2D. Can this be used for what I want to achieve? What do I do? video.s.txt 8.38 kB · 1 download Yes, a custom display manager was added to the Removers' library so it can use the 3D renderer from the Jaguar SDK. This demo uses the 3D renderer from the Jaguar SDK trough the Removers library. Note the cockpit image, e.g. a large sprite put in front of the 3D rendering area. Also the Removers' library is used for playing the music you hear in the background. Not recorded so well because the sound come from a pair of headphones in front the the mobile phone I used to record this video, but you get the idea: PS. If you are interested, please PM me and I can share some code. Edited August 5 by phoboz ptw-ace, DegasElite and Cobradile 3 Quote Link to comment Share on other sites More sharing options...
Cobradile Posted August 16 Author Report Share Posted August 16 With some help, I figured out how to do this without Removers, and wrote a tutorial on my website to help others out! phoboz and A31Chris 2 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.