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
Hawkblood
16
Years of Service
User Offline
Joined: 5th Dec 2009
Location:
Posted: 24th Feb 2010 05:20
How do I make DBP ALWAYS render the text on top of EVERYTHING? Including sprites.

The fastest code is the code never written.
Mobiius
Valued Member
23
Years of Service
User Offline
Joined: 27th Feb 2003
Location: The Cold North
Posted: 24th Feb 2010 08:14
You have to Paste Sprite for it to appear behind text, and only if you display the text after any other 2D commands.

My signature is NOT a moderator plaything! Stop changing it!
Hawkblood
16
Years of Service
User Offline
Joined: 5th Dec 2009
Location:
Posted: 24th Feb 2010 15:27
I think I tried the paste sprite idea, but it didn't work. Would you please give me some example code.

The fastest code is the code never written.
Mobiius
Valued Member
23
Years of Service
User Offline
Joined: 27th Feb 2003
Location: The Cold North
Posted: 24th Feb 2010 18:30
Simple.


My signature is NOT a moderator plaything! Stop changing it!
Hawkblood
16
Years of Service
User Offline
Joined: 5th Dec 2009
Location:
Posted: 24th Feb 2010 19:28 Edited at: 24th Feb 2010 19:31
Thanks. I'll have to take a look at that when I get home....
EDIT:
This doesn't take into account sprite priority? When you paste sprite, it doesn't care about the priority, it just puts it on top of whatever is there already.... Right? And since the text is done after the paste, it is on top!

The fastest code is the code never written.
Hawkblood
16
Years of Service
User Offline
Joined: 5th Dec 2009
Location:
Posted: 25th Feb 2010 20:03
Works like a champ!!! Thanks!

The fastest code is the code never written.
Mobiius
Valued Member
23
Years of Service
User Offline
Joined: 27th Feb 2003
Location: The Cold North
Posted: 26th Feb 2010 08:48
Coolio!

My signature is NOT a moderator plaything! Stop changing it!

Login to post a reply

Server time is: 2026-07-27 23:45:22
Your offset time is: 2026-07-27 23:45:22