Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(2 edits) (+1)

This is fantastic! I really love what you've done there. How did you manage to store all those cool planets in the very limited Pico-8 memory? Do you generate them with your algorithm when the game launch?

I can't wait to see the new features you plan to add. Congratulations again :)

(+1)

Thanks a lot! :D

Kind of - it's all generated on-the-fly (procedurally).
For example...
- when you scroll around in the Galaxy Map, new "pages" of systems are generated
- when you enter a new system, the planets are generated (using a consistent Noise generator)
- when you land on a planet, the initial surface area is generated
- when you walk around the planet, new "areas" of the surface are generated.

It's all down to using unique numbers to "seed" the random number generation. By seeding the RND() function, you will always get a consistently-random output. So, each system, planet, surface tile will always end up with the same seed (number). It's predictable, therefore you don't ever need to store it, just trust that it'll always come out the same.

Check out some linkson Procedural Generation and you'll disappear down the rabbit-hole for this stuff - it's fascinating (though I've only just started to dabble in it myself). Have fun! :D

(1 edit) (+1)

Thanks a lot for your answer! I'm definitely going to learn more about this.