Skip to content

Commit

Permalink
Refine tween animation for SideArrowIcon with updated easing and posi…
Browse files Browse the repository at this point in the history
…tion adjustments
  • Loading branch information
sebashtioon committed Nov 25, 2024
1 parent f4573d1 commit 24a78b4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@ func hideGreyOverlay(Duration : float):

func tweenSideArrow():
var tween = get_tree().create_tween()
tween.tween_property(SideArrowIcon, "position", Vector2(580, 140), 1).set_ease(Tween.EASE_IN_OUT).set_trans(Tween.TRANS_EXPO)
tween.tween_property(SideArrowIcon, "position", Vector2(580, 153), 1).set_ease(Tween.EASE_IN_OUT).set_trans(Tween.TRANS_EXPO)
tween.tween_property(SideArrowIcon, "position", Vector2(580, 145), 1).set_ease(Tween.EASE_IN_OUT).set_trans(Tween.TRANS_SINE)
tween.tween_property(SideArrowIcon, "position", Vector2(580, 153), 1).set_ease(Tween.EASE_IN_OUT).set_trans(Tween.TRANS_SINE)
tween.connect("finished", Callable(self, "onSideArrowAnimFinished"))

func onSideArrowAnimFinished():
Expand Down

0 comments on commit 24a78b4

Please sign in to comment.