
-----------------------------------
CooKieLord
Thu Jan 05, 2006 9:35 pm

Mouse.ButtonMoved/Mouse.ButtonWait
-----------------------------------
Hello, I am new here and I was looking up some threads that might be relevant to my question, without too much luck. I'm making a program similar to the popular TV show "Who Wants to be a Millionnaire?" for my Computer Programming class. Now I'm presented with a problem that has stumped me.

I tried using a GUI with buttons for the four choices. I found it ugly, and wanted to use a background with the actual colours and interface that they used in the TV show. Now to pick the answers, the user must click within the boundries that I've set, in order to pick the answer.

for x : 1 .. 15
    Window.SetActive (boutton)
    Font.Draw (question (x), 70, maxy - 35, defFontID, white)
    Font.Draw (reponsea (x), 75, (maxy div 2) - 15, defFontID, white)
    Font.Draw (reponseb (x), (maxx div 2) + 60, (maxy div 2) - 15, defFontID, white)
    Font.Draw (reponsec (x), 75, 15, defFontID, white)
    Font.Draw (reponsed (x), (maxx div 2) + 60, 15, defFontID, white)
    loop
        if buttonmoved ("down") and m1 >= 0 and m1 = 230 and m1 = 0 and m1 = 230 and m1 = 0 and m1 