RaananW

Babylon.js October Challenge - We'll build a maze!

Recommended Posts

Ok here's a dilemma I currently have, the collision is appearing to work on only 1 'side' on each 'plane' http://www.babylonjs-playground.com/#UYUQQ#7 You cant walk through the middle bit from the inside but can from the outside, wheres the right side you can walk from the inside but not the outside, is this down to the way I've created the ribbon?

Share this post


Link to post
Share on other sites

@EJanuszewski

The collision system is using the normals, seems like the collision works both ways on double-sided ribbons - http://www.babylonjs-playground.com/#UYUQQ#10 . Might be the answer you were looking for :-)

 

@MasterSplinter

I know you can host on google drive for free (some have done that in the past already). Would be the first place I would try. If you can't find, send me a zip instead of a link, I will host it on my server with pleasure.

Share this post


Link to post
Share on other sites

@RaananW Hmm, you can still appear to go through them, maybe I need to make them not 'flat' and give them some actual width, would require rewriting a lot, I'm not really going to enter the competition I don't think, so it's not an issue, I just like having a target to learn towards.

Share this post


Link to post
Share on other sites

oh, it's not a competition :-) the prizes are honor and beer (if you are in Berlin  ;) ). It's all for fun.

 

Try using boxes as wells instead (though I doubt this will work with ribbons).Or make sure the user only walks from the inside, and then outside doesn't matter!

Share this post


Link to post
Share on other sites

So... It looks like when my maze backtrace fires it's not delete the correct blocks.  Does anyone have any thoughts on what I am missing to bridge this?

 

https://63195afeb91ec3154b9ad9b9c6176a3638aba323-www.googledrive.com/host/0B7OlMPbfskONWjlydzZfUk9WaE0/

 

https://github.com/wpdildine/babylon_maze_project

 

Edit:  Look down :)

Share this post


Link to post
Share on other sites

Well I PMed Raanan my effort which will get displayed at Raanan's own schedule.

 

Just one comment as Raanan may not tell you - once in the "maze" hitting the "I" key allows you to "cheat". The maze is actually 4 "submazes" that are connected and each "I" key hit takes you to the next submaze. But think about what you are doing - because even then you can still get lost :o

 

cheers, gryff :)

Share this post


Link to post
Share on other sites

I've decided to join this challenge at last minute, with a tweak of an already excellent playground BitOfGold has made to test the new pointLight shadow system.

I don't apply for contest then since I didn't make this alone, but I'll still send the scene to Raanan just for you to be able to play with.

Share this post


Link to post
Share on other sites

Ok new github links for my maze entry in the contest

1 Full Maze - includes an intro to watch with music, an animated book, a wizard and his hell hound.

2 Maze (no intro) - four 5x5 mazes connected by gates and stairs. The parts were built in Blender and the maze constructed from instances using BJS and a script.

You can jump between the four mazes by pressing the I key on the keyboard if you can't figure out how to open some gates ;)

I hope the other contestants mazes are still available.. It was a fun contest :)

cheers, gryff :)

Share this post


Link to post
Share on other sites
On 2017-05-18 at 9:52 PM, brianzinn said:

I am super lost in the maze!

@brianzinn: Well brian, the maze is not that hard. There are 4 sections connected by gates and stairs. Each section is just a little 5x5 block of cells (see image below - simple huh?) with an entry and exit gate at diagonally opposed corners (except for the starting cell where you are at the exit gate. If the gates with no lever are causing you problems - maybe close the gate behind you (hint) ;)

cheers, gryff :)

5cells.png

Share this post


Link to post
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.