I can't figure out why my game is crashing

I’ve been working on a game but when you swing your sword it will sometimes crash. Can someone find the problem in the code? here’s the link:


Your pixel art is amazing!!

1 Like

I changed the while true blocks to on button pressed which fixed things. The issue was actually the walking I think.
I also fixed the attack which would attack multiple times without input if I spammed B with a timer block.
I would recommend delaying the big swipe attack after the shockwave as it is a bit obstructed by it and I think the attack looks amazing.


Thank you!

1 Like

Great art, but I wanted to point out you misspelled “launched” as “launced” in that intro. Just wanted to point that out if you want to fix it

1 Like