Phazorknight / Cogito

Immersive Sim Template Project for GODOT 4
MIT License
799 stars 90 forks source link

Adjustable Headbobbles #74

Closed ksjfhor closed 6 months ago

ksjfhor commented 6 months ago

Hi, sorry for messing up the PR, but I have to admit that I am tired and trying to cherry pick via the github gui... and started to mess up nearly everything.

So .. here is a link for you to include: https://github.com/Phazorknight/Cogito/compare/main...ksjfhor:Cogito:New_Testing#diff-b47cabc97440e2b8f4e53b03524cd6ab10137316d730cac1f090c0de89d630f7 This are only 5 lines in the player.gd.

This adds adjustable Headbobbles for the dev in the movement properties (Minimal, Average, Full) I know there was an Issue (?) but I cannot find it right now. Scene needs to be newly loaded for the changes to take effect, since the vars are set inside of _ready(). Maybe this could be expanded to the Options menu.

Sleep tight :)

ksjfhor commented 6 months ago

Please take a look on e35f569 and 686063c and ignore the rest, ty.

Phazorknight commented 6 months ago

Ok, I've grabbed the lines and just included them in my latest commit. I've also removed the export from these three as their values gets overwritten in _ready anyway. WIGGLE_ON_WALKING_SPEED WIGGLE_ON_SPRINTING_SPEED WIGGLE_ON_CROUCHING_SPEED