anthonypollos / 2023-Game-Design-Masters

1 stars 0 forks source link

Bug: Tendril doesn't retract if mouse is clicked/released Quickly #60

Closed amacke1255 closed 5 months ago

amacke1255 commented 5 months ago

Bug Description

When throwing the tendril, if the mouse is released before the Toss function is called in the throw animation, the tendril will not retract like it should.

There is a very brief window between when the throw animation starts and when the Toss function is called. There currently no way to check if the mouse has been released/if the tendril shouldn't be thrown to prevent the Toss function from executing, which causes the tendril to be thrown even if the mouse isn't being held down.

If the mouse is released anytime after the Toss animation event is called, the tendril will retract as normal.

Throw Animation:

Tendril Throw Bug

Bug: https://github.com/anthonypollos/2023-Game-Design-Masters/assets/82422047/33ee1a2d-2d19-46e8-b98e-c850da3d80fb

Reproduction Steps

Quickly click/release the mouse to throw the tendril. If the mouse is released before the tendril is enabled, the tendril will still be thrown.

Bug Frequency

Common and Consistent

Bug Importance

Somewhat important, bug can hinder gameplay sometimes

Platform

Mac

Desktop or Laptop?

Laptop

If Laptop, was your laptop plugged in?

Plugged in

Editor or Build?

Editor

If Build, What Build?

No response

If Editor, What Branch?

main

If Editor, Most Recent Push

fixed notes not displaying, 5/24

If Editor, Menu or Direct Load?

Both

Every Time or First Load?

Every Time

Was the computer under heavy load?

Computer was NOT under heavy load

Anything else?

No response