craftyjs/Crafty

Maximum call stack exceeded

0xf0xx0 opened this issue · 0 comments

Hello again o7
I'm having this issue where whenever the player entity is on a wall object and tries to move in a different direction while moving into the wall, the game will freeze with this error
To reproduce:
Create a long bar and define it as a wall.
Create a fourway entity that will stop when it hits the wall.
Move the entity into the wall, and try to go a different direction at the same time.