mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-06 12:05:54 +00:00
Player movement and camera
This commit is contained in:
parent
ed656f00bb
commit
a324f2e347
43 changed files with 1777 additions and 316 deletions
|
|
@ -84,7 +84,7 @@ public abstract partial class ElevatorMovementState : BaseState<ElevatorState, E
|
|||
private async Task MovePlayerToCenter()
|
||||
{
|
||||
var tween = GTweenSequenceBuilder.New()
|
||||
.Append(PlayerBody.TweenPosition(this.Position, 0.2f))
|
||||
.Append(PlayerBody.TweenPosition(MainObject.Position, 0.2f))
|
||||
.Build();
|
||||
|
||||
await tween.PlayAsync(CancellationToken.None);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue