Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Great fast-paced space shooter. Fun to play. The music really helps the feeling of the game.

How did you do the distribution of the asteroids?

(1 edit)

Thank you playing! The distribution of enemies I think is pretty simple, you see...

We got two rows: the first one and the second. They are affected by the player's rotation so basically they're always in front of him outside the camera. When it is time for a hazard to spawn it picks a row and picks a random point to spawn on. We need two rows as some objects (Meteors) might spawn so big that they can be seen appearing on the camera edges.

If you want to go more in depth visit the github's scripts/systems folder and look for the random gen script


Thanks. I will look at the code.