L
Luke1265
Guest
I am just starting to use game maker. I have created a knockback state (using Drag and drop) in which the character moves into when damage is taken. Hp is set to 5, when damage is taken the correct amount works. Except when the player hits the ground, it doesn't move back into the idle/walk state and continues to 'float' in the air. I have a 'check state' script which runs when vsp is greater than 0, but instead it never changes state. I have attempted to fix this by moving the check state before checking vsp, but this results in no knockback at all.
I have looked over the code for spelling mistakes/any mistakes at all
I have looked over the code for spelling mistakes/any mistakes at all
Attachments
-
312.3 KB Views: 5
-
309.9 KB Views: 5