i got a problem with a input things, for some reason the text before input just blinks and disappears again... code goes like this, so if someone could tell me whats the problem.
Rem Project: Jukatic
Rem Created: Friday, September 11, 2009
Rem ***** Main Source File *****
sync on
sync rate 60
rem Toolbar
load image "MEDIA\Placeholder.bmp",1
sprite 1,10,10,1
load image "MEDIA\PROJEKTIT.JPG",2
sprite 2,80,10,2
hide sprite 2
load image "MEDIA\uusi.jpg",3
sprite 3,80,44,3
hide sprite 3
load image "MEDIA\Avaa.jpg",4
sprite 4,80,78,4
hide sprite 4
load image "MEDIA\tallenna.jpg",5
sprite 5,80,112,5
hide sprite 5
load image "MEDIA\sulje.bmp",6
sprite 6,80,146,6
hide sprite 6
Load image "MEDIA\Uusiselect.jpg",7
sprite 7,80,44,7
hide sprite 7
Load image "MEDIA\Avaaselect.jpg",8
sprite 8,80,78,8
hide sprite 8
Load image "MEDIA\Tallennaselect.jpg",9
sprite 9,80,112,9
hide sprite 9
Load image "MEDIA\Suljeselect.bmp",10
sprite 10,80,146,10
hide sprite 10
set image colorkey 212,212,212
Make matrix 1,1000,1000,20,20
projektit=0
Uusiprojekti=0
do
if mousex()>10 and mousex()<74 and mousey()>10 and mousey()<74 and mouseclick()=1
projektit=projektit+1
endif
if projektit>1
projektit=1
endif
if projektit=1 and mouseclick()=2
projektit=0
endif
if projektit=1
show sprite 2
show sprite 3
show sprite 4
show sprite 5
show sprite 6
endif
if projektit=0
hide sprite 2
hide sprite 3
hide sprite 4
hide sprite 5
hide sprite 6
endif
rem UUSI
if mousex()>80 and mousex()<176 and mousey()>44 and mousey()<76 and projektit=1
hide sprite 3
show sprite 7
else
hide sprite 7
endif
if mousex()>80 and mousex()<176 and mousey()>44 and mousey()<76 and projektit=1 and mouseclick()=1
Uusiprojekti=Uusiprojekti+1
endif
if uusiprojekti>1
uusiprojekti=1
endif
if uusiprojekti<0
uusiprojekti=0
endif
if Uusiprojekti=1
set text font "arial" : set text size 20
set dir "C:\Windows\Projects\Jukatic\projektit"
set cursor 10,200
Input "Anna projektillesi nimi: ",projekti$
set window title projekti$
make directory "projekti_"+projekti$
set dir "C:\Windows\Projects\Jukatic\projektit"+"\projekti_"+projekti$
make file projekti$+".jkc"
make directory "MEDIA"
print "Projekti tallennettu!"
sleep 1500
Uusiprojekti=uusiprojekti-1
endif
rem AVAA
if mousex()>80 and mousex()<176 and mousey()>78 and mousey()<110 and projektit=1
hide sprite 4
show sprite 8
else
hide sprite 8
endif
rem TALLENNA
if mousex()>80 and mousex()<176 and mousey()>112 and mousey()<144 and projektit=1
hide sprite 5
show sprite 9
else
hide sprite 9
endif
rem SULJE
if mousex()>80 and mousex()<176 and mousey()>146 and mousey()<176 and projektit=1
hide sprite 6
show sprite 10
else
hide sprite 10
endif
if mousex()>80 and mousex()<176 and mousey()>146 and mousey()<176 and projektit=1 and mouseclick()=1
end
endif
control camera using arrowkeys 0,10,2
update matrix 1
sync
loop