Friday, June 29, 2012

Bomb and Shield Mechanics

My accomplishments for the day:
  • Added bombs
  • Added shields
  • Bombs damage shield then player
  • Added invulnerability time after spawning and taking damage
  • Shield charge time
  • Multiple ways to throw bombs
  • Extended out of screen area (Player won't die immediately)
Here's how the battle mechanics work. If a bomb hits a player it explodes. If the player has their shield up the bomb will go through them instead. The shield has a charge to it which is essentially its life. The player has to actively use the shield with the left trigger. When a player is hit by an explosion with their shield up, the bomb damages the shield first and then the player (if there is left over damage). The shield restores charge when not in use, and depletes charge when on.

Making a map using the editor

Bomb mechanics

No comments:

Post a Comment