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.

Dark GDK / Layering 2D Sprites

Author
Message
El_Ejcovero
13
Years of Service
User Offline
Joined: 27th Jul 2010
Location: Drifting someplace in the west...
Posted: 28th Jul 2010 06:17
I am using dbSetSpritePriority to layer images, but when you use more than two priorities it doesn't seem to work. I have to explain that my program the commands to show the Sprites are embedded in several classes, any ideas on how I can layer them? Maybe I shouldn't use dbSetSpritePriority?

Hassan
15
Years of Service
User Offline
Joined: 4th May 2009
Location: <script> alert(1); </script>
Posted: 28th Jul 2010 15:51
i've never heard of a problem with dbSetSpritePriority, maybe its something wrong in your code? you should double check it, make a simple program to test, so you make sure it's not your code, if so, report this error, anyway you can just change the drawing order to set the priority, last dbsprite call draws on top of the rest

Login to post a reply

Server time is: 2024-07-02 09:46:52
Your offset time is: 2024-07-02 09:46:52