Sharkules / CaveGame

A game about being in a cave. (S1-2023-ID737001-GD)
0 stars 1 forks source link

7 create squeeze trigger zone #11

Closed bchorne closed 1 year ago

bchorne commented 1 year ago

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.

bchorne commented 1 year ago

Yes, I fully agree on player feedback in the UI, as a later priority. Will merge in functionality as is for MVP reasons.