Page 1 of 1

Lake generator

Posted: Wed Nov 22, 2017 8:57 pm
by kbmonkey
I've been playing this old pc-dos game called BassTour, I have fond memories playing it and I landed a few lunkers - albeit hooking my partner's hat some.

The lakes you fish in the game are all hand crafted, and it got me thinking about map generation. This technical demo uses cellular automata to make some good fishing lakes.
lakescreenshot.png
lakescreenshot.png (4.12 KiB) Viewed 4426 times

Re: Lake generator

Posted: Wed Nov 22, 2017 11:51 pm
by bananpermobil
oOOooh, sexy! and it is GNU-licensed! Oh my! Nice work on both the code and the demo, very easy to grasp!

The only problem I have with this is that I now have exactly zero excuses left for not starting my dungeon crawler...

Re: Lake generator

Posted: Thu Nov 23, 2017 4:28 am
by kbmonkey
Thanks! Speaking of dungeon crawlers, I ran across rotLove in my research and made a mental note to look it over one day. It might be useful :crazy:

Re: Lake generator

Posted: Thu Nov 23, 2017 12:57 pm
by bananpermobil
kbmonkey wrote: Thu Nov 23, 2017 4:28 am Thanks! Speaking of dungeon crawlers, I ran across rotLove in my research and made a mental note to look it over one day. It might be useful :crazy:
I've seen that too, or rather, I've looked at the source project a long time ago when searching for js libs. If I'm ever making an old school rogue-like, that's probably what I'll be using!

Re: Lake generator

Posted: Thu Nov 23, 2017 2:20 pm
by kbmonkey
I tweaked the code to produce more natural looking ground structures by filling in random blocks. The green areas would be shallow waters where vegetation grows. Latest source attached to the first post.
lakegen-anim-v2.gif
lakegen-anim-v2.gif (56.44 KiB) Viewed 4339 times