Your problem is because after printing all that writing, the program reads the entry buffer and then immediately moves on. It will only read stuff that the user typed while it was writing the text, which isn't going to be much
.
Try this:
findamodel:
sync on
sync rate 60
do
text 0,0,"Type the name of an object with the extension of .3ds or .x to load it."
text 0,20,"Examples: alevel.x"
text 100,40,"anotherlevel.3ds"
Input "",objectname$
text 0,80,"File: "+objectname$
text 0,100,"Hit Enter when done."
if keystate(28)=1
goto runtheviewer
endif
sync
loop
runtheviewer:
sync on
sync rate 60
position camera 0,0,-10
load object objectname$,1
scale object 1,4000,4000,4000
do
control camera using arrowkeys 0,10,10
speed#=0.2
damper#=10.0
camy#=wrapvalue(camy#+mousemovex()*speed#):camx#=wrapvalue(camx#+mousemovey()*speed#)
if camx#<=290 and camx#>180 then camx#=290
if camx#>=70 and camx#<180 then camx#=70
tx#=curvevalue(-camx#,tx#,damper#)
ty#=curvevalue(-camy#,ty#,damper#)
rotate camera camx#,camy#,0
sync
loop
Quote: "Also, I don't care as much, but how would I go about getting all the characters that I'm typing there spaced out as the user types?"
Hmmm? Can you explain that a little better?
Los Mineros are on leave...