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

Pretty simple to understand! How did you do the trail effect? I thought it was really cool, but it glitched and disappeared after a while!

Thanks for the comment! For the trail effect, I used the position of the drill to draw a permanent dark line over the background (=  by adding the position at each frame to an array and then use the array to draw the line). I also found out after submitting that it bugs out after a while - I think it might be because the polyline function (which I used in Godot) has some limit on the length of the line, so if the array gets too long it bugs out. I guess removing the "oldest" point in the array at each frame would solve it.

yeah, I would guess that you had some sort of array overflow. It is a bad idea to add to an array every single frame. What you could do instead is have it add to the array only if the player is far enough away from the most recent point.