I'm keeping to my original decision. I haven't looked at any game development stuff at all, with the exception of some late-night work on Heroic Adventure! (as I said I would.)
For example, I haven't looked at the new
XNA refresh, though if you would like to, it's being splashed across every mildly game dev related blog between here and Seattle. You should have no trouble finding it.
Most of my days lately, when not being
threatened by crazed store owners, I have been studying my butt off for the new .NET 2.0 certs. I'm using a combination of books and Transcenders and I feel like it's going fairly well. Since I already have my MCSD.NET, I only need to take two upgrade exams.
Damn there's a lot of stuff in the upgrade exams. Between the flashcards and the practice exams, I've crammed so much stuff in my head it's about to explode.
So enough about that for now. I'm curious about something...
In Heroic Adventure!, I have an array where each cell contains information about the corresponding location on the map. One of the data items in the cell is Monster, which is an integer that corresponds to the index of an array of monster objects. As monsters move about the map, this value moves from cell to cell, and the Monster value of the previous cell is set back to 0. When a monster is killed, the object is removed from the array and the Monster value at that location is set to 0.
Having a separate Monster array makes some things easier, such as handling the Monster turn. I can loop through the Monsters and perform whatever actions, rather than going through every cell of the Map array to see if a monster is there.
So my question is, is this the "right" way to be doing this? Should I be sticking the Monster objects right into the map array, or doing it like I am now, where one array effectively points to the other?