Having problems with walls. The enimies get through walls and it’s ruining the game here is the project:
1 Like
It’s because you have
There’s no reason to have it with a tilemap, so I deleted it.
here is your fixed code.
You don’t want sprites to spawn on top of walls, otherwise walls won’t apply to them until they exit the tiles with walls.
Also disable stay in screen for sprites, they can clip into walls and disobey the laws of physics.
2 Likes
Thank you.![]()
1 Like

