Platform: Windows
IDE: VS Code
LUA Level: Beginner
Hello all,
I am adding collision to tiles and props in a procedural generation using setCollideRect (objects extended from playdate.graphics.sprite). When I spawn just the tiles it's fine;
https://drive.google.com/file/d/1hAjxpsTAB0zuHMd1fmW3VKMa7sx2ft7m/view?usp=share_link
(sorry new users can only embed one image)
but when I spawn the props on flat sections of the tiles, I get these random collision boxes;
(outlined in red)
I have tried setting the collision response to freeze, or even overlap with little success. The Props are spawned -16 (size of sprite) above the tile, but as you can see at various places I get an extra collision box? Unless I am miss reading this.
Any ideas what would be causing this behaviour?
Regards,
Ian