130 likes | 285 Views
ECE 3574 - Software Engineering. Aldo Gomez, Cory Chase, Zachary Cabot, Sheel Kumar. AndEngine. Free 2D OpenGL Game Engine for Android It provides the necessary framework and tools to build a game Worry less about things like memory management and more on actual development. Code Structure.
E N D
ECE 3574 - Software Engineering Aldo Gomez, Cory Chase, Zachary Cabot, Sheel Kumar
AndEngine • Free 2D OpenGL Game Engine for Android • It provides the necessary framework and tools to build a game • Worry less about things like memory management and more on actual development
Code Structure • Andengine gives a basic template with 4 main functions: • OnLoadEngine() • OnLoadResources() • OnLoadScene() • OnLoadComplete()
Game Design • Using accelerometer to modify gravity • Extent of phone movement to change gravity • Player movement • User-controlled vs constant velocity • Art direction • Science-fiction • Genre and general gameplay • Platformer, shooter, puzzle-focused
Zach-Virga Splash Screen • Transitions are fade in and fade out • Music is a Media Player Object • Strictly Android Platform
Cory- Player Movement • First implemented based purely on orientation of phone • Decided to create an on screen controller to move the player • Had to get rid of sliding after moving
Cory- Gravity • Used Box2d physics engine to simulate gravity • When you flick the phone upwards or downwards it reverses the current gravity
Cory- Jumping • Tried to make jumping as fluid as possible • Needed to make sure the character couldn't jump while in mid air.
Cory- Checkpoints • When activated the character will "respawn" at the current checkpoint • Used this same system to detect when the character reaches the end of the level
Aldo - Power Up Items • They act as modifiers to character attributes • Speed boost • About 5 seconds of increased speed • Super jump • 3 high jumps • Invulnerability • About 5 seconds of invincibility and it allows you to kill enemies
Aldo - Sound Effects • Sounds when power up items are collected • Death sounds as well
Sheel - Pre-Andengine • Moving sprites, repeating a basic animation • Basic threads for Android • User touch to control sprites • Experimented with LibGDX (open source tools)
Sheel - Andengine • Used TMX over drawing images due to better performance • Able to create map larger than screen and allow camera to follow the player sprite • Allowed properties to be applied to textures