How to make a maze?

Hello friends,

I am making a game in which I need a maze inside which I plan to put small spherical balls.

Balls i can create in jME but how to create the maze?Boolean operations may be there but it would be too much of efforts I guess?



Manish

Perhaps this can help



@gbluntzer made a maze, and full source code is available



http://www.ludumdare.com/compo/ludum-dare-22/?action=preview&uid=5426

http://hub.jmonkeyengine.org/groups/user-code-projects/forum/topic/ludum-dare-22-this-weekend-wish-me-luck/?topic_page=1&num=15

Hi,



I understand the process of having a model in game is as follows:


  • make a model using a tool , like blender.
  • convert it to xml
  • import xml in ur program



    is my understanding correct?

yes that is 1 way to do it

The engine provides a .blend importer too, you can load and convert (j3o) .blend files directly. But it is still a bit WIP, then if you have any problems with that, use OgreXml.

you can do it with a heigtmap too…