..O Deniz's personal pages
/home /about

Epic4x: Devlog #2

February 24, 2017

If you don’t have a population on a surface tile with resources then who will harvest them? Well, today I implemented a feature that will allow you to move populations from one tile another. If there is another population on the target tile, then they will swap places with the guys coming in. Moving a population to another tile will affect their happiness in a bad way, I don’t know how bad just yet. Another issue was the growth of populations on the planet surface. It works in the following way:

The exact formula (each day the population point is adjusted like this): x = food surplus (production – consumption) image was lost the result is added to the current planet population points. if (population points > nextScore) grow new population on an empty tile nextScore is calculated as 1.65p + p^1.12 where p is the current population If a new population spawns it prefers a tile with resources. If none exists then they will settle for an empty tile. Another improvement(!) was in the UI. I added some simple drop down boxes to relocate a population from one tile to another. Yes drag and drop of populations would be nice, but that sort of UI niceness is low priority until the game mechanics are in place. image was lost

Tags: #gamedev #epic4x #devlog