Explorar el Código

Make turn animation fast at start

Ease in for tween rotation.
DricomDragon hace 5 años
padre
commit
675820162b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      CharTween.gd

+ 1 - 1
CharTween.gd

@@ -15,5 +15,5 @@ func move_char(c, t_pos):
 	pass
 
 func rotate_char(c, t_rot):
-	interpolate_property(c, "rotation_degrees", c.rotation_degrees, t_rot, duration, Tween.TRANS_LINEAR, Tween.EASE_IN)
+	interpolate_property(c, "rotation_degrees", c.rotation_degrees, t_rot, duration, Tween.TRANS_LINEAR, Tween.EASE_OUT)
 	pass