saboteur Posted March 10, 2022 Share Posted March 10, 2022 Hi, Maybe this has been covered somewhere ( but I couldn't find it)... How do you get a sprite to pass behind ( or in front off ) another sprite/background object - is this a z order thing ? It's not leaping out at me Cheers for any info Quote Link to comment Share on other sites More sharing options...
LordKraken Posted March 10, 2022 Share Posted March 10, 2022 Check https://reboot-games.com/jagstudio/ReferenceManual.html and the rapSortSprites function Quote Link to comment Share on other sites More sharing options...
Sporadic Posted March 10, 2022 Share Posted March 10, 2022 (edited) Additionally, the sprites are always displayed in the order they appear in the object list. So if the order doesn't need to change, just put them in the correct order to start with. The zorder function does have a slight performance overhead so only use it if you really need to. Edited March 10, 2022 by Sporadic Quote Link to comment Share on other sites More sharing options...
saboteur Posted March 10, 2022 Author Share Posted March 10, 2022 Thanks - for some reason I thought it was a property in rapinit. 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.
Note: Your post will require moderator approval before it will be visible.