When I run my program, as soon as it gets to the menu the mouse freezes. What am I doing wrong?
sync rate 0
sync on
hide mouse
center text 320,240,"Please Wait..."
load music "music\mymercy.mp3",1
loop music 1
cls
load bitmap "bitmaps\demonsbreathlogo.bmp",1
i=1 : s=20
for a=100 to 0 step -5
get image i,0,0,640,151
fade bitmap 1,a
inc i
next a
set current bitmap 0
for a=i-1 to 1 step -1
paste image a,0,150
sleep s
sync
next a
sleep 2000
cls
load bitmap "bitmaps\anarchy.bmp",1
i=1 : s=20
for a=100 to 0 step -5
get image i,0,0,640,151
fade bitmap 1,a
inc i
next a
set current bitmap 0
for a=i-1 to 1 step -1
paste image a,0,150
sleep s
sync
next a
suspend for key
cls
show mouse
load image "bitmaps\anarchymenu.bmp",1
paste image 1,0,0
wait 100
do
if mousey()<160 and mouseclick()=1
goto newgame
endif
loop
newgame:
end
Am I the only one here who's really confused?
In the shadow of the valley of death we will need our torches.