I'm trying to create a simple 3D(2D) Dungeon Crawler but I am going to be using simple flat images to show the user they are in a "3D" world. Now what I mean is something like Sword and Serpents on the Nintendo.
Now as you can see on the right is a map, and on the left is the dungeon screen, I don't need help with the left screen no no. But on the right is the map, now I'm trying to think of a way I could represent this. I was thinking of using a 2D array, and doing something like this
w,w,w
h,o,o
w,w,w
So the H is the hero, and in front of him is two open spaces. so the hero can see two blocks around that is it. But if you look at the game, the player can move like this
h,o,o
o,o,o
so everywhere is open. but there is a wall between some blocks. Do you think an ID system would be better for example
1 = open space with walls on the north and south
2 = open space with walls only on the north
3 = open space with walls only on the south
etc, etc.
Do you think the ID system is way better or the use of W for a wall.