This site requires JavaScript, please enable it in your browser!
Greenfoot back

Report as inappropriate.

MrCohen
MrCohen presents ...

2012/2/5

Missile Asset

This is an exemplar for a reusable asset creation assignment. The missile is intended to be easy for any programmer to implement in their Greenfoot scenarios.

2460 views / 38 in the last 7 days

Tags: simulation with-source missile

open in greenfoot
Your browser does not support the canvas tag.
A new version of this scenario was uploaded on Sun Feb 05 22:33:26 UTC 2012 Missiles now remove themselves. FireTrails now spawn directly behind missiles, instead of on top of them. 2 bytes less memory usage ;)
A new version of this scenario was uploaded on Sun Feb 05 22:34:55 UTC 2012 Missiles now remove themselves. FireTrails now spawn directly behind missiles, instead of on top of them. 2 bytes less memory usage ;)
A new version of this scenario was uploaded on Mon Feb 06 20:25:04 UTC 2012 Additional fixes and improvements ... Missiles now move completely off-screen before removing themselves from the screen. Fixed the atWorldEdge() method accordingly. Counter now works as intended. More features to come...
A new version of this scenario was uploaded on Mon Feb 06 20:38:35 UTC 2012 Additional fixes and improvements ... Missiles now move completely off-screen before removing themselves from the screen. Fixed the atWorldEdge() method accordingly. Counter now works as intended. Also changed the background to Space, and made additional missiles continue to spawn after the initial ones.

Want to leave a comment? You must first log in.

Who likes this?

No votes yet.