Asteroid Field!

201 views
Skip to first unread message

Scott Ferguson

unread,
Oct 14, 2015, 10:49:59 AM10/14/15
to App Inventor Developers Library



After learning how to use perspective on the Canvas, one of my ideas was to simulate a spaceship flying through an asteroid field.
This project is the result.
It could be developed further, but I thought I would get it out there as-is for folks to take a look at and maybe tweak it.

Game Play:

The game starts with the spaceship facing asteroids that are approaching from the center of the screen.
Some oncoming asteroids are not dangerous, and will pass outside the spaceship.
The spaceship is equipped with proximity sensors that indicate when asteroids' trajectories will cause a collision unless evasive action is taken by you, the Captain.
When the proximity sensors first detect a collision, there will be a subdued warning sound, the asteroid will be outlined in yellow and it's distance tracked.
At that point you can steer the spaceship away from the asteroid by dragging until the warning indicators are removed.
Failing to make a course correction will result in a louder alarm and red markings on the asteroid.
If the course is not corrected in time to avoid the asteroid, a collision will occur, resulting in damage to the spaceship.



---
sf
 
AsteroidField.aia
Reply all
Reply to author
Forward
0 new messages