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

Shooting Mechanics

Đang mở
#4 0 bình luận 0 reaction 1 người được giao Được giao cho @LaineGroty Xem trên GitHub
Ngôn ngữ chính
ShaderLab
Star
0
Fork
0
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

- 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.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.