Collaborative-Software-Development-Club / Collaborative-Software-Development-Club/Fall2023-UnityProject

Shooting Mechanics

Ouverte
#4 0 commentaires 0 réactions 1 personne assignée Assignée à @LaineGroty Voir sur GitHub
Langage dominant
ShaderLab
Étoiles
0
Forks
0
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

- The player should, upon pressing the left mouse button, instantiate a simple projectile from an empty object parented to the character.
- The speed of this projectile should be able to be changed in the Inspector for testing.
- This empty object should be lined up with the player's forward vector. The position will change when weapon models are added.
- There should be a cooldown between shots. Cooldown should be a public variable that can be changed for testing.
- Projectiles should be tagged with the word "Projectile".
- A public variable, "numBullets", should be available. The numBullets variable should decrease by one for each time the player shoots a projectile
- Pressing the "R" key should temporarily make the gun unavailable for use (make a public variable called "reloadCooldown") until a certain period of time has passed. Upon which numBullets should be restored to its starting value.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.