CSCI 448 - Mobile Application DevelopmentSpring 2016 |
|
| Home | | |
Assignment 4Welcome to Marble Madness! Well... its not as cool as the real Marble Madness game but oh well. GoalThe objective of the game is simple. Make your way the goal while avoiding red holes Fall into a red hole and it's game over. Mechanics: Orintation SensorThe red obstacles rotate the opposite direction that the device is rotated. This is accomplished with sensor TYPE_ORINTATION. Since TYPE_ORINTATION is depricated I tried going about this a different way but unfortunatly I ran out of time. Mechanics: Acceleration SensorI used the lab the Dr. Hoff gave us as a base for the ball mechanics. The game uses the device's accelerometer to calculate the balls postions and velocity | |