I want to do an RPG game.
Here is my plan:
[LIST]
[]A map can be any size.
[]A user can step only step in the middle of tiles.
[]Tiles would all be 90x90.
[]The user is always in the center of the screen.
[]The tiles are loaded from an XML file.
[]Each tile is a bitmap image.
[*]The XML also stores weather the item is “walkable” (weather a user can walk on it or not).[/LIST]So, what I want to know is, how would I do this.
First off, how would I make the XML sheet.
Second, how would I know where the user is, would I make a new coordinates system to put each tile on a coordinate.
Third, how would I draw the map, what functions would be used? Would I erase everything then redraw, or would I draw everything then move the image?
Fourth, I am new, what should I keep in mind when designing this.
Fifth, is there a way to dynamically import bitmaps. (Say I kept a tiles folder on my server, could I import them so they are only loaded as their maps are needed?)
What else should I know, what should I read before I make the map?