Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

All of the cubes Y axis positions are randomly generated.

there could be a if query, if the player is there every  time.

I don't understand what you mean. The Y positions of the cubes are randomly generated with no connection to the Y position of the player.