Commit Graph

3204 Commits

Author SHA1 Message Date
4c38fc7abb Rename NPC collection refresh function and update usage 2026-04-27 16:31:16 +02:00
84054e1908 Implement runtime refresh for NPC collections 2026-04-27 16:31:16 +02:00
98b76bde7e Refactor: Export and consolidate NPC synchronization functions 2026-04-27 16:31:00 +02:00
0ef050e384 Style: Clean up editor simulation controller indentation 2026-04-27 16:31:00 +02:00
6628019296 Refactor: Only recreate editor simulation context if the scene changes 2026-04-27 16:30:17 +02:00
d1b2a31238 Refactor: Only recreate runtime schedule context if the scene changes 2026-04-27 16:30:17 +02:00
4a3d44513e Refactor runtime schedule synchronization to use a centralized sync context and result object 2026-04-27 16:29:51 +02:00
4fbdcc73f8 Integrate and manage runtime schedule synchronization context in RuntimeHost 2026-04-27 16:29:12 +02:00
3f3f64f507 Integrate runtime schedule synchronization into editor simulation controller 2026-04-27 16:28:46 +02:00
7282ed5e4d Implement core logic for synchronizing scene schedules with runtime clock state 2026-04-27 16:28:46 +02:00
815d39c471 Improve model instance synchronization by adding render groups for visible displayed models and applying shadow state. 2026-04-27 16:08:19 +02:00
9249b4188d auto-git:
[change] src/viewport-three/viewport-host.ts
2026-04-27 16:08:03 +02:00
62a6e6413a Implement caching of interactable enabled state in ViewportHost 2026-04-27 16:07:46 +02:00
1880be4a83 Cache simulation interactable enabled state on viewport host 2026-04-27 16:07:46 +02:00
f9d247f235 Refactor ViewportHost synchronization methods for improved robustness and state management of simulation elements (NPCs, lights, models) 2026-04-27 16:07:27 +02:00
3cb9935bdd Improve simulation state management and synchronization using versioning and membership signatures 2026-04-27 16:06:59 +02:00
cdacd88abe Enhance viewport simulation state tracking and membership signatures 2026-04-27 16:06:42 +02:00
3074d523d7 Improve simulation updates using frame versions and enhance player input binding logic 2026-04-27 16:06:23 +02:00
8496d99aec Refactor type handling in scripts and add player start look/target button controls 2026-04-27 16:04:28 +02:00
2f1cbf8ce8 Fix: Rename 'Clear Target' action label to 'Cancel Target' 2026-04-27 16:00:56 +02:00
bc739e9bf0 Refactor player start logic: Update default state values and simplify keyboard binding handlers 2026-04-27 15:59:23 +02:00
3f47a66bce Feat: Add targeting options to player start settings form 2026-04-27 15:58:57 +02:00
7fbb23cc32 Refactor: Rename player start constants to include _VALUE suffix 2026-04-27 15:58:57 +02:00
807e1a543f Implement player start key binding capture and refine key handling logic 2026-04-27 15:58:28 +02:00
a533800451 Add player start interaction and targeting state drafts 2026-04-27 15:58:09 +02:00
9c6fc8d49d Initialize state for player start look input target switch and target button cycles 2026-04-27 15:57:49 +02:00
5eef7734c0 Add default constants for player start look input and target button cycles 2026-04-27 15:57:49 +02:00
43d39565d7 Enhance runtime target management and input binding resolution 2026-04-27 15:57:26 +02:00
715f819f76 Feature: Implement and test clear target functionality for player start actions 2026-04-27 15:56:49 +02:00
d09c550ffe Refactor: Improve type safety and readability across entity and player start logic 2026-04-27 15:55:35 +02:00
1d53f03fec Feature: Add clearTarget input binding and resolution for player start actions 2026-04-27 15:53:47 +02:00
c3dd68e682 Add validation checks for player start input bindings and boolean properties 2026-04-27 15:53:14 +02:00
f28a247b46 Feat: Migrate scene document to support new player start targeting and interaction settings 2026-04-27 15:53:00 +02:00
33d9ef5e3b Update scene document versioning for player start settings 2026-04-27 15:52:35 +02:00
20d09a2d87 Add player targeting and look input settings to runtime scene build 2026-04-27 15:52:35 +02:00
60c08495e8 Feature: Add clear target action and enhance player start entity configuration 2026-04-27 15:52:20 +02:00
1cd8e8c44a Add validation for player start entity input bindings (keyboard and gamepad) 2026-04-27 15:50:43 +02:00
b9e521f035 Fix formatting in ViewportCanvas preview URL check 2026-04-27 15:50:43 +02:00
cd9eaee935 Improve robustness by checking SpotLight type before setting angle and safely setting entity render object visibility 2026-04-27 15:48:11 +02:00
c6d2d971cd Update scene document versions and add player start interact bindings version 2026-04-27 15:47:50 +02:00
64ef098795 Improve type safety for isPlayerStartKeyboardBindingCode 2026-04-27 15:47:50 +02:00
6fe5ddead5 Sync simulation data (lights, NPCs, interactables, models) to viewport 2026-04-27 15:44:55 +02:00
634fb57bed Implement updateSimulationFrame to synchronize viewport state with running simulation 2026-04-27 15:44:15 +02:00
e331e94715 Update serialization version for interaction angles and track interactable state in viewport host 2026-04-27 15:44:15 +02:00
785759f74f Refactor ViewportCanvas to use EditorSimulationController for simulation and background updates 2026-04-27 15:43:58 +02:00
2fbe69f243 Refactor ViewportPanel to use EditorSimulationController and add unit tests for player interact input bindings 2026-04-27 15:43:36 +02:00
775cbbb976 Refactor simulation state management using snapshot data 2026-04-27 15:43:25 +02:00
1c762715a4 auto-git:
[change] src/app/App.tsx
 [change] src/document/migrate-scene-document.ts
2026-04-27 15:43:25 +02:00
5a6e9ba792 Centralize editor simulation control using dedicated controller API 2026-04-27 15:43:02 +02:00
7c4545ac1b Refactor simulation reset logic to use controller method 2026-04-27 15:43:02 +02:00