Add three-mode Wangan loop; rename project to Tokyo Wangan Racing
CI / quality (push) Successful in 1m18s
CI / quality (push) Successful in 1m18s
Daikoku Futo PA becomes the hub (Tokyo Xtreme Racer structure): park, pick a
mode, drive out the exit gate to start the run, pull back into the PA to end it.
Modes:
- CRUISE free roam, banks session + lifetime kilometres
- DUEL gap-based battle: hold 350 studs for 3s to win
- TIME ATTACK solo flying lap, 4 sector splits, saved personal best
New shared modules:
- Circuit.luau one source of truth for loop geometry. progressOf(pos) gives
lap distance, which drives lap detection, sectors and duel gaps
alike, so the map and gameplay can never drift apart.
- Modes.luau mode definitions + duel/time-attack tuning constants
Server-authoritative throughout: ModeManager samples the car real position on
Heartbeat and the client never reports distance, lap time or gap. Teleport and
respawn jumps are rejected from distance accumulation.
ProfileTemplate v3 adds DistanceStuds, BestLapTime, BestSectors, DuelsWon and
DuelsLost; ProfileStore Reconcile migrates existing saves.
Rename: repo, wally package, local dir and stale NAS asset paths all move off
the old fnf-sim name. NAS folder was already 0-tokyo-wangan-racing, so those
doc paths were broken before this.
This commit is contained in:
@@ -1,12 +1,35 @@
|
||||
# Tokyo Wangan Racing — MVP (drive-only)
|
||||
# Tokyo Wangan Racing
|
||||
|
||||
A Roblox game where you cruise a neon Tokyo expressway at night in cool cars —
|
||||
starting with a real 1993 Mazda RX-7. **This MVP is deliberately tiny: just
|
||||
driving.** No racing, money, or upgrades yet — the goal is to nail the driving
|
||||
feel and be testable fast. See `docs/ROADMAP.md` for what comes next.
|
||||
starting with a real 1993 Mazda RX-7. The driving feel comes first; everything
|
||||
else layers on top of it. See `docs/ROADMAP.md` for what comes next.
|
||||
|
||||
**Status:** Playable. Spawn → drive → switch cars → respawn. CI green on a
|
||||
self-hosted Gitea runner. Built code-first — nothing to hand-build in Studio.
|
||||
**Status:** Playable. Spawn → drive → switch cars → respawn, plus the full
|
||||
three-mode Wangan loop. CI green on a self-hosted Gitea runner. Built code-first
|
||||
— nothing to hand-build in Studio.
|
||||
|
||||
## The Daikoku loop (how you play)
|
||||
|
||||
Daikoku Futo PA is the hub, exactly like Tokyo Xtreme Racer. You are never
|
||||
"joining a match" — you park, pick how you want to run, and drive out.
|
||||
|
||||
```
|
||||
IN THE PA ──► pick a mode ──► cross the exit gate ──► RUNNING
|
||||
▲ │
|
||||
└──────────────── pull back into the PA ─────────────────┘
|
||||
```
|
||||
|
||||
| Mode | 日本語 | What it is |
|
||||
|---|---|---|
|
||||
| **CRUISE** | 流し | Free roam. Bank kilometres, meet other drivers. Rivals can pull alongside and challenge you. |
|
||||
| **DUEL** | バトル | Hunt rivals. First to open a ~350-stud gap and *hold* it for 3s wins. No laps, no checkpoints — who breaks first. |
|
||||
| **TIME ATTACK** | タイムアタック | Solo flying lap with 4 sector splits and a saved personal best. Rivals can't interrupt you. |
|
||||
|
||||
Cruise and Duel both allow challenges, so a cruise can turn into a battle
|
||||
organically — pull alongside someone and the prompt appears for both of you.
|
||||
Time Attack deliberately opts out so a hot lap is never ruined.
|
||||
|
||||
Kilometres, lap times and duel records all persist via ProfileStore.
|
||||
|
||||
---
|
||||
|
||||
@@ -79,4 +102,4 @@ the `EquipCar` remote).
|
||||
|
||||
One function changes: `CarManager.buildCarModel`. Full step-by-step in
|
||||
`docs/MESH_SWAP.md`. Reference photos live on the NAS at
|
||||
`unraid-1:/mnt/user/data/yy-roblox-games/0-fast-n-furious-sim/001-1993 Mazda RX-7/`.
|
||||
`unraid-1:/mnt/user/data/yy-roblox-games/0-tokyo-wangan-racing/001-1993 Mazda RX-7/`.
|
||||
|
||||
Reference in New Issue
Block a user