Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / Sprite Overlapping Problem

Author
Message
Jordash
23
Years of Service
User Offline
Joined: 20th Jan 2003
Location:
Posted: 23rd Mar 2003 02:06
I'm having trouble with my main character sprite being drawn behind other sprites how do you specify which sprite is drawn in front of other sprites or behind?
Thanks
freak
23
Years of Service
User Offline
Joined: 20th Jan 2003
Location:
Posted: 23rd Mar 2003 02:09
you can't actually change the sprite z-position, but new sprites are each time drawn in top of the other existing ones

you might also not use sprites (they are very slow) and just use 3d surfaces... Then you can change the coordinates to set if such a surface is drawn in front of others or not

Login to post a reply

Server time is: 2026-06-12 03:34:51
Your offset time is: 2026-06-12 03:34:51