Dynamic Reader

Blitz3D Forums/Blitz3D Beginners Area/Dynamic Reader

SSS(Posted 2003) [#1]
a little while ago i posted a dynamic reader in the misc section, and since that forum is really slow i thought i would post it here, hope no one minds, because i thought it would be usefull to some people... anyho here is the pose

http://www.blitzbasic.com/bbs/posts.php?topic=20636


jhocking(Posted 2003) [#2]
What is a "dynamic reader?" That's a pretty vague name.


SSS(Posted 2003) [#3]
sorry, it is like the input command but it does not stop blitz, so you could do something like this

either include the file w/ the functions or place it in the file

Graphics 640,480
SetBuffer BackBuffer()
;Creates A Reader
hdyn = CreateReader()
;Sets The Current Reader
SetReader(hdyn)
While Not KeyDown(1)
;Reads
DynamicRead()
;Gets Read text
t$ = GetReaderText(hdyn)
Color Rand(255),Rand(255),Rand(255)
Rect Rand(640),Rand(480),Rand(100),Rand(100)
;Prints Read Text
Color 255,255,255
Text 10, 10, t$
Flip
Wend
;Kills the Reader
KillReader(hdyn)