I am messing around with menus and am hitting some road blocks.
First one is I got the clicking spot to work on the first background but when you click on it you have to hold the mouse button in to see the 2nd menu screen, and when you do it flickers.
set display mode 1600,900,32
`color backdrop rgb(0,0,0)
sync
` ===================
load image "MENUS/START.png",100000
sprite 2,0,0, 100000
PASTE sprite 2,1,0
` ===================
load image "MENUS/MAIN.png",110000
SPRITE 3,0,0, 110000
HIDE SPRITE 3
` ===================
Do
Mx=MouseX(): My=MouseY(): Mc=MouseClick()
If Mc=1 Then Gosub CheckMain
Sync
Loop
End
CheckMain:
If Mx > 1180 and My > 535 And Mx < 1420 And My < 630
hide sprite 2
PASTE sprite 3,0,0
endif
return