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 / delete text only - leaving sprites intact

Author
Message
jayell leedham
18
Years of Service
User Offline
Joined: 24th Jan 2006
Location: North Yorkshire
Posted: 13th Apr 2008 00:30
I would like to create a blinking text message without disturbing the sprites etc on the screen, as cls would do. I read somewhere that the message could be made into a sprite, but the text in the image i make is very unclear. Is there any way please?
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 13th Apr 2008 00:59 Edited at: 13th Apr 2008 01:01
heres one way you can try. change the 5 to the speed of blink you want.



make an image at the begining of your code to put in the sprite later.

Dark Physics makes any hot drink go cold.
Dabbler
17
Years of Service
User Offline
Joined: 3rd Mar 2007
Location: Minnesota
Posted: 13th Apr 2008 01:11
If you are using get image to capture the text for your sprite, be sure to set the texture flag. Like this:




Whatever...

Login to post a reply

Server time is: 2024-09-27 14:31:08
Your offset time is: 2024-09-27 14:31:08