Powerup Entity
EvanQuan opened this issue · 0 comments
EvanQuan commented
Physics
Reuse the same object as the flame trail. Just remove the object on collision instead of time.
SceneLoader
Parse for powerup spawn points in the .scene
file.
Sound
Powerup spawn sound (done)
Power up pickup sound (done)
- We even have pickup sounds for different powerup types
Game Logic
Spawn the correct number at the correct locations at the correct interval
- Preferably 1 or 2 at random locations, at a set interval
- Random powerup effect is less work
Most powerups achievement (done)
Points for picking up powerups (done, also optional)
We can remove the speed boost gain for hitting the score leader.
UI
Powerup(s) activated displayed
- Already done for the speed boost, and can be easily changed to account for other types
- A more sophisticated change will allow for displaying multiple powerup types
- The remaining duration of the powerup could also be useful information
Graphics
Render powerups
- Easiest as a billboard, but may not look that good
- A bit more work: as a static model
- Even more work: a rotating or spinning model (disable gravity, apply torque)
- Random powerup effects mean we only need 1 powerup type to render
- Non-random powerups is a bit more work, but we can use do multiple colors of the same model