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! / DB pro text over sprites

Author
Message
loz
17
Years of Service
User Offline
Joined: 27th May 2006
Location:
Posted: 14th Feb 2009 19:59
Is it possible to make text appear in front of sprites ?
I posted my code earlier for pick sprite. the problem is the
text for the sprite info allways hidden by sprites at the same
coords
Thanks
Virtual Nomad
Moderator
18
Years of Service
User Offline
Joined: 14th Dec 2005
Location: SF Bay Area, USA
Posted: 14th Feb 2009 20:22
try this:



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
loz
17
Years of Service
User Offline
Joined: 27th May 2006
Location:
Posted: 14th Feb 2009 20:49
Yes, draw sprites first works just fine just what I was looking for
Thanks.
So moving on to my next question is it possible to save the screen coords of a positioned sprite to a data file and then position the sprite at those coords next time the program runs ?
BMacZero
18
Years of Service
User Offline
Joined: 30th Dec 2005
Location: E:/ NA / USA
Posted: 15th Feb 2009 03:47
Sure. Simple example program:



Ask away if you have any questions about it.

loz
17
Years of Service
User Offline
Joined: 27th May 2006
Location:
Posted: 16th Feb 2009 10:20
Great example thanks

Login to post a reply

Server time is: 2024-04-16 15:31:53
Your offset time is: 2024-04-16 15:31:53