
-----------------------------------
Preet
Mon Nov 26, 2007 3:08 pm

Clicking Help
-----------------------------------
Listen guys im working on a game for school and im trying to mak a click button so that it exits when i click. This is whan I have so far but its not working can someone help me please. I also want the other buttons to work.

Thanks!

var click, x, y : int

drawbox (340, 340, 380, 320, black)
locatexy (350, 330)
put "Play"

drawbox (340, 240, 445, 260, black)
locatexy (350, 250)
put "Instructions"

drawbox (340, 180, 380, 160, black)
locatexy (350, 170)
put "Exit"
loop
    exit when click = 1 and 340 