hypercross
22817945cc
fix(framework): access scene key via sys.settings in PhaserScene
...
Use `scene.sys.settings.key` instead of `scene.scene.key` to correctly
retrieve the scene key from the Phaser scene instance.
2026-04-20 15:47:56 +08:00
hypercross
2d412eedb5
refactor(framework): improve PhaserScene flexibility
...
Allow `PhaserScene` to accept either a scene instance or a scene
constructor. This enables more flexible scene registration within
the `PhaserBridge`. Also updates `sceneKey` to be optional,
defaulting to the scene's internal key.
2026-04-20 15:11:45 +08:00
hypercross
3afe78f54f
refactor(framework): allow string ID for GameUI container
...
Update GameUIOptions to accept either an HTMLElement or a string ID.
If a string is provided, the class will attempt to find the element
by ID or create a new div if it does not exist. Also update the root
property to accept a JSX.Element.
2026-04-19 11:30:14 +08:00
hypercross
648e801dad
Style: enforce 2-space indent and double quotes
2026-04-19 10:48:32 +08:00
hypercross
c9acb7f228
refactor: scene control
2026-04-14 11:10:14 +08:00
hyper
cc80cbad06
fix: fading
2026-04-12 18:18:45 +08:00
hyper
6584578316
fix: overlay init
2026-04-12 18:11:23 +08:00
hyper
70334fa9e3
refactor: wait to launch scene
2026-04-12 18:00:08 +08:00
hyper
9ab7ae3e60
refactor: improved scene manager
2026-04-12 17:52:44 +08:00
hyper
fe57583a8f
refactor: api
2026-04-12 17:34:25 +08:00
hyper
50531446c2
feat: scene manager and transitions
2026-04-12 16:52:53 +08:00
hyper
f8a19653ba
refactor: details
2026-04-12 16:31:10 +08:00
hyper
59fa0e6122
refactor: ReactiveScene
2026-04-12 16:26:52 +08:00
hypercross
fa104d10f2
refactor: update api
2026-04-06 11:31:51 +08:00
hypercross
76687de672
refactor: misc
2026-04-04 16:34:17 +08:00
hypercross
bf62805c38
refactor: context update
2026-04-04 16:19:18 +08:00
hypercross
aba035f2ec
fix: details
2026-04-04 14:47:03 +08:00
hypercross
5fd2c3d208
chore: clean up
2026-04-04 13:48:48 +08:00
hypercross
2984d8b20d
refactor: clean up
2026-04-04 13:21:44 +08:00
hypercross
3395a315a6
refactor: simplify input handling?
2026-04-04 00:17:52 +08:00
hypercross
5d4c169fea
fix: update according to boardgame-core
2026-04-03 19:13:12 +08:00
hypercross
588d28ff07
init: board game phaser start
2026-04-03 15:18:47 +08:00