EFileTahi-A
Well-known member
Do you folks remember Eye of Beholder game or even Dungeon Master?
[Broken External Image]:http://img.photobucket.com/albums/v698/EFileTahi-A/1052220900-00.gif
If you know/played any of these games then you will also know that when we move in any of the four available directions the player moves by gaps (blocks) instead of a smooth animation.
Well, Im wondering how does such grahical engine works. I mean, I know we need a 2D map like a crossword board representing the dugeon maze, but, how to assemble the graphics representing the maze? Do we have a full image per map block? (I dont think so). Or do we have some sort of formula to render the right piece of graphic? Like:
Render the floor;
Render the celling;
Render the left wall 1 block away;
Render the left wall 2 block away;
Render the left wall 3 block away;
Render the left wall 4 block away; etc...
Render the right wall 1 block away;
Render the right wall 2 block away;
Render the right wall 3 block away;
Render the right wall 4 block away; etc...
... I really need theoric lessons on the method used for such graphical engines...
[Broken External Image]:http://img.photobucket.com/albums/v698/EFileTahi-A/1052220900-00.gif
If you know/played any of these games then you will also know that when we move in any of the four available directions the player moves by gaps (blocks) instead of a smooth animation.
Well, Im wondering how does such grahical engine works. I mean, I know we need a 2D map like a crossword board representing the dugeon maze, but, how to assemble the graphics representing the maze? Do we have a full image per map block? (I dont think so). Or do we have some sort of formula to render the right piece of graphic? Like:
Render the floor;
Render the celling;
Render the left wall 1 block away;
Render the left wall 2 block away;
Render the left wall 3 block away;
Render the left wall 4 block away; etc...
Render the right wall 1 block away;
Render the right wall 2 block away;
Render the right wall 3 block away;
Render the right wall 4 block away; etc...
... I really need theoric lessons on the method used for such graphical engines...
Last edited by a moderator: