Game351-Group / Assignment3

0 stars 1 forks source link

Required Feature: Shoot at Targets #3

Closed ArmsTina closed 5 months ago

ArmsTina commented 5 months ago

The player’s avatar should be able to shoot at least two types of targets, which include barrels and bandits. Bullets should be fired with the ‘F’ key. Spawn bullet prefabs and send them down range along the player’s line of sight, detecting collisions with game objects. Barrels are full of TNT and should explode spectacularly when hit. Use a particle system to simulate the explosion; delete the barrel game object and replace it with debris as the explosion finishes (broken barrel debris are provided for you). When a bandit is hit, you should play a death animation with the bandit’s animation controller. Limit the player’s rate of fire to 1 shot per second. You are not required to show or animate the player’s six shooter in the foreground, but assets are provided if you wish to do so.