Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Really neat game, very nice game feel!
I wonder how you made it so it knows when an area is filled out enough!
I enjoyed the game!

I had a bug at the last level, at some point it drew the color with much more space between each dot, so it took much longer to fill out the area, but when I restarted the level it was working again.

(+1)

Thanks for playing! To check if the area is filled I just did something pretty hacky where every paint dot is actually just a gameobject that is placed when the player moves a certain amount. It has a trigger collider on it and then there is a grid of detection points through each segment that need to be marked completed to a certain extent say 70% before it will mark the area as filled. And for performance, the collider is removed from the color dot if it does not collide with one of these detection points after it is instantiated. The bug you had might be due to me accidentally not multiplying the movement threshold for placing a new dot by delta time.

(+1)

Okay interesting!
Thank you for the explanation! :)