cave generation

Previous topic - Next topic

djtoon

any one have a way to generate a cave from tiles?
im looking to make a random cave generator

Crivens

Personally I would look into voxels. Best cave demo I ever saw was with C code with voxels. Even allowed you to shoot tunnels through it and bits would fall down etc. Very nice. On the other hand I think Dark Basic had an old cave demo that would probably easily be converted.

Cheers
Current fave quote: Cause you like musicians and I like people with boobs.

djtoon

i mean a 2d map of a cave a side view of tiles :)

matchy

Hmm...I'm actually working on a random 2d tiled cavern game at the moment. ;)

Got any examples of what you mean of a cave?  :doubt:

Kitty Hello

YES!! http://www.glbasic.com/forum/index.php?topic=1335.msg9559#msg9559 PeeJay's version worked fine for me. There's another one in the code snippets ,which I haven't tested.

Ian Price

I did a cave based game a couple of years ago for the Wiz - see HERE

Not sure if this is anything like what you are after, but it worked for my game and the scene is made up of tiles.
I came. I saw. I played.

Slydog

You may find some ideas on the 'Procedural Content Generation Wiki':
http://pcg.wikidot.com/

They have a page dedicated to caves:
http://pcg.wikidot.com/pcg-algorithm:caves


You may be able to adapt a Perlin Noise algo to your needs.
Here's an algo I found in my bookmarks:
http://www.gutgames.com/post/Perlin-Noise.aspx

And this page generates decent looking caves, with caverns etc, a bit advanced tho:
http://accidentalnoise.sourceforge.net/minecraftworlds.html
My current project (WIP) :: TwistedMaze <<  [Updated: 2015-11-25]

Hatonastick

Quote from: Slydog on 2011-Sep-13
You may find some ideas on the 'Procedural Content Generation Wiki':
http://pcg.wikidot.com/

They have a page dedicated to caves:
http://pcg.wikidot.com/pcg-algorithm:caves


You may be able to adapt a Perlin Noise algo to your needs.
Here's an algo I found in my bookmarks:
http://www.gutgames.com/post/Perlin-Noise.aspx

And this page generates decent looking caves, with caverns etc, a bit advanced tho:
http://accidentalnoise.sourceforge.net/minecraftworlds.html

Some very interesting links there!
Mat. 5: 14 - 16

Android: Toshiba Thrive Tablet (3.2), Samsung Galaxy Tab 2 (4.1.2).
Netbook: Samsung N150+ Netbook (Win 7 32-bit + Ubuntu 11.10).
Desktop: Intel i5 Desktop with NVIDIA GeForce GTX 460 (Win 8.1 64-bit).

matchy

Minecraft 18 beta (Adventure update) has some interesting examples of generated 3D caverns as well as villages.