Ticket #44 (new enhancement)
Asteroids
| Reported by: | knowknowledge | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | 0.4.0 |
| Component: | Source | Version: | |
| Keywords: | Cc: |
Description
Asteroids are just rocks that float around the Epiar universe.
They're the simplest form of sprite there is, and thus very easy to implement. You can pull the asteroid art off 0.6.0 or find a new one: you'll probably need to build it using our .ani format and perhaps augment the sprite class to support using Animation in option to Image as a sprite's visage.
You'll also need to establish a form of asteroid field generation, e.g. "field at 50, 50, 0.8 density, expands 1000 in all directions" and then implement random asteroid creation in that area. It should be noted that such an effect should be gradual, e.g. if I fly in from -1000, I should see one or two asteroids and have the density increase until I hit 50,50, and then drop off naturally by +1000 (x coord).
Some undecided Asteroid features:
Should they collide with ships?
Should they absorb weapon shots? (None, Some, or All?)
Should they be destructable?
If Asteroids can be hit by weapons, then that means that they will become 'terrain' during dogfights.
If Asteroids can be hit, but do not collide with ships, then some ships might be able to 'hide' by staying in the shadow of a larger Asteroid.