I load my music properly and everything but it says it can't be loaded why?
load music "Sub Hunter",1
rem Play the music that was loaded into number one
play music 1
Gosub setup:
position camera 5000,300,5000
Do
Gosub menu:
if leftkey()=1 then angley#=wrapvalue(angley#-2.0)
if rightkey()=1 then angley#=wrapvalue(angley#+2.0)
if upkey()=1 then move camera 20
if downkey()=1 then move camera -20.0
rem Update camera
rotate camera 0,angley#,0
Loop
setup:
Ink RGB(255,0,0),0
Box 100,100,200,120
Ink 0,0
Box 101,101,199,119
Ink RGB(255,255,255),0
Text 135,102,"quit"
Set Text Opaque
Box 210,100,280,120
Ink 0,0
Box 211,101,279,119
Ink RGB(0,255,0),0
Text 220,102, "Mission"
Box 310,100,380,120
Ink 0,0
Box 311,101,379,119
Ink RGB(0,255,0),0
Text 315,102, "Mplayer"
return
one_player:
cls
make matrix 1,5000,5000,4,4
load bitmap "branch01.bmp",1
get image 1,0,0,256,256
delete bitmap 1
prepare matrix texture 1,1,2,2
fill matrix 1,0.0,1
return
menu:
Mx=MouseX(): My=MouseY(): Mc=MouseClick()
If Mx>100 and My>100 and Mx<200 and My<120
If Mc=1
End
Else
Text 0,0,"Click here on that button to quit"
endif
else
text 0,0, "________________________________"
endif
If Mx>210 and My>100 and Mx<280 and My<120
If Mc=1
gosub one_player
Else
Text 0,20,"Click for a new 1 player mission mode. "
Endif
else
text 0,20, "________________________________________"
Endif
If Mx>310 and My>100 and Mx<380 and My<120
If Mc=1
text 0,40, "unavailable"
Else
Text 0,40,"Click for Multiplayer "
Endif
else
text 0,40, "________________________"
Endif
return
That's what I have so far can anyone help with the music?
One more thing:
when you click on the one player button it loads the matrix fine but the lines from the menu are still there how do I get rid of them. I think it may be that the 'gosub menu' is in the main loop but when I place it before that it doesn't work
Data
http://jimmyr.co.uk
"THere is no spoon"