Changes are in a new scene called SqueezePrototype.
Relevant reference changes in preexisting scripts are that Movement now needs to see the Mouse player script.
Movement checks for entering and exiting a collider with the tag "Squeeze" and adjusts whether or not it is in the "Squeezing" state.
If squeezing, our movement is drastically reduced to 10%, and additionally reduced to zero speed unless the mouse has been "wiggled" horizontally to imitate effort of getting through.
Changes are in a new scene called SqueezePrototype.
Relevant reference changes in preexisting scripts are that Movement now needs to see the Mouse player script.
Movement checks for entering and exiting a collider with the tag "Squeeze" and adjusts whether or not it is in the "Squeezing" state.
If squeezing, our movement is drastically reduced to 10%, and additionally reduced to zero speed unless the mouse has been "wiggled" horizontally to imitate effort of getting through.