RaananW Posted October 2, 2015 Share Posted October 2, 2015 Hello dear community, The first Babylon.js challenge is over. The poll is still open. Every vote count, support the democracy! http://www.html5gamedevs.com/topic/17554-babylonjs-monthly-challenge-results/ Inspired by Oglaf's greatest strip, http://oglaf.com/labyrinth/, I present you the next challenge - We are going to build mazes. For cheese, for regards, for monsters, and mainly for the sake of fun. A nice example was already given be @davrous - he used a QR code to build a labyrinth - http://blogs.msdn.com/b/davrous/archive/2014/02/19/coding4fun-tutorial-creating-a-3d-webgl-procedural-qrcode-maze-with-babylon-js.aspx The only rules are:It has to be original.We have to be able to walk through it (Not necessarily camera!)It should be solvable. Or at least it should have a goal or final destination.Size doesn't matter at all!Please PM me your results once you are done. If you have any questions, this thread is exactly the place. Let the games begin, and may the odds be ever in your favor. Oh, and just the same as the last one - prizes to be won include respect, honor, a github contribution with your name in it, and beer. If you are in Berlin. Especially during Octoberfest. Boz, kpgbrink and Jaskar 3 Quote Link to comment Share on other sites More sharing options...
jerome Posted October 2, 2015 Share Posted October 2, 2015 http://oglaf.com/skein/ RaananW and Boz 2 Quote Link to comment Share on other sites More sharing options...
jerome Posted October 2, 2015 Share Posted October 2, 2015 has it to be designed randomly ?or could it be thought as fixed by an evil sick mind ? Quote Link to comment Share on other sites More sharing options...
RaananW Posted October 2, 2015 Author Share Posted October 2, 2015 Nope, no obligation for a random maze. But it can be! Quote Link to comment Share on other sites More sharing options...
MasterSplinter Posted October 2, 2015 Share Posted October 2, 2015 I'm in! RaananW 1 Quote Link to comment Share on other sites More sharing options...
Wingnut Posted October 2, 2015 Share Posted October 2, 2015 Can it be 3D... having multiple floors with ladders, stairs, escalators, elevators, slides, ramps, and teleport pads? I'm just having fun, here. Don't build mazes like that... you'll give players brain tumors. (That's how they build the administrative offices at U.S. Department of Motor Vehicles facilites, and that's why everyone is angry in those places.) Quote Link to comment Share on other sites More sharing options...
jerome Posted October 2, 2015 Share Posted October 2, 2015 I hope they will all be 3D !!!with gates to other galaxies on so on a minima ozRocker and Wingnut 2 Quote Link to comment Share on other sites More sharing options...
Vousk-prod. Posted October 2, 2015 Share Posted October 2, 2015 Hey !! For those who want to design nice random mazes there are pretty cool algorithms, you can find some here : http://jamisbuck.org/mazes/ Jaskar and Boz 2 Quote Link to comment Share on other sites More sharing options...
MasterSplinter Posted October 2, 2015 Share Posted October 2, 2015 Hey !! For those who want to design nice random mazes there are pretty cool algorithms, you can find some here : http://jamisbuck.org/mazes/You're trying to melt my brain! Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted October 2, 2015 Share Posted October 2, 2015 This can help:http://blogs.msdn.com/b/davrous/archive/2014/02/19/coding4fun-tutorial-creating-a-3d-webgl-procedural-qrcode-maze-with-babylon-js.aspx Quote Link to comment Share on other sites More sharing options...
Jaskar Posted October 2, 2015 Share Posted October 2, 2015 Hey !! For those who want to design nice random mazes there are pretty cool algorithms, you can find some here : http://jamisbuck.org/mazes/ Yay ! I started my Maze today with an algorithm which is not on this list ! Quote Link to comment Share on other sites More sharing options...
Vousk-prod. Posted October 2, 2015 Share Posted October 2, 2015 You're trying to melt my brain! :D Yep ! BTW those examples are really fascinating to look at when they're running. Jaskar 1 Quote Link to comment Share on other sites More sharing options...
EJanuszewski Posted October 2, 2015 Share Posted October 2, 2015 I reckon even I could have a go at this! Probably will be awful compared to others, but why not Quote Link to comment Share on other sites More sharing options...
MasterSplinter Posted October 4, 2015 Share Posted October 4, 2015 Built the maze quick... building the algorithm -- wish i could read ruby... aye aye aye Quote Link to comment Share on other sites More sharing options...
iiceman Posted October 5, 2015 Share Posted October 5, 2015 Hey !! For those who want to design nice random mazes there are pretty cool algorithms, you can find some here : http://jamisbuck.org/mazes/ I used one of those and it works pretty well. With all the explanations there you don't even need to understand ruby (I don't know ruby either). Nice source, thanks Vousk! Quote Link to comment Share on other sites More sharing options...
RaananW Posted October 5, 2015 Author Share Posted October 5, 2015 The "Hunt-and-Kill algorithm" should be chosen by everyone, just because of its name of course :-)Such an awesome website. I can contribute this one - http://www.astrolog.org/labyrnth.htm (especially this page - http://www.astrolog.org/labyrnth/algrithm.htm) , but it doesn't have those nice examples all over. Party on! Boz 1 Quote Link to comment Share on other sites More sharing options...
jerome Posted October 5, 2015 Share Posted October 5, 2015 mmmh and what about a transparent glass labyrinth also ? Quote Link to comment Share on other sites More sharing options...
RaananW Posted October 5, 2015 Author Share Posted October 5, 2015 Hated them as a kid. Got my head bumped one too many times. As long as you build in the feature to stretch hands forward, it is fine. Jaskar 1 Quote Link to comment Share on other sites More sharing options...
jerome Posted October 5, 2015 Share Posted October 5, 2015 Quote Link to comment Share on other sites More sharing options...
Vousk-prod. Posted October 5, 2015 Share Posted October 5, 2015 I used one of those and it works pretty well. With all the explanations there you don't even need to understand ruby (I don't know ruby either). Nice source, thanks Vousk! You're welcome ! Quote Link to comment Share on other sites More sharing options...
gryff Posted October 6, 2015 Share Posted October 6, 2015 Well, as I have said elsewhere, I'm ambivalent about contests - but with mazes as the subject , I thought I would give it a try. Mind you, RaananW had an issue with my logic maze - so .... Anyway, as the first major piece of VRML I created 12-13 years ago had a maze as part 1 of the 3 parts - I thought I might revisit the "Mines Of Tindalos" (ironically a VRML piece that I created for a contest which had software prizes - it came 2nd) So here is my initial attempt at creating a basic maze with BJS. Tindalos Maze (first attempt) No longer available as Dropbox changed their usage criteria See below for github links It is created on a square grid (15x15 cells) and uses the recursive back tracking method. Each cell can have 4 walls many of which are removed. The walls added to each cell are instances of two meshes imported from Blender. Currently it only creates square grids - not a limitation of the maze creation script but rather the positioning of the 3d walls. It is a starting point for further development. The maze produced is random so refresh the page for a new maze. EDIT: The plan is to start at top left and end at bottom right cell but that is not fixed in stone. cheers, gryff NB: The name "Tindalos" comes from a short story, written by Frank Belknap Long, "The Hounds Of Tindalos" that is part of the "Cthulhu Mythos". Quote Link to comment Share on other sites More sharing options...
RaananW Posted October 7, 2015 Author Share Posted October 7, 2015 Well, as I have said elsewhere, I'm ambivalent about contests - but with mazes as the subject , I thought I would give it a try. Mind you, RaananW had an issue with my logic maze - so .... Not an issue. I broke it with my clumsy fingers! Oh, and this is not a competition. It's all for fun. (And honor. And 10,000 $ in unmarked notes. ) It is a starting point for further development. The maze produced is random so refresh the page for a new maze. Can't wait :-) (I do hope you will continue the development) Wingnut 1 Quote Link to comment Share on other sites More sharing options...
Jaskar Posted October 7, 2015 Share Posted October 7, 2015 Hey guys, Gryff, your maze look pretty cool! I just finish my first level of the maze with depth-first-search algorithm.The topic of this monthly challenge is better than the last (imho), because we can let our creativity speak, and we can cover much more of the Babylon functionnalities =) Quote Link to comment Share on other sites More sharing options...
RaananW Posted October 7, 2015 Author Share Posted October 7, 2015 The topic of this monthly challenge is better than the last (imho), because we can let our creativity speak, and we can cover much more of the Babylon functionnality =) Understood. I will come out with something nice for November as well :-) I just thought Game Of Life won't take too much of your time. Jaskar 1 Quote Link to comment Share on other sites More sharing options...
gryff Posted October 11, 2015 Share Posted October 11, 2015 Well Oct 11th and this challenge is heading for the bottom of page 2 - so here is an update on my maze creation (and of course bring it back to page 1 ). Tindalos Maze 2 No longer available due to changes in Dropbox usage criteria. See below for new github links. This is one you can play - a 9x9 maze (81 cells), so not too difficult. You have to find a wooden door which is the current temporary end. But it brings up a rather simple question. The walls you see have top and bottom faces, which are unseen and I can easily delete. But deleting those faces does not reduce the number of verts, so does reducing the number of faces to be drawn improve performance as I read/hear so much about vertices as important as regards perfomance.? Here is a video of traversing a maze from one of my favourite video games - "The 7th Guest" which has always been a bit of an inspiration for me. One curious thing about it though - is the bump/normal mapping reversed on one wall, and does it keep switching around? 7th Guest Maze Looking forward to seeing other peoples examples using different maze creation algorithms cheers, gryff JohnK, iiceman, jerome and 2 others 5 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.