Page 1 of 1

Cave Generator

Posted: Wed Jan 18, 2012 1:48 pm
by Neolitik
hello all
I made a cave generator based on this tutorial :

http://www.noelberry.ca/2011/04/procedu ... -the-caves

Good tutorial for those who seek to do this sort of thing. that's why I post.

Espace for make new Cave !

by and thank for Love !

Re: Cave Generator

Posted: Wed Jan 18, 2012 2:40 pm
by MarekkPie
Must be using a framebuffer, because I can't see it on my netbook. I'll have to check it out when I get to my desktop.

Re: Cave Generator

Posted: Wed Jan 18, 2012 2:58 pm
by Ellohir
Not Framebuffer, I can see it.

Nice work, I love how it shows step-by-step creation, you can almost read the program watching it :awesome:

Re: Cave Generator

Posted: Wed Jan 18, 2012 4:17 pm
by nevon
MarekkPie wrote:Must be using a framebuffer, because I can't see it on my netbook. I'll have to check it out when I get to my desktop.
Probably Po2 syndrome.

Re: Cave Generator

Posted: Wed Jan 18, 2012 7:12 pm
by Nixola
There are no images and no framebuffers

Re: Cave Generator

Posted: Wed Jan 18, 2012 7:25 pm
by MarekkPie
Well...all I see is the text saying somethings happening.

Re: Cave Generator

Posted: Wed Jan 18, 2012 7:28 pm
by Nixola
There are 1pixel-wide horizontal and vertical lines, that's the problem. I put a 'love.graphics.setLine(1.5, 'smooth')' somewhere and it works (some graphic cards can't display those lines)

Re: Cave Generator

Posted: Wed Jan 18, 2012 8:34 pm
by Kingdaro
i'm going to guess that this works by spawning little "bugs" that move in random directions eating anything in their path, and then the script goes through and deletes any of the blocks that are standalones?

Re: Cave Generator

Posted: Thu Jan 19, 2012 5:23 pm
by Neolitik
Thank Nixola , for the fix ^^