Monday, April 8, 2019

Terraforming

The next step in the arcade-style space mining game I'm making is terraforming. I need to be able to build planets randomly. In previous attempts the planet surface was just tiled backgrounds but now I want to build actual world topography.
To do so I'm first building an elevation map then using that to build the terrain tiles. I have a sea level value to determine whether the tile is above or below sea level. And I also take into account the latitude, so I can generate the polar and equator regions. I will later expand this but so far the tiles somewhat resemble a planets topography. There is some other logic built in it to handle areas of water.
It works in the stand alone working project. I still need to update it to function within the game project itself.

No comments:

Post a Comment

From Shotcut to Kdenlive

So I've been using Shotcut for a while now, for my YouTube videos... and music videos. I love the application. Slicing clips, doing fade...