Commit graph

6 commits

Author SHA1 Message Date
f2039a43b0 Add ParrelSync 1.5.2 for local two-client testing
Editor-only clone tool so the capsule/bot replication can be tested with
a second Unity instance (joins the host via Relay code) without a separate
machine or a standalone build. Clone lives at ../jankenbots_clone_0
(sibling of the repo, symlinks Assets + ProjectSettings back to it).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-10 23:54:41 +01:00
26abf15902 M1: fix PlayerDriver input for New-only Input System (Keyboard.current)
Project ships Active Input Handling = Input System (New) only, so the
drafted legacy Input.GetAxisRaw would throw InvalidOperationException at
runtime. Read WASD/arrows off Keyboard.current instead — no restart, no
action asset needed. (TreadPart needs the same swap when the bot lands.)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-10 23:30:31 +01:00
1be4730756 M1: add replicated Player capsule prefab, set as NetworkConfig.PlayerPrefab
Capsule with Rigidbody (mass 2, upright constraints) + NetworkObject +
NetworkTransform + PlayerDriver; auto-spawned per client, host-authoritative
motion via input->ServerRpc->host AddForce->NetworkTransform replication.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-10 23:28:59 +01:00
805ff1c980 M1: add networked scene M1_Arena (NetworkManager + UnityTransport + Bootstrap)
Empty host-authoritative arena: NetworkManager GameObject carries
NetworkManager, UnityTransport (wired as NetworkConfig.NetworkTransport),
and the NetworkBootstrap Relay host/join harness. Ground plane, camera,
directional light. Set as the build startup scene for two-client testing.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-10 23:27:23 +01:00
351a7f1f82 M1: add NGO + Multiplayer Services packages and prototype scripts (compiling)
Netcode for GameObjects 2.13.0 + Unity Multiplayer Services 2.2.4 (unified
Relay/Lobby SDK; supersedes deprecated standalone relay/lobby). Four M1
scripts, verified against live editor reflection and compiling clean:
- Net/NetworkBootstrap.cs  Relay host/join-by-code harness (IMGUI)
- Net/PlayerDriver.cs       replicated host-auth capsule (input->ServerRpc->host)
- Bot/TreadPart.cs          v0.1 tread feel: snap-to-cruise/lock-pivot/lean
- Bot/SeatManager.cs        left/right tread seat claim + leaver-safety

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-10 23:24:47 +01:00
6b5b5a103c Rename JANKENSTEIN->JANKENBOTS; unify repo into Unity project folder + add Unity project (URP/Input System template) 2026-07-10 22:44:44 +01:00