Skip to content

Commit

Permalink
Most everything done needed for the first "good" release of tile move…
Browse files Browse the repository at this point in the history
…ment.
  • Loading branch information
spess-empyrean committed Jan 1, 2025
1 parent 5520c1e commit c944bfb
Show file tree
Hide file tree
Showing 2 changed files with 203 additions and 100 deletions.
8 changes: 7 additions & 1 deletion Content.Shared/Movement/Components/TileMovementComponent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,15 @@ public sealed partial class TileMovementComponent : Component
public MoveButtons CurrentSlideMoveButtons;

/// <summary>
/// Local coordinates of the entity on the last tick. Used to determine whether progress is being made
/// Local coordinates of the entity on the last physics tick. Used to determine whether progress is being made
/// in the move.
/// </summary>
[AutoNetworkedField]
public Vector2 LastTickPosition;

/// <summary>
/// Whether this entity was weightless last physics tick.
/// </summary>
[AutoNetworkedField]
public bool WasWeightlessLastTick;
}
Loading

0 comments on commit c944bfb

Please sign in to comment.