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

Get help using Construct 2

Post » Tue May 06, 2014 5:44 am

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.

thanks
----------------------
Amigos:

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.
Gracias
B
42
S
11
G
2
Posts: 111
Reputation: 3,823

Post » Tue May 06, 2014 7:06 am

Cant you just add an " else" ?

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

(or set animation etc)
August 2015 - I misplaced a lot of links - I will try to find backups and repost. If You find a post that interests please reply to post with @rampackwobble and I will get a nudge!

If you find my posts useful please consider donating something to a local charity or to the http://www.mndassociation.org/
B
64
S
34
G
47
Posts: 1,194
Reputation: 30,882


Return to How do I....?

Who is online

Users browsing this forum: dand, mageekm, oosyrag and 31 guests