|
Post by lukasaurus on Jan 25, 2007 15:38:18 GMT -5
I have been tossing around a few ideas for this, and how to implement it, but I am not sure what the best way to do it would be, and am asking for some advice. The dungeons are going to consist of a grid 15x15, with multiple levels. The dungeon will be viewed in the first person, but will not be a 3D game. Observe the image below for an example. In the first image, the player is standing still. In the second image, they hit the up or forward key, and advance one step along the grid. I have no problem with storing the players location in an array. However, I am having a bit of trouble thinking of a way to store other dungeon information. If GM supported records, then it would be easy, and I could use an array of records. Basically, I want to be able to store which image is to be displayed depending on where the player is in the dungeon. For example, if the end of the corridor has a door, display the sprite with the door. If the end of the corridor is a T intersection, display the T intersection sprite. Does anyone have any ideas how to do this? Or even what I mean?
|
|