ExOK / Celeste64

A game made by the Celeste developers in a week(ish, closer to 2)
1.58k stars 125 forks source link

Turn camera by 45° steps #77

Open splayr opened 4 months ago

splayr commented 4 months ago

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 commented 4 months ago

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 commented 4 months ago

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 commented 4 months ago

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