Help with rules

Hey guys I am making a piano app and I need help. Should I use when touch is pressed play sound or when mouse is over play sound?? Thanks

Comments

  • Jsn95Jsn95 Member Posts: 6
    I just started playing with GS, but If I try to use touch for anything while attempting to preview the game, nothing works... I assume because it's not on the device... I used mouse to make the "touch" stuff work in GS for preview, and I will switch it all to touch before publishing the app so it will work with the iPhone.

    Unless I'm doing something wrong here, touch isn't working for me with a mouse click, and I don't have a touch screen computer... Makes sense to me?
  • carlblanchetcarlblanchet Member Posts: 755
    Use when touch is pressed and mouse position is inside -> play sound
    (Can't be more safe than by using both :P)

    @Jsn95
    Touch is pressed works in the preview, and mouse button is down works on all devices. So you don't need to worry about which one you use.
  • Jsn95Jsn95 Member Posts: 6
    edited November 2012
    @carlblanchet Interesting... I basically have a "tap to start" movement for the scene, and on my computer (Macbook Pro) I would assume that "touching" is done with the mouse, yet nothing touching (pressed, released, inside, outside) using the mouse won't do anything... But if I switch it to mouse is down, or released, it will start fine... Good to know I won't have to switch it before publishing.
  • carlblanchetcarlblanchet Member Posts: 755
    @Jsn95 That's odd.. If you would like me to take a look at your project I gladly will!
    My email address is on my profile (click my name).
Sign In or Register to comment.