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

Turn camera by 45° steps #77

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

Turn camera by 45° steps #77

wants to merge 2 commits into from

Conversation

splayr
Copy link

@splayr splayr commented Feb 10, 2024

Adds a Mario 64 esque feature to turn camera by steps of 45° using the shoulder buttons.
It also makes sure that the camera is always at angles of 0°, 45°, 90°... when pressing the shoulder buttons.
I mostly did this for myself, as I wanted an easier way to turn my camera at more straight angles, but felt like other people could enjoy it too so doing a PR request :p though pulling this means climbing is no longer on shoulder buttons.

probably conflicts with #48

EDIT: demo here (endgame spoilers)

@theofficialgman
Copy link
Contributor

Adds a Mario 64 esque feature to turn camera by steps of 45° using the shoulder buttons.

I wouldn't really call that "Mario 64 esque". Mario 64 uses the C buttons to change the camera position (up/down for zoom in and out, left/right for snapping angle rotations). R shoulder button to change the camera mode.

I think that would be the best implementation here as well. L/R shoulder button would toggle between the current analog and the new "Mario 64" mode described above.

@iProgramMC
Copy link
Contributor

There is a camera mode within Super Mario 64 that rotates in 45 degree increments, it's typical to the platformer stages (e.g. the Bowser levels and Rainbow Ride)

@theofficialgman
Copy link
Contributor

There is a camera mode within Super Mario 64 that rotates in 45 degree increments, it's typical to the platformer stages (e.g. the Bowser levels and Rainbow Ride)

@iProgramMC I guess you didn't read my comment... I pointed out that camera controls in mario 64 use the c buttons, not shoulder buttons. I never said that it didn't have the ability to rotate in 45 degree increments

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

Successfully merging this pull request may close these issues.

4 participants