Maze Thread

Showcase your libraries, tools and other projects that help your fellow love users.
davisdude
Party member
Posts: 1154
Joined: Sun Apr 28, 2013 3:29 am
Location: North Carolina

Re: Maze Thread

Post by davisdude » Thu Apr 17, 2014 2:48 pm

Germanunkol wrote:Shame on you. Not for adding the end manually, but for using ms (paint)! :D
Yeah. I actually have Gimp, but Paint is just so much easier to use... :P
Germanunkol wrote:I would NOT want to have to find the end in that last maze... that's crazy :)
I actually did a race with a friend. It took a while.
Image
Ranguna259 wrote:The first maze was easy, you should've chosen a better end :P
I think that actually was where it stopped, now that I think about it...
GitHub | MLib - Math and shape intersections library | Walt - Animation library | Brady - Camera library with parallax scrolling | Vim-love-docs - Help files and syntax coloring for Vim

User avatar
Op Winter Storm
Prole
Posts: 5
Joined: Fri Sep 06, 2013 7:05 pm

Re: Maze Thread

Post by Op Winter Storm » Thu Apr 17, 2014 10:39 pm

I would like to see one that starts at each of the 4 corners, and works simultaneously. That'd be pretty cool. I'm not going to pretend that I knew how to do it, though... :o:
After eating an entire bull, a mountain lion felt so good he started roaring. He kept it up until a hunter came along and shot him. The moral: When you're full of bull, keep your mouth shut. - Will Rogers

davisdude
Party member
Posts: 1154
Joined: Sun Apr 28, 2013 3:29 am
Location: North Carolina

Re: Maze Thread

Post by davisdude » Fri Apr 18, 2014 3:56 am

New, more optimized maze. Removed some bugs and made it automatically choose an end! If the end it too easy, you can press any key (but escape) to place it somewhere else. Also fixed an issue regarding the images (if you look closely at the images missing the bottom and right wall, you'll notice they're off some).
Op Winter Storm wrote:I would like to see one that starts at each of the 4 corners, and works simultaneously. That'd be pretty cool. I'm not going to pretend that I knew how to do it, though... :o:
That's a neat idea. One similar to that has already been done here. I may try to do something like that, though. :D
Attachments
Maze.love
(4.2 KiB) Downloaded 68 times
GitHub | MLib - Math and shape intersections library | Walt - Animation library | Brady - Camera library with parallax scrolling | Vim-love-docs - Help files and syntax coloring for Vim

davisdude
Party member
Posts: 1154
Joined: Sun Apr 28, 2013 3:29 am
Location: North Carolina

Re: Maze Thread

Post by davisdude » Sat Apr 19, 2014 1:14 am

Alright, I did your idea. It starts in separate corners and once it finishes it chooses a random start and finish.
You can press escape to close it.
You can press space to save the image to C:/Users/YOUR NAME/App Data/Roaming/LOVE/Maze.
You can press any other key to:
- Pause while it's working.
- Switch the start and end once it's finished.
Attachments
Maze.love
(4.61 KiB) Downloaded 70 times
GitHub | MLib - Math and shape intersections library | Walt - Animation library | Brady - Camera library with parallax scrolling | Vim-love-docs - Help files and syntax coloring for Vim

Germanunkol
Party member
Posts: 711
Joined: Fri Jun 22, 2012 4:54 pm
Contact:

Re: Maze Thread

Post by Germanunkol » Sat Apr 19, 2014 7:15 am

Don't you generate four seperate mazes now, though? So start and finish might be in different mazes and the end doesn't have to be reachable from the start...?
trAInsported - Write AI to control your trains
Bandana (Dev blog) - Platformer featuring an awesome little ninja by Micha and me
GridCars - Our jam entry for LD31
Germanunkol.de

davisdude
Party member
Posts: 1154
Joined: Sun Apr 28, 2013 3:29 am
Location: North Carolina

Re: Maze Thread

Post by davisdude » Sat Apr 19, 2014 2:47 pm

Sometimes the mazes may connect. However, there is a chance that there will be unconnected grids. I will have to make sure that I solve that problem...
GitHub | MLib - Math and shape intersections library | Walt - Animation library | Brady - Camera library with parallax scrolling | Vim-love-docs - Help files and syntax coloring for Vim

User avatar
pgimeno
Party member
Posts: 2340
Joined: Sun Oct 18, 2015 2:58 pm

Re: Maze Thread

Post by pgimeno » Mon Sep 05, 2016 1:11 am

Infinite Maze (no, it's not the same image again and again, it's Eller's algorithm).

Works with LÖVE 0.9.1+.
Attachments
InfiniteMaze.love
(2.64 KiB) Downloaded 63 times

davisdude
Party member
Posts: 1154
Joined: Sun Apr 28, 2013 3:29 am
Location: North Carolina

Re: Maze Thread

Post by davisdude » Thu Nov 24, 2016 4:29 am

Coincidentally, I just revisited this project and remade the maze generator. Now it even connects all the mazes! without using ms paint :oops:

Use mousewheel-up/down to increase/decrease the size of the cells. r to restart
Attachments
maze-v2.love
(7.69 KiB) Downloaded 57 times
GitHub | MLib - Math and shape intersections library | Walt - Animation library | Brady - Camera library with parallax scrolling | Vim-love-docs - Help files and syntax coloring for Vim

Post Reply

Who is online

Users browsing this forum: No registered users and 11 guests