- Home /
Question by
M1xelated · Jan 28, 2015 at 02:49 PM ·
gridlevel editor
Setting up restrictions in a grid based level editor
So basically I let the user create a level on a 256 block grid. On each grid they can place a block to build a level. Example: http://i.imgur.com/InCcleH.png
However I want to make sure that players leave 1 space open as a door. What are ways to do this logically in C# or do I need some sort of pathfinding ?
Thanks
Comment
Answer by unimechanic · Jan 28, 2015 at 02:51 PM
Check this answer: http://answers.unity3d.com/questions/512454/issue-with-cut-off-rooms-in-dungeon-generator.html
Your answer
Follow this Question
Related Questions
How do i make a level editor for a 2d platformer game? 0 Answers
Selection box 0 Answers
Converting a Plane to a grid 1 Answer
Using the grid in Unity3d 3 Answers
Performance While Loading Map 2 Answers