codi-hacks / space-race

Love2D-based Spaceship Racing Game
Other
3 stars 0 forks source link

Speed boost #21

Closed wyatt-herkamp closed 2 years ago

wyatt-herkamp commented 2 years ago

What this PR accomplishes.

  1. Creates a Basic System for adding collisions checks that for items that will not actually be collided on.
  2. Adds a System for Managing Power ups. These powers ups are instantly used however, in the future we can add support for power ups that are active on key press with very little code change.
  3. Creates a SpeedBoost power up to show the code above

What This PR does not do

  1. Make sure that our collision check is efficient and timely.
  2. Make sure the speed boost follows a consistent path way. This can be changed in the future

Closes #4

wyatt-herkamp commented 2 years ago

Definitely my fault, but I propose we change noPlanet.tmx to no_planets.tmx

I will do a bunch of refactoring of names in a future PR,