Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

The art and sound are amazing! I tried to create a similar game, but I had major issues detecting closed shapes and ended up abandoning the idea. How did you do it?

Godot has a really neat system where you can turn a couple of Vector2 points into a polygon shape using the CollisionPolygon2D node. Basically, whenever you start drawing a point is added to an array, and when your cursor gets far enough away another point is added to the array. When you are done drawing, the collisionpolygon2D node sets its collision shape to the array. Thank you for playing, and I hope you learned something new!