Skip to content

GreyforgeLabs/pcam-24

Repository files navigation

PCAM-24: Phase-Centric Action Model

Deterministic Timing for Game Simulation

PCAM-24 is a simulation model that replaces continuous time with a discrete, 24-phase cycle as the authoritative coordinate for action progression.

By elevating Phase to a first-class primitive, PCAM-24 eliminates timing drift between subsystems, simplifies deterministic networking, and provides a shared semantic language for animation, combat, and AI.


The Problem: Timing Inference

Most game engines attempt to infer the "stage" of an action (wind-up, impact, recovery) from wall-clock time or variable frame counts. This leads to Desynchronization:

  • Visual Mismatch: Animation playback drifts from hitbox logic.
  • Network Desync: Clients disagree on whether a hit landed due to floating-point drift.
  • Ambiguity: Fairness is lost when "Who won?" depends on sub-millisecond deltas.

The Solution: Phase Authority

PCAM-24 defines a fixed cycle of 24 integer phases (0–23).

  • Phase is Law: It is the only source of truth for action state.
  • Discrete Logic: All interaction rules are reduced to simple integer tests.
  • Synchronous Views: Animation and VFX subscribe to Phase, ensuring perfect visual alignment.

v2.0 Upgrades: Deterministic Hardening

The v2.0 specification introduces advanced mechanics for high-fidelity combat without sacrificing determinism:

  • Phase Elasticity: Support for Stalls (Hit-stop) and Skips (Cancels) that remain perfectly synchronized across any frame rate.
  • Property Tiers: A structured Precedence Matrix to resolve overlapping properties (e.g., Armor vs. Active Hits).
  • Action Nesting: Support for complex, multi-cycle actions.

Repository Structure


Autonomy, Engineered.
Built by Greyforge Labs

About

Formal specification for the Phase-Centric Action Model (PCAM-24), a deterministic framework for interactive simulation timing.

Topics

Resources

License

Unknown, Unknown licenses found

Licenses found

Unknown
LICENSE
Unknown
LICENSE.md

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages