Posted: 14th Nov 2002 11:30
Based this on indi's code for rollover button.

sync on
sync rate 0
x=0
y=50
x2=x+50
y2=y+50
do
load bitmap "your bitmap here 1.bmp"
if mousex()>x and mousey()>y and mousex()x and mousey()=>y and mousex()
Posted: 14th Nov 2002 14:57
Isn't it a pain the code tags much around with your code???
Posted: 15th Nov 2002 13:03
What?? Oh, I'll try again!
+ Code Snippet
sync on
sync rate 1000
x=50
y=50
x2=x+50
y2=y+50

do 
load bitmap "your bitmap here 1.bmp" 
if mousex()>x and mousey()>y and mousex()x and mousey()=>y and mousex()<x2 and mousey()<y2
load bitmap "your bitmap here 2.bmp"
else
load bitmap "your bitmap here 1.bmp"
endif
if mouseclick()=1 and mousex()<x and mousey()>y and mousex()x and mousey()=>y and mousex()<x2 and mousey()<y2
gosub new_game
suspend for mouse

new_game:

your game here