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.

Bug Reports / Get sprite priority

Author
Message
Ric
19
Years of Service
User Offline
Joined: 11th Jul 2004
Location: object position x
Posted: 2nd Oct 2005 20:48
Ok - I apologise for the cheekiness of posting this here, as it's not really so much a bug as an omission imo, but I know, Mike, you're looking through these this week and I figured it's the best place to catch your attention.

There is no command to retrieve the sprite priority. A 'get sprite priority(sprite number)' command would be extremely useful (for me at least!). I know you can easily store the priorities in an array as they are set, but I'm trying to write an application that will be incorporated into a user's piece of code (sticking sprites in and around the user's original sprites) and the user's code will probably not have kept a track of the priorities.

Surely an easy thing to add in 5.9? Please?

Mike Johnson
TGC Developer
21
Years of Service
User Offline
Joined: 13th Sep 2002
Location: United Kingdom
Posted: 4th Oct 2005 11:21
Makes sense to add this in. Will do it today
Mike Johnson
TGC Developer
21
Years of Service
User Offline
Joined: 13th Sep 2002
Location: United Kingdom
Posted: 4th Oct 2005 12:46
Command added in 5.9

* return integer = sprite priority ( sprite number )
Ric
19
Years of Service
User Offline
Joined: 11th Jul 2004
Location: object position x
Posted: 4th Oct 2005 13:48
Fantastic! Thanks Mike, that will be really useful.

Login to post a reply

Server time is: 2024-04-25 17:55:09
Your offset time is: 2024-04-25 17:55:09