Skip to content

feat(ecs): phased Systems, reactive index, frame phase ordering#14

Merged
penta2himajin merged 2 commits into
masterfrom
claude/apply-drive-patch-2YT7d
Mar 26, 2026
Merged

feat(ecs): phased Systems, reactive index, frame phase ordering#14
penta2himajin merged 2 commits into
masterfrom
claude/apply-drive-patch-2YT7d

Conversation

@penta2himajin

Copy link
Copy Markdown
Owner

Summary

  • ECSのSystemにフェーズ付き実行(pre-step / step / post-step)を追加
  • エンティティの効率的な検索のためのリアクティブインデックスを追加
  • フレームコールバックにフェーズ順序(phase ordering)を追加
  • EN/JAドキュメントを更新
  • 9テスト追加(全452テストパス)

変更ファイル(11ファイル, +481/-69)

  • src/ecs/systems.ts — フェーズ付きSystem実行 & リアクティブインデックス
  • src/core/frame.ts — フレームフェーズ順序
  • src/hooks/useFrame.ts — フェーズ対応
  • tests/ecs.test.ts / tests/frame.test.ts — 新規テスト追加
  • site/src/content/docs/guides/ecs.md / ja/guides/ecs.md — ドキュメント更新

Test plan

  • 全452テストがパス
  • npx vitest run で回帰なしを確認

https://claude.ai/code/session_014dyxxEfrEamfdy7d9VDNPK

- ECS Systems now support phased execution (pre-step / step / post-step)
- Add reactive index for efficient entity lookups
- Frame callbacks support phase ordering
- Update docs (EN/JA) for new ECS features
- 452 tests passing (9 new tests)

https://claude.ai/code/session_014dyxxEfrEamfdy7d9VDNPK
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Mar 26, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
solidion e6060b2 Commit Preview URL

Branch Preview URL
Mar 26 2026, 03:06 AM

- Remove invalid `types: ["Phaser"]` from tsconfig (Phaser ships its own types)
- Exclude tests/browser from tsc (they use Vite aliases, not TS paths)
- Add non-null assertion for scene in useStateMachine
- Add type assertion for mergeProps result in renderer test
- Import `vi` in texture test

https://claude.ai/code/session_014dyxxEfrEamfdy7d9VDNPK
@penta2himajin penta2himajin merged commit 75a0c05 into master Mar 26, 2026
2 checks passed
@penta2himajin penta2himajin deleted the claude/apply-drive-patch-2YT7d branch March 26, 2026 03:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants