Explorar o código

Make the tween ease symetric

Same behaviour at start and end of tween.
DricomDragon %!s(int64=5) %!d(string=hai) anos
pai
achega
1ab8273596
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      CharTween.gd

+ 1 - 1
CharTween.gd

@@ -11,7 +11,7 @@ func connect_into(o):
 	pass
 
 func move_char(c, t_pos):
-	interpolate_property(c, "position", c.get_position(), t_pos, duration, Tween.TRANS_LINEAR, Tween.EASE_IN)
+	interpolate_property(c, "position", c.get_position(), t_pos, duration, Tween.TRANS_LINEAR, Tween.EASE_OUT_IN)
 	pass
 
 func rotate_char(c, t_rot):