While I won't be asking anyone for code to use in my app,, my project partner and I do acknowledge we are going to need help, as a large part of the core of our app involves things outside of the scope of what our class teaches. Our project is a simple 5 level static map Rogue-like game. What I am asking is what would be the easiest and most reliable techniques to implement the following types of systems?
- 2 dimensional map
- Equipment/Inventory/Character management
- Connecting the graphics to everything
- Movement/combat of the enemies
We are incorporating very basic graphics, with none of the images being animated during movement or combat. At this point in time, we are only really looking to make it all 'work reliably', so we don't mind if the code isn't 'that well done', as this is a complex task, and is not going to be made commercially available (at least until we have learned more and can make this exactly how we want).
What we have thought so far is to use a 2 dimensional array for the map, with each space storing a value that denotes whether it is a floor, wall, void (outside the level map), or whatever, and movement checks the direction the player wishes to go for this value and then moves them if it is possible.
Again, I am not looking for code but just advice on how to best approach this. Short snippets of code to demonstrate an example is fine, but I don't want you guys to do my assessment for me.