Cave Generator

Showcase your libraries, tools and other projects that help your fellow love users.
Post Reply
Neolitik
Citizen
Posts: 55
Joined: Sun Jun 28, 2009 3:13 pm

Cave Generator

Post 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 !
Attachments
CaveGenerator.love
Cave Generator.Love 0.7.2
(1.23 KiB) Downloaded 316 times
User avatar
MarekkPie
Inner party member
Posts: 587
Joined: Wed Dec 28, 2011 4:48 pm
Contact:

Re: Cave Generator

Post 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.
User avatar
Ellohir
Party member
Posts: 235
Joined: Sat Oct 22, 2011 11:12 pm

Re: Cave Generator

Post 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:
User avatar
nevon
Commander of the Circuloids
Posts: 938
Joined: Thu Feb 14, 2008 8:25 pm
Location: Stockholm, Sweden
Contact:

Re: Cave Generator

Post 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.
User avatar
Nixola
Inner party member
Posts: 1949
Joined: Tue Dec 06, 2011 7:11 pm
Location: Italy

Re: Cave Generator

Post by Nixola »

There are no images and no framebuffers
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
User avatar
MarekkPie
Inner party member
Posts: 587
Joined: Wed Dec 28, 2011 4:48 pm
Contact:

Re: Cave Generator

Post by MarekkPie »

Well...all I see is the text saying somethings happening.
User avatar
Nixola
Inner party member
Posts: 1949
Joined: Tue Dec 06, 2011 7:11 pm
Location: Italy

Re: Cave Generator

Post 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)
Attachments
CaveGenerator1.5.love
(1.23 KiB) Downloaded 172 times
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
User avatar
Kingdaro
Party member
Posts: 395
Joined: Sun Jul 18, 2010 3:08 am

Re: Cave Generator

Post 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?
Neolitik
Citizen
Posts: 55
Joined: Sun Jun 28, 2009 3:13 pm

Re: Cave Generator

Post by Neolitik »

Thank Nixola , for the fix ^^
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 165 guests