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.

Newcomers DBPro Corner / Bringing text to the front layer?

Author
Message
Mew151
16
Years of Service
User Offline
Joined: 1st Jun 2008
Location: Glitch city
Posted: 15th Feb 2010 06:42
How do you bring text to the front layer?

It keeps going behind sprites, and it is important text that must be read in the game.

Virtual Nomad
Moderator
18
Years of Service
User Offline
Joined: 14th Dec 2005
Location: SF Bay Area, USA
Posted: 15th Feb 2010 07:38 Edited at: 15th Feb 2010 07:39
use draw sprites first to ensure sprites are drawn to the screen before text (and 3d objects).

i guess not all sprite-related commands are in the sprite section. you'll find this one under the core commands.



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
Mew151
16
Years of Service
User Offline
Joined: 1st Jun 2008
Location: Glitch city
Posted: 15th Feb 2010 17:36
Thank you!

Stygian
14
Years of Service
User Offline
Joined: 6th Jan 2010
Location:
Posted: 20th Feb 2010 12:16
Is there a similar command for images?
Mew151
16
Years of Service
User Offline
Joined: 1st Jun 2008
Location: Glitch city
Posted: 20th Feb 2010 20:32 Edited at: 20th Feb 2010 20:32
You should just be able to use the same command.

Unless you want to bring sprites to the front where you use the draw sprites last command.

Login to post a reply

Server time is: 2024-11-24 20:23:12
Your offset time is: 2024-11-24 20:23:12