3 Commits
Author SHA1 Message Date
西风逍遥游 a8b8e83128 refactor: consolidate engine architecture contracts 2026-08-27 12:54:48 +08:00
西风逍遥游andCursor Agent 4698c31b6c feat(rpg): 高度可扩展的 Buff/Status ECS 组件 (#38)
* feat(rpg): make Status/Buff ECS component highly extensible

Extend the existing Statuses component with EffectDefinition::extra,
StatusInstance::props, apply conditions, custom stack policies,
lifecycle hooks, and StatusChangeEvent polling. Expose Buff API aliases
and update docs/tests/examples.

Co-authored-by: 西风逍遥游 <sunxfancy@gmail.com>

* test(rpg): fix buff change-event assertions

Avoid evaluating applyBuff inside CHECK_EQ (double side effects) and
clear the polled change vector between assertions.

Co-authored-by: 西风逍遥游 <sunxfancy@gmail.com>

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
2026-08-12 14:30:36 +08:00
sunxfancy 018f3cd525 feat(makefile): update game directory configuration and enhance run commands
- Changed the default game directory setting to empty, allowing for running the embedded demo without arguments.
- Updated run commands to conditionally change directories based on the GAME variable, improving flexibility for game execution.
- Enhanced documentation in the Makefile to clarify the behavior of the GAME variable and its impact on running the game.

These changes streamline the game execution process and improve user experience when running different game scenarios.
2026-08-08 21:04:16 +08:00