
-----------------------------------
Polar
Tue Apr 19, 2016 5:21 pm

Turing Music
-----------------------------------
I want music to play on command by clicking a button. I have three buttons set up alongside the rest of the game. My goal is to have a song play when you click the button, along with having a title appear. However, clicking the buttons does not do anything. Help. 

Relevant Code: (Note that this is in a larger loop) 
 %Song Buttons
        drawfillbox (880, 100, 980, 200, black)
        drawfillbox (890, 110, 970, 190, grey)
        Font.Draw ("Lance's", 895, 160, font3, blue)
        Font.Draw ("Theme", 895, 130, font3, blue)

        drawfillbox (1000, 100, 1100, 200, black)
        drawfillbox (1010, 110, 1090, 190, grey)
        Font.Draw ("Cynthia's", 1012, 160, font4, blue)
        Font.Draw ("Theme", 1015, 130, font3, blue)

        drawfillbox (1120, 100, 1220, 200, black)
        drawfillbox (1130, 110, 1210, 190, grey)
        Font.Draw ("Lake", 1145, 160, font3, blue)
        Font.Draw ("Trio", 1148, 130, font3, blue)

        Mouse.Where (mX2, mY2, button2)
        if (button2 = 1) and (mX2 >= 890) and (mX2 = 110) and (mY2 = 1010) and (mX2 = 110) and (mY2 = 1130) and (mX2= 110) and (mY2