Can someone help me out?
this is my code
ink rgb(250,0,0),1
text 50,50,("Click any button to play")
suspend for key
cls
`loads playing bitmap and determines whether to use money or not
load bitmap "kitchen_play.bmp":money_use$="yes"
rem ///////////////End of setup\\\\\\\\\\\\\\\\\\
time#=5
do
`determine whether bake time /bake temperature is increased
if upkey()=1 then time#=time#+1
rem make money appear on thee toolbar
if money_use$="yes"
ink rgb(0,0,250),1
set text size 24
text 0,400,("Money")
endif
set cursor 0,420
print money#
sync
rem make bake time appear
set cursor 110,420
text 110,400,("Bake time")
print time#
rem make temperature appear
set cursor 200,420
text 200,400,("Temperature")
print temperature#
rem make items appear
text 350,360,("Inventory")
ink rgb(0,0,250),1
rem prints my items
set cursor 350,380
print item_a$
set cursor 350,400
print item_b$
set cursor 350,420
print item_c$
`instructions to enter store
set text size 18
text 350,450,("Press left ctrl to visit store")
`determines if user entered store
if keystate(29)=1 then gosub store
sync
loop
`my subroutines
store:
cls
load bitmap "store_outside.bmp"
suspend for key
load bitmap "kitchen_play.bmp"
return
The problem is that you are supposed to press the up arrow key to increase the bake time and the program is supposed to show this new bake time. Unfortunatley all it does is print the new bake time over the old one making it impossible to read. Can anyone help me out?
http://jimmyr.co.uk
"THere is no spoon"