
-----------------------------------
awesomenesss22
Sun Jan 06, 2019 4:18 pm

Having a 'Click to continue' inside a loop
-----------------------------------
I'm creating a game and at the beginning title screen there are 2 buttons which can be pressed that take you to 2 different screens, as seen down below:

setscreen ("graphics:1000;1000")
var BoxX, BoxY, Clicks : int
loop
    mousewhere (BoxX, BoxY, Clicks)
    locate (10, 10)
    if Clicks = 1 and BoxX >= 550 and BoxX = 500 and BoxY = 350 and BoxX = 500 and BoxY 