Blinking Text

Blitz3D Forums/Blitz3D Beginners Area/Blinking Text

Gauge(Posted 2013) [#1]
I'm working oon a text editor. I want it bto be able to handle blinking text. I was plannin on using two different images and flipping them back and forth to produce the effect. Is there a way to set an automatic timer that would do this for me? Other than if millisecs >old_millisecs+200? Any suggestions. thank you


jfk EO-11110(Posted 2013) [#2]
I think there are some commands around Settimer, that I never use. As Blitz is a single process, that usually runs in a loop at eg. 60 fps, you can easily do your own little "interrupt'. For text, you could also alter the text color and text it anyway, like...

if (millisecs() and 512)<>0
Color 0,0,0
else
Color 255,255,255
endif
text x,y,bla$