button plays a bug

premvijay89premvijay89 Member Posts: 7
edited June 2012 in Working with GS (Mac)
hai guys,curently ma doing platform game,i made a right,left and jump button to make my actor to move,its working good but sometimes the button stick eventhough i released the button,i have to press the button again to release it.help please guys!!.....thank you

I use the same technique of:

Best Answer

  • carlblanchetcarlblanchet Posts: 755
    Accepted Answer
    Maybe try adding a MouseButton is Up rule as well as the Touch is Released.

Answers

  • premvijay89premvijay89 Member Posts: 7
    thanks carlblanchet,i tried ready but when i press one of the button,both button are functional at the same time??
  • carlblanchetcarlblanchet Member Posts: 755
    in that case make sure that you give all actors that are pressable the Rule: when touch is pressed, and when mouse position is inside. This will insure that it will only detect a press when the actor is clicked with the mouse on top of it only.

    Hope this helps!
Sign In or Register to comment.