How do I.. Sprite button for touch game "ON RELEASE" State

0 favourites
  • 2 posts
From the Asset Store
State Machine
$10.99 USD
State Machine is a great tool for managing the state of anything in your game.
  • friends:

    I have a game with TOUCH SCREEN IN JOYSTICK, in which pressing a button is a "Sprite" the character slips on the floor for high pass obstacles.

    My problem is this, you have to give instruction to tell the game "When you stop pressing the button" character back to its original position.

    Property used FLASH button "ON RELEASE" but here in the construct not how to fix this.




    Tengo un juego TOUCH con IN SCREEN JOYSTICK, en el cual apretando un botón que es un "Sprite" el personaje se resbala por el suelo para pasa obstáculos altos.

    Mi problema es el siguiente, que instrucción tengo que dar para decirle al juego "Cuando se deje de presionar el botón" el personaje regrese a su posición original.

    EN FLASH usaba la propiedad de botón "ON RELEASE" pero acá en constructo no se cómo solucionar este problema.


  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Cant you just add an " else" ?

    touch is touching sprite"down" -- set player frame (crouched)

    else -- set player frame (standing)

    (or set animation etc)

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)