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.

Author
Message
Butter fingers
20
Years of Service
User Offline
Joined: 20th Mar 2006
Location: Mecca
Posted: 20th Oct 2011 12:34
Hello.

Ok, so I'm using Dbpro v1.76 or v1.076 or whatever.

I have a bunch of cars, and a player car in a side scroller.

I want to base the sprite priority on the y position of the sprite, so basically the further down the screen, the higher the priority.

This doesn't seem to work using
set sprite priority sprite number,sprite y(sprite number).

Has the set sprite priority command been overridden in the version I'm using? I need my sprite priority to change dynamically at runtime, so having it based on image numbers is impossible.

anyone??

Sleep is over-rated.
Butter fingers
20
Years of Service
User Offline
Joined: 20th Mar 2006
Location: Mecca
Posted: 20th Oct 2011 13:51
ah...

Helps if you make sure you've accounted for sprite offsets..

don't worry people, I fixed it..

Sleep is over-rated.

Login to post a reply

Server time is: 2026-07-10 23:33:51
Your offset time is: 2026-07-10 23:33:51