ID:1558453
 
(See the best response by Ter13.)
I am trying to make the player tilt using the animate() proc, and i have that working fine. But, i cannot make the player reset after letting go of the key. Anyhelp?
Forum_account has an awesome library to handle this very thing. You can check it out here, and read the documentation for more details.
I was looking for more of a client.Move() sort of thing, like seeing if a proc is firing or not. I am not using libraries as of now
Try reseting it after Move() has finished? You said you finished making it tilt, and if you've done that; after the step wouldn't you want to tilt it back to be straight up? That should reset it to standing right up after you stop moving if i'm correct. Kind of like the following?
Move()
animate()//tilt
..()
animate()//rightside up
The way it works is it has a hidden player verb, and on each of the directions it tilts. i need it to reset when the player stops moving, and is idling
Best response
Check out my EdgeSliding demo. You will benefit from the movement loop I constructed to handle input.

Notice that I use a +UP macro and a +DOWN macro to handle the movement loop. You can use the same technique to detect when a movement has ended or begun.
Another idea that i had to handle it is to have a value, that every tick is reset, but when a player is moving it is pushed up to one. Any idea how to do this? I could have the player tilt back when the value is 0.
In response to TGameCo
TGameCo wrote:
Another idea that i had to handle it is to have a value, that every tick is reset, but when a player is moving it is pushed up to one. Any idea how to do this? I could have the player tilt back when the value is 0.

That's going to depend on timing and potentially induce side-effects --my advice would be to take a look at my EdgeSliding demo, it's really the best way to handle it.
In response to Ter13
I have implemented your code, but i do not know how or when in your code i should call the animation. I see you do the calculations to see if the player can move, but a decent portion is lost on me. It works fine... but i am just confused on how to implement my code.