mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 11:15:33 +00:00
Boss Animation
This commit is contained in:
parent
2e01cd19e2
commit
08cc298a81
9 changed files with 139 additions and 13 deletions
|
|
@ -24,8 +24,7 @@ public partial class MovementPattern : AttackPattern
|
|||
isComplete = false;
|
||||
|
||||
Vector2 targetPosition = (Boss?.HomePosition ?? boss.GlobalPosition) + this.relativeTargetPosition;
|
||||
|
||||
|
||||
|
||||
tween.TweenProperty(Boss, "position", targetPosition, moveDuration)
|
||||
.SetTrans(transitionType)
|
||||
.SetEase(easeType)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue