Is there a way to check if the player isn't moving, or that no button is being pressed? I want to make a simple idle animation that triggers after a certain time. I know Galv has written a script to do this, but it won't work with my game because I'm using a $ sprite. I'm hoping I can use a parallel process instead, but I'm not sure how to get started.
Thanks!
Check if the player is moving?
● ARCHIVED · READ-ONLY
-
-
Code:
$game_player.moving? -
Code:This was asked fairly recently. A quick search might have given you the answer without having to post.
Input.dir4 == 0 -
Many thanks! Sorry to spam, but I always search for answers before posting, Shaz, and I really couldn't find anything. In fact a google search for your code turns up absolutely nothing, strangely enough! Hopefully this post will make it easier for the next noob to find. :) This can be closed now.
-
Don't use Google to search the forums. The forum has a search facility that is much more reliable.
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.