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

[PORT] The recoilening #589

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

QuacksQ
Copy link
Contributor

@QuacksQ QuacksQ commented Jun 1, 2024

About The Pull Request

This pr is a port of:

This PR significantly improves recoil (screenshake when shooting guns) because our current recoil sucks ass. Instead of a simple screenshake its now based on the direction you're shooting in. I have also gone ahead and added recoil values to the guns we have in-game right now.

Ballistic guns have a recoil value of 1
Energy guns have a recoil value of 0.2
Disablers and the Miniature energy gun have a recoil value of because they're tiny 0.1

This is yet another expansion of the guns and other cool shit pr's like: #520 #455 and #460.

How Does This Help Gameplay?

Feedback to in game actions is always good and guns not having recoil when being shot is just weird.

How Does This Help Roleplay?

Immersion probably

Proof of Testing

Screenshots/Videos

Old Recoil

2024-06-01.12-47-22.mp4

New Recoil

2024-06-01.12-54-12.mp4

New recoil on a disabler

2024-06-01.13-19-53.mp4

Changelog

🆑
qol: Recoil is alot less awful now and is based on the direction you're shooting in.
/:cl:

@github-actions github-actions bot added Port "So I saw this cool thing-" Quality of Life Also known as "I deleted a ton of other things and made one particular thing the only way". labels Jun 1, 2024
Copy link
Contributor

github-actions bot commented Jun 9, 2024

This PR has been inactive for long enough to be automatically marked as stale. This means it is at risk of being auto closed in ~ 7 days, please address any outstanding review items and ensure your PR is finished, if these are all true and you are auto-staled anyway, you need to actively ask maintainers if your PR will be merged. Once you have done any of the previous actions then you should request a maintainer remove the stale label on your PR, to reset the stale timer. If you feel no maintainer will respond in that time, you may wish to close this PR youself, while you seek maintainer comment, as you will then be able to reopen the PR yourself.

@github-actions github-actions bot added the Stale "Anyone home?" label Jun 9, 2024
@QuacksQ
Copy link
Contributor Author

QuacksQ commented Jun 9, 2024

Fuck you dont stale my shit

@github-actions github-actions bot removed the Stale "Anyone home?" label Jun 10, 2024
Copy link
Contributor

This PR has been inactive for long enough to be automatically marked as stale. This means it is at risk of being auto closed in ~ 7 days, please address any outstanding review items and ensure your PR is finished, if these are all true and you are auto-staled anyway, you need to actively ask maintainers if your PR will be merged. Once you have done any of the previous actions then you should request a maintainer remove the stale label on your PR, to reset the stale timer. If you feel no maintainer will respond in that time, you may wish to close this PR youself, while you seek maintainer comment, as you will then be able to reopen the PR yourself.

@github-actions github-actions bot added the Stale "Anyone home?" label Jun 17, 2024
@RimiNosha RimiNosha removed the Stale "Anyone home?" label Jun 22, 2024
Copy link
Contributor

This PR has been inactive for long enough to be automatically marked as stale. This means it is at risk of being auto closed in ~ 7 days, please address any outstanding review items and ensure your PR is finished, if these are all true and you are auto-staled anyway, you need to actively ask maintainers if your PR will be merged. Once you have done any of the previous actions then you should request a maintainer remove the stale label on your PR, to reset the stale timer. If you feel no maintainer will respond in that time, you may wish to close this PR youself, while you seek maintainer comment, as you will then be able to reopen the PR yourself.

@github-actions github-actions bot added the Stale "Anyone home?" label Jun 30, 2024
@RimiNosha RimiNosha removed the Stale "Anyone home?" label Jul 1, 2024
Copy link
Contributor

github-actions bot commented Jul 9, 2024

This PR has been inactive for long enough to be automatically marked as stale. This means it is at risk of being auto closed in ~ 7 days, please address any outstanding review items and ensure your PR is finished, if these are all true and you are auto-staled anyway, you need to actively ask maintainers if your PR will be merged. Once you have done any of the previous actions then you should request a maintainer remove the stale label on your PR, to reset the stale timer. If you feel no maintainer will respond in that time, you may wish to close this PR youself, while you seek maintainer comment, as you will then be able to reopen the PR yourself.

@github-actions github-actions bot added the Stale "Anyone home?" label Jul 9, 2024
@github-actions github-actions bot closed this Jul 16, 2024
@RimiNosha RimiNosha removed the Stale "Anyone home?" label Jul 18, 2024
@RimiNosha RimiNosha reopened this Jul 18, 2024
@ChungusGamer666
Copy link
Contributor

i did this on efn too, look at my implementation perhaps and see if ita better or worse idk

Copy link
Contributor

This PR has been inactive for long enough to be automatically marked as stale. This means it is at risk of being auto closed in ~ 7 days, please address any outstanding review items and ensure your PR is finished, if these are all true and you are auto-staled anyway, you need to actively ask maintainers if your PR will be merged. Once you have done any of the previous actions then you should request a maintainer remove the stale label on your PR, to reset the stale timer. If you feel no maintainer will respond in that time, you may wish to close this PR youself, while you seek maintainer comment, as you will then be able to reopen the PR yourself.

@github-actions github-actions bot added the Stale "Anyone home?" label Jul 31, 2024
Copy link
Contributor

@RimiNosha RimiNosha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TMing before fullmerging, but I universally like these changes.

var/mpx = sin(angle) * strength
var/mpy = cos(angle) * strength
animate(sufferer, pixel_x = oldx+mpx, pixel_y = oldy+mpy, time = duration, flags = ANIMATION_RELATIVE)
animate(pixel_x = oldx, pixel_y = oldy, time = backtime_duration, easing = BACK_EASING)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure how I feel about this being a whole file by itself, but the code otherwise checks out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Port "So I saw this cool thing-" Quality of Life Also known as "I deleted a ton of other things and made one particular thing the only way". Stale "Anyone home?"
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants