Commit Graph

134 Commits

Author SHA1 Message Date
hypercross a7095c37fc Refactor inventory drag to use dragDropEventEffect
Replace manual pointer event handling with the framework's
dragDropEventEffect utility. Update DragController to manage
DisposableBag for cleanup and pass containers instead of
pointers to drag callbacks. Add framework path alias to
tsconfig and fix loop variable shadowing in LostItemManager.
2026-04-19 00:12:56 +08:00
hypercross 88d0c5bf55 Refactor: centralize config and split inventory
Move magic numbers and style constants to src/config.ts.
Decompose InventoryWidget into DragController, ItemRenderer,
and LostItemManager for better separation of concerns. Add
createButton utility and remove unused CombatUnitWidget.
Update scenes to import from centralized config.
2026-04-19 00:01:25 +08:00
hypercross d993d55576 Refactor dnd utility and add drag lifecycle events
Attach pointerup and pointermove listeners to scene.input
for reliable tracking. Emit dragstart, dragmove, and
dragend events alongside drag. Rename relativeX/Y to
deltaX/Y in DragDropEvent and integrate DisposableBag.
2026-04-18 23:33:13 +08:00
hypercross 23575dd516 feat: dnd 2026-04-17 21:55:14 +08:00
hypercross 0ecef16a4a fix: inventory interaction 2026-04-17 19:45:34 +08:00
hypercross 28a2623bd1 feat: adding widgets to the game 2026-04-17 18:08:51 +08:00
hypercross f7a6154c68 refactor: update to new version 2026-04-17 17:29:13 +08:00
hypercross 706de4e33a fix: inventory preview not actually there 2026-04-14 15:48:47 +08:00
hypercross 5342f1c09d feat: inventory preview? 2026-04-14 15:22:22 +08:00
hypercross 3ca2a16e29 refactor: global state for scenes 2026-04-14 14:21:51 +08:00
hypercross 7fb9edcbf0 feat: add game process scene 2026-04-14 13:51:11 +08:00
hypercross 65684e6cf5 refactor: udpate to new design 2026-04-14 13:04:34 +08:00
hypercross c9acb7f228 refactor: scene control 2026-04-14 11:10:14 +08:00
hypercross c639218b53 refactor: viewr 2026-04-13 14:57:00 +08:00
hypercross e91e8d2ab7 feat: sts-like-viewer 2026-04-13 12:38:41 +08:00
hyper 02d2f45da2 refactor: fix onitama sizing 2026-04-12 19:24:47 +08:00
hyper e5b53c6332 refactor: fix onitama api usage 2026-04-12 19:09:41 +08:00
hyper ecfa89e383 fix: boop supply 2026-04-12 18:55:35 +08:00
hyper 8bd790db67 refactor: boop sizing 2026-04-12 18:54:18 +08:00
hyper 93587541ce refactor: boop to use new api 2026-04-12 18:47:04 +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 f6f18b4789 fix: wait for fade scene init 2026-04-12 18:02:10 +08:00
hyper 70334fa9e3 refactor: wait to launch scene 2026-04-12 18:00:08 +08:00
hyper fbf3f5e636 refactor:refactor: improve ttt 2026-04-12 17:54:46 +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 713a14c128 refactor: simplify scene routing 2026-04-12 17:21:49 +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
hyper 21a7afa276 chore: fix vite config 2026-04-12 15:02:23 +08:00
hypercross 71ccb8732e refactor: some manual changes 2026-04-08 14:21:33 +08:00
hypercross 92e1a5bec1 feat: rotation and more 2026-04-08 11:49:25 +08:00
hypercross 3e064f437b feat: add more tweens 2026-04-08 11:33:59 +08:00
hypercross 00fd395873 fix: more issues with ui 2026-04-08 11:06:34 +08:00
hypercross 2beff5c75c fix: fix ui bugs 2026-04-08 08:57:59 +08:00
hypercross d4819f7cc3 feat: more onitama goodness 2026-04-07 17:46:37 +08:00
hypercross 8bbf20f457 feat: onitama 2026-04-07 16:33:41 +08:00
hypercross deb8c91239 refactor: use boardgame-core's sample exports 2026-04-07 16:16:04 +08:00
hypercross cedb69e55e refactor: more regicide stuff 2026-04-06 17:17:04 +08:00
hypercross a0412ddd88 refactor: fix regicide, presumably? 2026-04-06 16:45:52 +08:00
hypercross 20f722818d refactor: prompt def udpate 2026-04-06 16:20:52 +08:00
hypercross bf20e53c6b feat: regicide card game 2026-04-06 14:21:44 +08:00
hypercross a53f162c03 refactor: update api 2026-04-06 13:59:00 +08:00
hypercross fa104d10f2 refactor: update api 2026-04-06 11:31:51 +08:00
hypercross acb2fc82ba feat: animate after booped 2026-04-05 09:45:01 +08:00
hypercross 2f0fb2bca8 feat: error reporting 2026-04-05 00:31:34 +08:00
hypercross c678974489 feat: add error display & upgrade pick 2026-04-05 00:24:06 +08:00
hypercross df1c0cbb81 feat: add game start overlay 2026-04-05 00:12:05 +08:00
hypercross 6ebfcc6c4d fix: update button to choose cat 2026-04-05 00:06:48 +08:00
hypercross 449727d650 fix: api change 2026-04-05 00:01:26 +08:00
hypercross de4e83e4ea fix: api change for bop 2026-04-04 23:25:43 +08:00
hypercross 61857b8256 fix: api changes fix 2026-04-04 23:14:30 +08:00
hypercross c85fdb604c chore: update game implementation for boardgame-core 2026-04-04 22:52:54 +08:00
hypercross 99dc5e29e7 chore: install inline-schema 2026-04-04 22:52:40 +08:00
hypercross 76687de672 refactor: misc 2026-04-04 16:34:17 +08:00
hypercross 72e159e52b refactor: reorg 2026-04-04 16:25:36 +08:00
hypercross bf62805c38 refactor: context update 2026-04-04 16:19:18 +08:00
hypercross 6c86a97c8f refactor: await for tween interruption 2026-04-04 15:43:50 +08:00
hypercross db83e89a46 refactor: expose addInterruption 2026-04-04 15:40:18 +08:00
hypercross 0dbb4fc2ba fix: some boop states are not updated in produce 2026-04-04 15:23:56 +08:00
hypercross aba035f2ec fix: details 2026-04-04 14:47:03 +08:00
hypercross 39f5e6159c feat: boop game 2026-04-04 14:30:49 +08:00
hypercross 696872d5d7 feat: that's boop for ya 2026-04-04 14:22:35 +08:00
hypercross 951fbc7045 fix: resetting methods 2026-04-04 14:13:41 +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 2b59adf000 feat: handle input 2026-04-04 12:52:14 +08:00
hypercross f83e031c9a refactor: human effort to reorg the code 2026-04-04 12:14:26 +08:00
hypercross e8c98d3ad3 chore: add preact signals 2026-04-04 10:44:14 +08:00
hypercross 4fa06098ba refactor: use GameHost for simplification 2026-04-04 01:11:49 +08:00
hypercross 32509d7812 chore: add tests 2026-04-04 00:48:44 +08:00
hypercross 3395a315a6 refactor: simplify input handling? 2026-04-04 00:17:52 +08:00
hypercross 7501b5f592 fix: fix bugs 2026-04-04 00:10:26 +08:00
hypercross 656c33cb59 update: various improvements 2026-04-03 19:39:07 +08:00
hypercross febb9fb256 chore: fix ts output 2026-04-03 19:16:11 +08:00
hypercross 5d4c169fea fix: update according to boardgame-core 2026-04-03 19:13:12 +08:00
hypercross cbee709a27 docs: sync updated boardgame-core 2026-04-03 17:45:56 +08:00
hypercross df2b839e07 fix: fix entrance rig and details 2026-04-03 16:18:44 +08:00
hypercross 01407b5ede fix: usage compliance 2026-04-03 16:18:11 +08:00
hypercross ccd39dcce4 fix: phaser container doesn't exist 2026-04-03 15:36:15 +08:00
hypercross 6daa77f6f9 refactor: use link instead of file for local dependency 2026-04-03 15:31:29 +08:00
hypercross 588d28ff07 init: board game phaser start 2026-04-03 15:18:47 +08:00