We managed to implement a simple maze in Unity!
Or, to be more accurate, we made a maze constructor that uses the output from Bendik's maze algorithm found at : http://bachelorgamedev.blogspot.no/2014/04/amazeing.html
It takes in a two-dimensional grid of ints and places a wall anywhere it is needed.
After this is combines the wallmeshes into one mesh and adds a meshcollider.
The plan is for Bendik's algorithm to be converted to C# or Boo and placed inside Unity.
The output from the algorithm is also in use by Marcus at http://apaththing.blogspot.no/ and the enemies will get their pathing when he implements his algorithm in C# or Boo.
No comments:
Post a Comment