im currently designing my rpg engine.. just to see what i can do. im currently at the point where i would like to implement a visual dungeon. im thinking of making a text file with the design
text file::
Code:
|===============|
| |
| |
| |
| |
| |
|===============|
int the DrawMap function it looks for the folder where the text files are located and picks the most logical map ie map1a map2b
everyline in the text file is converted to an array and represented on the screen. i have this much working. mostly. but movement is a problem. a serious problem. im having troubles figuring out how to make it so the user cannot move out of boundarys or an event occurs etc etc. can anyone help with this problem