Spellcaster Studios

Make it happen…

Polishing the swamp…

Today I started polishing the swamp… First, I added the water with the flow… This was way more work than it should, but since I don’t have rivers, I don’t have a notion of flow, so I had to invent one…

Basically, what happens here is that the water will try to move in one direction (very slowly), while keeping away from the shoreline:

screen507

It looks good in motion! Smile

Then I decided to change the algorithm to generate the swamp terrain…

The previous algorithm was using the same basis as the rest of the terrain types, but taking the average height and making everything below that water. This worked more or less fine, but it tended to create terrains that would be all “ground” on an end of the map, and all “water” on the other end…

I decided to adapt the cavern algorithm to generate more clustered terrain, using a cellular automata. The results were much better!

screen508

This is a terrain with about 55% water, I can control that to make it less watery… Smile

Next step, to add visual effects to the swamp to increase the interest of the area in general…

Now listening to “The Wall” by “Pink Floyd”

Comment