Commit Graph

13 Commits

Author SHA1 Message Date
kronic bd8458853b DR-042 Phase C (legibility, part 2): walls block enemies (C5) — restore the fortress fantasy
Player-built structures now physically block enemies (husks walked straight through walls before). Dedicated
"Structure" physics layer (slot 9) so the player passes its own walls while enemies are stopped:

- New WorldCollisionConfig.StructureMask, baked from the "Structure" layer in WorldCollisionAuthoring (mirrors
  EnvironmentMask). EnemyAISystem ORs it into the movement sweep filter (CollidesWith = envMask | structMask) —
  no new system, same 1-2 SphereCasts per enemy.
- Wall/Turret/Pylon prefabs get a cell-sized BoxCollider on the Structure layer (Wall's existing one relayered).
- Physics matrix: Default x Structure unchecked, so the kinematic player CC (Default) passes its own walls while
  the enemy's explicit cast still hits them. Despawn frees collision for free (collider dies with the entity).

Play-verified baked filters: StructMask=512; structure colliders BelongsTo=512, CollidesWith=0xFFFFFFFE
(includes Environment for the enemy cast, EXCLUDES bit 0 so the player passes). 389/389 EditMode, no exceptions.
Server-only/static colliders -> deterministic, no client divergence. SaveData stays v5.

Phase C complete (C5-C7). A visual fun-gate (husk stops at wall, player walks through) is the operator's eyes.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-25 21:26:56 -07:00
kronic cf45ec82ae Add Unity AI Assistant package + editor settings migration
Adds com.unity.ai.assistant 2.12.0-pre.2 (+ transitive com.unity.ai.inference 2.6.1 and the com.unity.dt.app-ui EditorBuildSettings config) to the package manifest/lockfile, plus the package's ProjectSettings/Packages/com.unity.ai.assistant/Settings.json. ProjectSettings.asset migrated serializedVersion 28->29 (new iOS thermal-FPS / Android system-bar fields) by the editor. Editor/package tooling only; committed separately from the class-switch dev tool to keep concerns isolated.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-18 21:29:01 -07:00
kronic dc7a86fca4 Upgrade: Unity 6.4.7 -> 6.5.0 (DOTS stack onto unified 6.5)
Editor 6000.4.7f1 -> 6000.5.0f1. DOTS packages leave their independent
1.x/2.x lines for unified 6.5.0 versioning: netcode 1.13.2 -> 6.5.0,
physics 1.4.6 -> 6.5.0, transport 2.7.2 -> 6.5.0, entities/collections/
graphics 6.4.0 -> 6.5.0, mathematics 1.3.3 -> 1.4.0 (burst stays 1.8.29).
URP/ShaderGraph/VFX 17.4 -> 17.5, ugui 2.0 -> 2.5, test-framework 1.6 -> 1.7.
charactercontroller 1.4.2 + local rukhanka 2.9.0 unchanged (resolve on 6.5
via SemVer floor). Includes the URP global-settings + VFX/MPPM/package-manager
ProjectSettings migrations 6.5 wrote on first open.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-17 00:34:33 -07:00
kronic 49cdec3a1e more 2026-06-12 22:21:12 -07:00
kronic 1ed2aa46c5 HUD and Height Changes 2026-06-07 22:29:25 -07:00
kronic 31c4ab16d6 Scene split: MainMenu frontend + Game gameplay scenes; build/render settings
Add MainMenu.unity (build index 0, UITK frontend) alongside Game.unity (index 1); reorder EditorBuildSettings; URP/volume profile + project settings updates supporting the menu/game split.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-06 15:05:00 -07:00
kronic 16b01bec38 Game Scene Split up 2026-06-04 13:45:46 -07:00
kronic 2ee30c01fd CC Package and Physics 2026-06-02 08:56:26 -07:00
Luis Gonzalez e851d5f8e9 Co-Op Layer 2026-06-01 10:48:18 -07:00
Luis Gonzalez 1f647dd5e1 Initial Combat Implementation 2026-05-31 21:35:12 -07:00
Luis Gonzalez 7fa77ce821 Netcode Bootstrap 2026-05-31 14:27:52 -07:00
Luis Gonzalez 99d8d2d2a9 Set up DOTS + Netcode for Entities foundation
One-time stack setup per Docs/dots-setup-task.md (Unity 6.4.7 / 6000.4.7f1).
Packages: entities 6.4.0, entities.graphics 6.4.0, netcode 1.13.2, physics 1.4.6.

- Assets/_Project asmdef split: ProjectM.Simulation/Client/Server/Authoring (root ns ProjectM)
- GameBootstrap : ClientServerBootstrap; verified separate client + server worlds in Play Mode
- Gameplay subscene wired into SampleScene as a baking target
- Heartbeat component + Burst ISystem; EditMode smoke test green (1/1)
- In-repo Obsidian vault (Docs/Vault) incl. DR-001 (plain-Entities test over internal NetCodeTestWorld)
- Portable .mcp.json (basic-memory + serena via ${CLAUDE_PROJECT_DIR}); CLAUDE.md conventions
- .gitignore for DOTS baking cache + machine-local config

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-05-29 22:06:44 -07:00
Luis Gonzalez 25e3493e75 Initial check-in 2026-05-29 20:27:44 -07:00