CSCI 448 - Mobile Application Development

Spring 2016

|   Home   |

Assignment 4

Welcome to Marble Madness! Well... its not as cool as the real Marble Madness game but oh well.

Goal

The 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 Sensor

The 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 Sensor

I 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