S
SmallyBiggs
Guest
Hi,
This would seem to be a very basic and common problem, but I've not been able to find anything referring to this specific issue.
I'm using the 'key_press events" to move my Player object with the arrow keys, and also to change sprites accordingly. I also have an animated "Idle Player" sprite that I'd like the Player object to change into and stop moving when none of the arrow keys are pressed. I tried using the keyboard event "no key pressed", but it doesn't play the Idle Player animation. Instead, it stops at the first frame. I assume this is because the player object is constantly changing into the the idle sprite if no key is pressed, but I'm not exactly sure. Also I should note that when I press any other key besides the arrow keys, it DOES play through the idle animation.
I'm using drag & drop functions, but I'm also familiar with basic code. Any help is greatly appreciated.
Thank You,
Benny
This would seem to be a very basic and common problem, but I've not been able to find anything referring to this specific issue.
I'm using the 'key_press events" to move my Player object with the arrow keys, and also to change sprites accordingly. I also have an animated "Idle Player" sprite that I'd like the Player object to change into and stop moving when none of the arrow keys are pressed. I tried using the keyboard event "no key pressed", but it doesn't play the Idle Player animation. Instead, it stops at the first frame. I assume this is because the player object is constantly changing into the the idle sprite if no key is pressed, but I'm not exactly sure. Also I should note that when I press any other key besides the arrow keys, it DOES play through the idle animation.
I'm using drag & drop functions, but I'm also familiar with basic code. Any help is greatly appreciated.
Thank You,
Benny
Last edited by a moderator: