Ok i got this code from TDK's tutorial and for my 1st menu it works fine but not for my second menu,
I've tried running this code on it's own, incase there was something else in my program not working, but again it still won't work.
The GameMButton1.png and GameMButton2.png are not displaying when the mouse hovers over the specified area
Load Image "media\GameM1.png",11
Load Image "media\GameMButton1.png",12
Load Image "media\GameMButton2.png",13
Paste Image 11,0,0 Rem Load Background
Rem Paste Image 12,177,249: Rem Other Button 1 Image Displays when loaded here
Rem Paste Image 13,538,250: Rem Other Button 2 Image Displays when loaded here
Set Text Opaque
Center Text 401,300,"GAME MODE NOT YET ACTIVE!"
Center Text 401,320,"PRESS ANY KEY TO GO BACK TO START MENU MENU!"
Do
Mx=MouseX(): My=MouseY(): Mc=MouseClick()
Gosub CheckRegion2
Sync
Loop
End
CheckRegion2:
Rem Button1
If Mx > 177 and My > 249 And Mx < 250 And My < 305
If Mc=1
Center Text 401,330,"GAME MODE NOT YET ACTIVE!"
Else
Paste Image 11,0,0: Rem Restore Background Screen
Paste Image 12,177,249: Rem Other Button 1 Image Doesn't Display here
Rem Sync Rem Even Tried Sync Here
Endif
Endif
Rem Button2
If Mx > 538 and My > 250 And Mx < 600 And My < 300
If Mc=1
Center Text 401,340,"GAME MODE NOT YET ACTIVE!"
Else
Paste Image 11,0,0: Rem Restore Background Screen
Paste Image 13,538,250: Rem Other Button 2 Image Doesn't Display here
Rem Sync Rem Even Tried Sync Here
Endif
Endif
Sync
Wait Key
Return
FPS Creator Updated 116,Vista 32Bit UpTo Date, nVidea 8500 1Gig Graphics Card, 4 Gig DDR2 Ram, Intel Duel Core 3GHZ CPU