A simple one-level platform game. Developed as part of ELEC2645 at University of Leeds, spring 2015.
Dependencies: N5110 PinDetect PowerControl mbed
Auto generated API documentation and code listings for SimplePlatformGame
| Enemy | Enemy class |
| Entity | An entity represents a movable character, such as the player, enemies etc |
| Game | State : Game |
| GameOver | State : Game Over |
| Highscore | A highscore element consists of initials and a score |
| InputManager | Used to manage user input from buttons and thumb joystick |
| Joystick | Joystick class |
| MainMenu | State : Main Menu |
| Note | A note is given by its frequency and beat |
| Point | Simple objects with a position (x,y) and velocity (vx, vy) |
| Rectangle | Rectangle with position (x and y) and dimensions (width and height) |
| Sound | Sound uses a piezo buzzer connect to a PWMOut to output sound |
| State | Abstract class for states in the program's main finite state machine. All state implementations is derived from this abstract class |
| StateManager | Finite State Machine for program flow |
| SubmitHighscore | State : Submit Highscore Displays a screen where the user is promted to input his or her initials |
| TitleScreen | Used to display the splash screen which is shown when turning the device on |
Code
| Enemy.cpp [code] | |
| Enemy.h [code] | |
| Entity.h [code] | |
| Game.cpp [code] | |
| Game.h [code] | |
| GameOver.cpp [code] | |
| GameOver.h [code] | |
| Geometry.h [code] | |
| Global.cpp [code] | |
| Global.h [code] | Contains global variables and functions |
| InputManager.cpp [code] | |
| InputManager.h [code] | |
| Joystick.cpp [code] | |
| Joystick.h [code] | Class used for controlling the button |
| main.cpp [code] | Simple platform game developed for ELEC2645 Embedded Systems Project at University of Leeds |
| MainMenu.cpp [code] | |
| MainMenu.h [code] | |
| map.h [code] | Defines the map used in the game |
| Resources.h [code] | Resource files - sprites/images stored as arrays |
| Sound.cpp [code] | |
| Sound.h [code] | |
| State.cpp [code] | |
| State.h [code] | |
| StateManager.h [code] | |
| StateManger.cpp [code] | |
| SubmitHighscore.cpp [code] | |
| SubmitHighscore.h [code] | |
| TitleScreen.cpp [code] | |
| TitleScreen.h [code] |
Andreas Garmannslund