Ok so me (Sam hunt) and Rob Davidson have sorted out the blog for keeping track of our progress! This blog will be updated weekly and will showcase our work towards the iphone app!
So what will the app be.......
A Musical space invader note reading game.
We did some class prototyping. As follows
AppDelegate (objective c) Launches the app
ViewController (objective c) Controls the contents on the screen
Game Engine (c++) Keeps things moving
Virtual Keyboard (c++) contains co-ordinates for the virtual keyboard
Space Invader (c++) the little note object that moves across the screen
Audio Playback (c++) Plays back audio
Score (c++) Keep track of the Score
Graphics Manager (objective c) Converts any c++ data, objects into objective c objects so they can be draw to the screen.
These are the diagrams we came up with.
The second picture shows the GameViewController storing any input into the GameEngine, The game engine works on a callback loop and will check for any of these events, then work out what position they would be on the VirtualKeyboard, then use the note that it returns to check against the SpaceInvaders, then update the score, then push any display updates into the GraphicsManager, which tells the GameViewController what to draw. The GVC runs on the same loop as the GameEngine so will update when that is called, not whenever the graphics manager tells it something new.
No comments:
Post a Comment