My RPG/Chi Online -- Map Generation in Off Topic
|
|
So as far as the needed components, space is done. Solar systems spawn based on how big the map is, planets spawn from as low as 1 per system up to a defined variable (which will be an in-game setting). Solar systems orbit around a galactic center, while planets orbit within their respective solar systems. You can plainly see the planetary orbits while the solar orbits are much more subtle. Orbits also look elliptical, as if the planets were being pulled towards an object by gravity before accelerating away, only to be pulled back again. Planets closer to the sun orbit faster than those further away. Also, finally, the planets spawn randomly in their respective orbits instead of all in the same spot.
However, it's not done as far as where I want it to be. I could create several 'bands' of solar systems to better mimic a galaxy, which would also allow for more solar systems at any given map size. I also want to add in smaller things such as rogue asteroids. I have additional ideas but I am reluctant to share them at this time.
However, what's currently roadblocking me from progression to a demo version is planet surface generation. I need to find that 'right balance' between land and water, and do this as efficiently as possible. I -will- have to put a loading screen in due to the mass amount of generation involved in this project.
|