Menu

Project Design

Dave
2012-10-23
2012-10-26
  • Dave

    Dave - 2012-10-23

    Hey guys, I'd like everyone to take a few minutes and review our project UML so we can discuss some things that we might still need to add. I think we need to beef up the engine more and give it the ability to keep track of everything happening inside the game, as well as a good way for it to talk to the input and the display.

    In particular, I was thinking that we could use a 2d array of game objects to represent the game world. We could have "wall" objects, "door" objects, etc. Monsters, items, the player, and even empty floor spaces would all be objects. To start, we could hard code the array, then work on getting the engine to manipulate it.

    If we decide to take it in a different direction, that's fine, but we need to have some central location where everything is stored, and the engine needs to have the ability to manipulate the game world. The engine also needs to be able to communicate well with the input (so it can receive and process commands), and the display (so it can accurately display the current state of the game).

    What do you guys think?

     
  • Bman

    Bman - 2012-10-26

    I don't think I'm down with making every space an object. I'm just going to keep the map be as char's and let all the monsters and items be objects. I didn't think the input needed to know anything about the world, and I think the only thing the display needs to know is where the main character is and what's going on with the main character. If the monsters are in the main characters veiw, then they will be displayed because they will be in the correct location on the 2d char array that is currently being displayed. Also, to remind you guys, we did decide on making the game turn based. my idea is to make a GameRound class that starts with main character's turn, and alternates between player and monsters. display will update when character moves and after character attacks. it will again update after monster turns. When monsters are undiscovered, they will just endturn on their turn.

     

Log in to post a comment.