scrolling text

Blitz3D Forums/Blitz3D Programming/scrolling text

The Forum Archive is locked. These are the original blitzbasic.com forums, kept so their posts can still be read and searched. No new topics, replies or edits can be made here. To join the conversation, head over to the Blitz3D+ forums.

Graphics 1024,768,16,1
SetBuffer BackBuffer() 

Viewport 5,10,500,200 
Color 255,100,50
a=220

While Not KeyDown(1)

a=a-1

Color 220,0,0
Rect 5,10,500,200,1
Color 255,255,255

Text 10,a,"This is the Evil first line of Text"
Text 10,a+20,"My name is the dread Pirate Roberts!"
Text 10,a+40,"Yada, Yada, Yada....You are all doomed!"
Text 10,a+60,"Well, bring me a nice Shrub, not too expensive.."
Text 10,a+80,"It's only a flesh wound!"
Text 10,a+100,"The Grail is hidden in the tower of Castle Anthrax"
Text 10,a+120,"As you wish, Buttercup..."

Flip
 Delay 60

 Cls
Wend
End


Amanda, here's a really simple, 2D, (and not very good!) example of "Text x,y" that I was talking about in my previous message... this same kind of "window" can be used with 3D programs. You can also specify differant Fonts or letter styles and sizes.