another newbie question "button up/released"
![joelE](http://forums.gamesalad.com/applications/dashboard/design/images/defaulticon.png)
Am i right in thinking we can't apply timers to the amount of time a button has been released.
i am trying to create a command that when a button is pressed the actor crouches and moves right. when button is released the actor jumps straight up.
my question is- Can i control the height of the jump on release in relation to how long the button was pressed.
ie, button pressed for 1 sec or less, on release actor accelerates 200 up if pressed for 2 secs or more on release actor accelerates 400 up.
I have messed around with this for a few days and have come to the conclusion that it's not possible.
i am trying to create a command that when a button is pressed the actor crouches and moves right. when button is released the actor jumps straight up.
my question is- Can i control the height of the jump on release in relation to how long the button was pressed.
ie, button pressed for 1 sec or less, on release actor accelerates 200 up if pressed for 2 secs or more on release actor accelerates 400 up.
I have messed around with this for a few days and have come to the conclusion that it's not possible.
Comments
Ace
I'm trying timers i think the answer is in there somewhere.
cheers
thats sounds like just the thing.
cheers
Ace
thanks and sorry for the newbieequeness of my quanderings.
i am trying to work it out for myself but im going round circles and the fuse is burning....self-distruct is surly imminent
please tell me.. go on.. please