Post news RSS New map generation and smoother tree growth

A lot of things happened to the map today, within less than an hour and I must say, I'm very pleased with the result.

Posted by on

Upto now the points on the map, therefor the polygons, wer completely random distributed. I had some code to improve the points distribution but that was buggy so I decided to do it the other way around. Tak and a clean, smooth distribution (hexagons) and make it a bit random. It totally worked! No more long spear-like polygons. The other thing was to dump a little randomization I had on colour the map tiles. Sunlight will do the job much better. And lastly, grass received the treatment as the trees did yesterday. I will grow and spread with a few iterations. And for the trees, they are now growing in even smaller steps, even though it looks a bit buggy right now.

Comments
brennie00
brennie00

this seems so good when will I be able to play it

Reply Good karma Bad karma+1 vote
Post a comment
Sign in or join with:

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.