I’m currently working on a basic game where you slash at enimies and try not to die. I’m having a problem where my enemy is not doing his movement animation unless the player is still since he’s constantly following the player. Any suggestions on how to fix this?
Game Link: https://arcade.makecode.com/S08375-35874-27527-92388 (remove the ‘change life by -1’ block to disable character death0
Update: I made many changes to the project but the glitch is still happening. Here is the updated project.
Something like this, maybe, @ChaosChaos1997?:
The reason why your last version appeared to have no enemy animations while moving, was that the animation was changed or restarted too frequently and before it could really start. I put in some state switches to only change animation if direction was significantly altered.