Files
DarkflameServer/dGame/dComponents
Aaron Kimbrell 09508f6d61 feat: simple movers run as platforms on their own path
The client's simple mover is a platform like the mover: it builds itself a
two waypoint path run once (start, and start moved by platformMove, at the
speed that takes platformMoveTime) and runs the same waiting, travelling
and arriving logic on it. The server did it with a timer instead, so a
simple mover had no position on its way and its states differed from a
mover's.

The platform logic now takes the subcomponent it runs and that
subcomponent's path, and the simple mover runs on it:
- sent to a waypoint it first waits the shortest wait there (9, or 25 at
  its end), then travels (2), as live's movers and counterweights did;
- the object goes with it on its way and is put at the waypoint on arrival;
- at an end it stops (28) and turns round, without a serialization;
- it only takes a new direction at a waypoint, as the client's does: sent
  back on its way it goes on to the end it was heading for and sets off
  from there; stopped on its way it stops at that end;
- one that starts at its end is constructed there, reversed.

Comments in the component describe behaviour only.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-11 18:17:46 -06:00
..