Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a pistol #8

Open
1 task done
realhackcraft opened this issue Apr 23, 2024 · 1 comment
Open
1 task done

Add a pistol #8

realhackcraft opened this issue Apr 23, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@realhackcraft
Copy link
Owner

realhackcraft commented Apr 23, 2024

Part

Gameplay

Part (if you chose other)

No response

Description

A pistol would be able to deal 2 damage to entities, like the bear #7. It would require ray casting to determine if the player is shooting the ray in the correct direction

Code of Conduct

  • I agree to follow this project's Code of Conduct
@realhackcraft realhackcraft self-assigned this Apr 23, 2024
@realhackcraft realhackcraft added the enhancement New feature or request label Apr 23, 2024
@realhackcraft
Copy link
Owner Author

pls add this faeture in the 8-add-a-pistol branch. We need the pistol to be activated with the p key, and make the player go into pistol mode. When the player is in pistol mode, remap wasd to the direction of the bullet, then when you user submits it, go back to normal mode. Make the bullet find the closest enemy from that direction, and reduce it's health by 1. It has to be directly in that direction.

YES:

X X X X
B X X @
X X X X

NO:

B X X X
X X X @
X X X X

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

3 participants