Skip to main content

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

I appreciate that you like it! The trench is actually a bunch of lines connected to each other, and as the submarine falls down, new lines are generated. All lines have as a start point the end of the previous line, and as an end point a random point along an arc of 160 degrees downwards. The lines are also set to only be within a certain horizontal range, and those ranges slowly shift as you descend, making the trench also slowly shift

 

(+1)

Oh ok makes sense! That's really smart and you made it look really good for 'just' being a bunch of connected lines. Thanks for explaining!