How do I stop my crouch animation at the last frame? I tried setting it up like this and it still loops.
// Get Input
// Crouch Animation
sprite_index = sp_jplayercrouch;
image_speed = 0.4
if sprite_index = sp_jplayercrouch && image_index = 6
In my game I want the Star Wars Jawa you play as to be able to crouch down when you use the Left Shift key. All the movement and everything works good, including the jumping and switching to crouch mode, except when he stands back up the only thing he can do is jump. I have it set to when L...
So I've got a script that contains all of the player's movement, animations, collisions, etc., and it works just fine. I'm pretty new to programming in gml. I'm trying to make my character crouch when the player presses and holds the down key, but I can't figure out how to get it to work...
I created a new state called scr_crouch_state and want to make my character switch to it from scr_move_state by pressing a button. I already made a whole bunch of code about it but accidentally deleted it. I don't really regret it because it was actually flawed. For example,when I pressed the...