A little bit of Land and a lot of Water |
This is just a small sample of the planet design. The land is simple, 96×96 pixel wide image split in to 9 32×32 tiles. Each planet, depending on its size, is split in to a certain amount of tiles. The player will pick “land” tile and place it on the planet (within a certain amount of blocks away from the edge). The tiles will automatically adjust the edges based on where the tile is in relation to other tiles.
Drawing the land each time is resource intensive, so the way I decided to tackle that idea is to generate a unique planet texture everytime a piece of land is added to the planet. So long as the land on the planet isn’t modified it will use the same texture for for rendering each time. The buildings will be done in the same way to a certain extent so long as the building isn’t animated. Now to actually do it.
