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.

2D All the way! / Problem 2d programming

Years of Service
User Offline
Joined: 16th Jul 2010
Posted: 16th Jul 2010 16:28
How do I define which sprites that should be drawn upon which in Dark GDK? I'm new here.
Virtual Nomad
Years of Service
Recently Online
Joined: 14th Dec 2005
Location: SF Bay Area, USA
Posted: 16th Jul 2010 20:59 Edited at: 16th Jul 2010 21:02
you can take control of the draw order by setting each sprite's priority.

in dbpro: SET SPRITE PRIORITY SpriteNum, Priority

sprites will then be drawn in ascending order. ie, Sprite 1, Sprite 2, etc., with the larger numbers "on top" of the smaller ones.

further, you'll get better help re: DarkGDK by posting your DarkGDK questions in the DarkGDK section of the forum.

good luck!

Virtual Nomad @ California, USA
AMD Phenomâ„¢ X4 9750 Quad-Core @ 2.4 GHz . 8 GB PC2-6400 RAM
ATI Radeon HD 3650 @ 512 MB . Vista Home Premium 64 Bit

Login to post a reply

Server time is: 2023-05-29 06:27:12
Your offset time is: 2023-05-29 06:27:12