I need help whith my game

I’m trying to make animation but when it reaches the end of the animation my sprite dissappears then it can phase throug the walls please reply as soon as possible here is my game https://arcade.makecode.com/S24026-27832-78545-48347

The problem was there was a blank frame that turned off the hit box I made two, fixed is JUST the fix but v2 has a few new features (If you need a pfp I’ll make you one!)

1 Like

Here’s a pfp
Screenshot 2024-07-20 2.55.24 AM

1 Like

When I peered into the code, it seems you have to turn on the loop option for animations. Also, I saw your animation has a frame where the sprite disappears. You should delete the frame as well if you want a plain running animation.

The reason that's happening is because you have an empty frame in your animation:

Delete that frame and it’ll fix both the blinking and the phasing through walls too (MakeCode Arcade uses the sprite pixels themselves for collision not the sprite resolution).

Fixed it https://arcade.makecode.com/S65076-55560-13830-41223

1 Like

Thank you i didnt see that frame when i was making the animation i was wwatchingvtv at the same time