Home  |   Java  |   The Chosen (RTS)  |   Research  |   About  
Java Apps:        

Fresh Programming - Asteroids by Dougie Fresh

Asteroids Version 2




Notes
      Before I completely committed myself to this project I wanted to make sure that I could smoothly implant animations for the destruction of the asteroids and the ship. I was unsure if normal users running off an applet could handle the complex multiple processes necessary to create the animations. Using the polygon of the randomly generated asteroid I was able to extract exact coordinates of each point, create lines from those points, find midpoints of those lines and rotate the outer lines around the midpoint evenly while fading to black. The end result is pretty cool and I thought it release it early just to show off and test it on other computers.


Copyright © 2017 Dougie Fresh