2D Grid Input/Movement components for Token movement #18

Closed
opened 2026-02-23 02:24:34 +00:00 by nexustix · 1 comment
Owner

Needs untangling of responsibilities and architecture.

Needs untangling of responsibilities and architecture.
nexustix changed title from 2D GridMovementController and GridMovementComponent for composition based solution of Token movement to 2D GridMovementController/Component for composition based solution for Token movement 2026-02-23 02:26:18 +00:00
nexustix changed title from 2D GridMovementController/Component for composition based solution for Token movement to 2D Grid Input/Movement Component for composition based Token movement 2026-02-23 02:40:41 +00:00
Author
Owner

GridInputComponent2D:

  • Turns directional inputs into movement signals
  • Keeps tack of the commanded facing (toggleable)
  • Settable cooldown for movement after facing change

GridMovementController2D:

  • Takes control of a Node2D
  • Keeps track of current grid position
  • Applies movement and interpolation based on desired target position
GridInputComponent2D: - Turns directional inputs into movement signals - Keeps tack of the commanded facing (toggleable) - Settable cooldown for movement after facing change GridMovementController2D: - Takes control of a Node2D - Keeps track of current grid position - Applies movement and interpolation based on desired target position
nexustix changed title from 2D Grid Input/Movement Component for composition based Token movement to 2D Grid Input/Movement components for Token movement 2026-02-23 02:47:30 +00:00
Sign in to join this conversation.
No description provided.