Search found 59 matches

by Zer0
Sun Mar 24, 2013 4:41 pm
Forum: Support and Development
Topic: Debug Console
Replies: 4
Views: 4518

Re: Debug Console

you could view the variable in it with (ex: love.graphics.getMode() whould return screen size and such) and then set the variable again with (love.graphics.setMode(width,height,...) as for input in the command prompt I would suggest a second thread so the game doesn't freeze when it's looking for in...
by Zer0
Mon Mar 04, 2013 9:32 pm
Forum: Libraries and Tools
Topic: Maze Thread
Replies: 50
Views: 47271

Re: Maze Thread

Zer0, those are very nice! It's very fun to watch. Although my definite favourite one is the recursive backtracer, the others are too biased for my taste. I like that one to. EDIT: I also uploaded ( or my web designer did ) them to my website. http://www.zer0problem.net/clicks/click.php?id=7 -- Wea...
by Zer0
Sat Mar 02, 2013 10:07 pm
Forum: Libraries and Tools
Topic: Maze Thread
Replies: 50
Views: 47271

Re: Maze Thread

Hi Zer0!. Hi Ref!. Once I weeded out all the threading stuff, it was apparent why we were seeing the same maze being generated.. You needed to call math.randomseed(os.time()) in the thread ( and I forgot to do that ) Maze generating library is actually very easy to use & stable. Thanks found th...
by Zer0
Fri Mar 01, 2013 8:57 pm
Forum: Libraries and Tools
Topic: Maze Thread
Replies: 50
Views: 47271

Re: Autogenerated Perfect Maze

that character is from Oracle of seasons and oracle of ages. I used to have both those games on my old GBC It's from Link's Awakening. (And Oracle) Shirley you've heard of Link's Awakening? Heard of it. I didn't own a copy but I played on someone elses GBC. ( Very Little ) Anyway here's the Perfect...
by Zer0
Fri Mar 01, 2013 3:30 pm
Forum: Libraries and Tools
Topic: Maze Thread
Replies: 50
Views: 47271

Re: Autogenerated Perfect Maze

Nice one. I like the visualization. However, the maze in the lower picture (the one with the tunnels) is not a maze. There are many parts in the maze that are not connected to the rest. I know. I am making a weave maze ( if that was the name ) I just need to figure that thing out. :awesome: EDIT: I...
by Zer0
Fri Mar 01, 2013 3:21 pm
Forum: Libraries and Tools
Topic: Maze Thread
Replies: 50
Views: 47271

Re: Autogenerated Perfect Maze

2. I get the same maze every time. (See that you have a shuffle function but ...) that's odd... try adding math.randomseed(os.time()) not sure if I forgot that A little help. Tried seeding in a number of locations and calling random.shuffle a random number of times but still seem to get the same ma...
by Zer0
Thu Feb 28, 2013 10:14 am
Forum: Libraries and Tools
Topic: Maze Thread
Replies: 50
Views: 47271

Re: Autogenerated Perfect Maze

Yeah a while ago I had written a random dungeon maze generator for a Zelda style game I was going to make. Put it on the back burner for now but am fascinated by stuff like this. http://i.minus.com/iXwrYzDJ2BP9I.PNG that character is from Oracle of seasons and oracle of ages. I used to have both th...
by Zer0
Thu Feb 28, 2013 6:00 am
Forum: Libraries and Tools
Topic: Maze Thread
Replies: 50
Views: 47271

Re: Autogenerated Perfect Maze

Interesting! Three questions: 1. Why use a thread? (I can't seem to make a second selection - thread already exists & kill doesn't seem to work.) otherwise it stops responding while generating the bigger one and I created it for the purpose of generating bigger maps in a game I am making 2. I g...
by Zer0
Wed Feb 27, 2013 9:38 pm
Forum: Libraries and Tools
Topic: Maze Thread
Replies: 50
Views: 47271

Maze Thread

Just what it says. I decided to rename the thread since it started to become more people posting stuff. Animated Perfect Mazes. http://web.comhem.se/~u39312158/backtracker http://zer0problem.net/games (click the mazes then) The clicks links are removed because of my friend who manages the site. (Not...
by Zer0
Sat Feb 16, 2013 1:24 pm
Forum: Libraries and Tools
Topic: Line intersection
Replies: 3
Views: 1781

Re: Line intersection

xXxMoNkEyMaNxXx wrote:Huh?
Well it does intersect but since the entire line intersect it can't decide where the intersection is and therefore picks point 2.