slowed down card hover
parent
e07519ba05
commit
216fdc88ab
|
|
@ -148,7 +148,7 @@ func animate_in():
|
|||
if not is_instance_valid(self):
|
||||
return
|
||||
_hover_tween = create_tween().set_loops()
|
||||
_hover_tween.tween_method(func(t: float): position.y = rest_y + sin(t * TAU) * 5.0, 0.0, 1.0, 2.0)
|
||||
_hover_tween.tween_method(func(t: float): position.y = rest_y + sin(t * TAU) * 5.0, 0.0, 1.0, 4.0)
|
||||
|
||||
|
||||
func animate_out():
|
||||
|
|
|
|||
Loading…
Reference in New Issue