Three.js / rendering
desert.mjs imports Three.js and creates the scene, camera and WebGLRenderer. It also loads the Patrol model, lighting, shadows and desert environment. This describes the inspected version, not an assumed engine.
FROM IDEA TO EXPERIENCEBUILD / 01
Codex and Claude were my companions. But every movement, every sound and every detail went through testing and revision. This is the story from the inside.
The guide and prompts, not the game source.

THE ITERATION ARCHIVE
Choose a scene. Look closer. These are actual project captures, not generated images.
A saved stuck-vehicle test capture. Values inside the image belong to the simulation, not a real vehicle.
Frame motion and visual effects are illustrative page design. These are stills from saved builds, not a live game feed or live telemetry.
THE IDEA, THE CODE, THE TEST
I built with Codex. Developed with Claude. In between, I tested, decided and went back to refine.
I started building the game with Codex. A car, a scene and a camera. Every detail then became another question to test myself.
Go to the first stageBuild → test → compare → refine. An illustrative account of the journey, not a conversation recording or a running game.
THE ORIGINAL REEL / FROM MY ACCOUNT
Watch the original Reel about building the game and refining movement, sound and turbo, then explore the guide and prompts.
Instagram’s player loads only after you press play. If it is unavailable, use the original Reel link.
FROM THE ACTUAL PROJECT FILES
These are original captures from a saved Safari version, not generated images or screenshots of the latest release. I reviewed this version’s files and its audio-change history to document a real part of the journey.
I did not ask for a game and call it done. I imagined a detail, worked on it, tried it and revised it again. Audio and the cockpit were among the hardest challenges: sometimes I liked a result, then after another change I had to find the version I preferred. Codex and Claude helped with the code, but the idea, decisions and testing were mine.
That is why I also show unfinished stages, such as the rider pose before refinement, and distinguish recorded values from qualities I need to judge myself. These versions, tests and images document part of the journey without inventing hours or pretending every attempt succeeded.







The saved development folder contains 38 test captures, including labels from B2 to B23 with gaps. This documents successive versions and experiments, not a claimed hour count or 22 completed rounds.
desert.mjs imports Three.js and creates the scene, camera and WebGLRenderer. It also loads the Patrol model, lighting, shadows and desert environment. This describes the inspected version, not an assumed engine.
The scene imports fresh and step from physics.mjs and RampAudio from a separate module. This separation explains why changing audio is not the same task as changing vehicle movement.
ramp-audio.mjs loads the recording, decodes PCM and runs ramp-worklet.mjs through AudioWorklet. During play it sends RPM, throttle and rev-limiter state to the processor.
The code loads three separate pop samples and mixes them through exhaust-pop.mjs. Their triggering follows game state, with separate level control.
The October 17, 2026 edit history records the addition of engine-synth.mjs and a switch to EngineSynth as the default, while retaining optional comparison modes. That changes how sound is produced, rather than simply increasing volume.
I described audio as one of the hardest parts: testing it, hearing it change and looking for the version I liked. Saved files show versions before and after the audio switch, making comparison and backups an important part of the story.
TEST LOG / SAVED RESULTS
These are historical results from saved files and test notes, not new tests run while preparing this page or guarantees for the latest release.
Counted image files in the development folder. B2–B23 labels have gaps and do not imply 22 completed rounds.
ramp-audio.mjs loads samples 0, 1 and 2 and cycles them with a playback counter.
The October 17 Claude log records five scene/UI edits after creating the synthesized-audio module. This is part of the history, not the total edit count.
B23 notes document shared-car and effect testing between two clients. Mobile emulation ran on a PC, not two physical phones.
The B23 notes record this count while inspecting the effect on the other client. It is not, by itself, a measure of smoothness or connection quality.
B31-tyre-sound-tests.json records one playback per burst, no retrigger each frame and a passing NissanFlutter regression flag. This is a mocked-audio unit test, not a listening test or a speaker-output measurement.
A fixed 600-step test at 1/60 second per step (10 seconds), throttle 0.35, low range and tuned mode. Changing only pressure from 32 to 14 reduced recorded final sinkage from 0.262 to 0. These are simulation units in a synthetic scenario, not real-car tyre-pressure advice.
B23 records a remote peak of 0.1534, then zero when muted. These are internal signal readings, not decibels or a listening-quality assessment.
Reviewed sources: saved image files, ramp-audio.mjs, the October 17 Claude edit log B23-NOTES.md, B31-tyre-sound-tests.json and physics-test-results.json with test-physics.mjs. Full-RPM-range coverage, listening quality and performance on physical phones are not established here.
Read the test script and saved result first. Extract initial conditions, duration, inputs and units for each measurement. Separate historical results from any new run. If rerunning, hold conditions fixed, change one variable and report differences and errors. Do not treat true in JSON as proof of listening quality or success on a physical phone, and do not invent missing measurement units.
this.node.port.postMessage({type:'control',rpm:s.rpm,pedal:s.pedal,limiter:!!s.limiterActive});This is displayed as source-code text, not a fabricated Codex or Claude conversation screenshot. Recordings and models are not redistributed here; some prototype assets are for personal experiments and need licensing review before redistribution. Original conversation, cockpit and aircraft captures have not been added yet. The motorcycle image documents an early iteration and alone does not prove complete vehicle transitions.
TUNING LAB / SOURCE + ANALYSIS + PROMPTS
Not every number on screen is horsepower, and a whistle does not establish a full mechanical turbo model. Here are inspected source details, clearly labeled calculated plots and newly authored professional prompts.
Analytical input-step response from the physics.mjs filter, not a recorded run. Time constants are 200ms for application and about 83ms for release; 90% response takes about 461ms and 192ms respectively.
Calculated from physics.mjs at full throttle and steady boost, with arcade boost off. The torque axis is normalized, not N·m, HP or dyno data. Transmission and limiter response are excluded.
FORMULA DEMO / NOT A DYNO
Initial values are independent examples, not Nissan measurements. Use only when torque is in N·m. Output is mechanical hp, not PS or wheel horsepower.
hp ≈ torque (N·m) × RPM ÷ 7127
An educational workflow diagram, not a software screenshot. Audio, visuals and physics are separate layers to test independently and together.
01 / Throttle response
physics.mjs uses a 5/s rise rate and 12/s release rate. This filters input; it does not add horsepower.
Inspect input handling and the s.pedal update. Preserve time units and frame-rate independence. Isolate throttle smoothing from torque and audio. Compare a 0→1 step and a 1→0 release with the same dt, reporting 63% and 90% response times. Keep camera, transmission and audio settings fixed. Make the smallest change and identify tests actually run plus rollback steps. Do not increase power simply to make throttle response faster.
02 / Boost vs arcade boost
The model boost ramp starts at 1900 RPM and reaches its full RPM range at 3800. It is dimensionless, not PSI or bar. A separate arcade boost can reach ×5.
Separate gradual boost from the button-driven turboBoost. Plot the target across RPM at fixed throttle and inspect the 2.7/s rise and 6/s fall rates before changing them. Do not confuse boost with tyre pressure. Prevent accidental stacking of tuned mode and the arcade multiplier. Log RPM, pedal, boost and powerMultiplier temporarily, testing throttle lift and reapplication without discontinuous torque jumps.
03 / Spool / release / compressor flutter
road-effects.mjs names spool and release samples; turbo-response.mjs mentions compressor flutter. Audio events do not establish a mechanical valve simulation.
Inspect spool under throttle, release on lift-off and compressor flutter if present. Drive them from real pedal and boost state with thresholds and hysteresis so events do not retrigger each frame. Give each layer gain, fades and voice limits. Test sustained throttle, abrupt lift, repeated taps and mute. Preserve an audio version I like and provide A/B comparison before replacement. Do not attribute a sample to a vehicle without evidence.
04 / Exhaust / overrun pops / limiter
exhaust-pop.mjs is separate from engine audio and ramp-audio.mjs connects samples to game state. This is not proof of engineering-grade exhaust-flow simulation or real dyno data.
Map the signal path from engine to exhaust and pop layers to master gain. Distinguish lift-off overrun pops from limiter cuts at the RPM ceiling. Add cooldown, voice limits and clipping checks, then compare at similar loudness. Preserve source recordings and reference comparison settings. Report peak and RMS as digital measurements only; tone quality still needs listening. Do not equate gain increases with horsepower.
05 / 9.00-16 / sidewall / rolling radius
sand-wheel.mjs references 9.00-16 and a 9.00-16 LT sidewall label. It is a reference-based visual approximation; 900 does not mean horsepower.
Compare visual wheel radius with the radius used by physics. Verify axle direction, rotation, steering angle and the 9.00-16 sidewall marking. Separate mesh scaling from grip and tyre pressure. Test slow driving, reverse, turns and slopes while checking sinking or floating wheels. Do not treat the LT label or balloon appearance as certified geometry or real-world pressure advice.
06 / Wheel spacer / offset / track width
No explicit spacer parameter was found in the inspected files. A spacer, wheel offset and track width are different concepts; implementation must not be assumed.
Inspect mesh names and wheel-centre positions first. If adding spacers, distinguish their thickness from wheel offset and axle track width. Do not move wheels visually while leaving physical contact points elsewhere. Show a before/after diagram and test collisions, steering and fender clipping. Ask for a reference when a side component is ambiguous instead of guessing. This is a proposed development task, not a claim it was already implemented.
07 / Speedometer / tachometer
dials.mjs uses 0–240 km/h and 0–8000 RPM scales. Speed comes from hypot(u,v)×3.6. Gauge range is not verified top speed.
Connect the speedometer to physical speed rather than button input, and the tachometer to RPM. Check unit conversion, scale limits and visual needle damping; distinguish raw and displayed values. Test zero, acceleration, reverse and scale limits. Preserve driver eye position and road visibility. If power is not calculated, do not fill an HP gauge with decorative numbers; clearly label a valid derived value or omit it.
08 / Torque / power / mechanical hp
Torque and power differ. Mechanical hp ≈ N·m × RPM / 7127. There is no verified dyno rating for this game or the real vehicle here.
Identify the actual torque unit first. Only if it is N·m derive mechanical horsepower, distinguishing it from PS and wheel power. Do not turn ×1.34 or ×5 into an advertised horsepower figure. Plot model torque and derived power with explicit throttle, boost and drivetrain-loss assumptions. Label every plot as a game-model calculation, not dyno data. If units are uncertain, use a normalized curve only.
09 / Baseline / diff / A–B comparison
I keep the decisions: save a baseline, change one thing, compare, then keep or roll back. These prompts are newly authored for the guide, not my old conversations.
In Codex, inspect the project, establish a runnable baseline and map files and basic tests. Before moving to Claude, hand over files, state, run commands and constraints. In Claude, request one change with a diff, impact explanation and feasible tests. Compare the same driving route, then save a named version. Do not attribute tests to the other tool without records or silently replace audio and models. List decisions requiring my listening or review.
10 / Telemetry / regression / frame time
Historical results differ from new tests. Average FPS alone does not prove smoothness, and mocked audio tests do not establish listening quality.
Create a test matrix for throttle, boost, brakes, wheels, camera and audio. Fix dt, inputs and initial state; log RPM, pedal, boost, torque, speed and frame time. Separate unit tests, browser tests and physical-phone testing. Compare p50 and p95 frame time, not only FPS. Each result needs its file, version, conditions, unit and untested areas. Do not alter results to look successful; explain failures and add a reproducing regression test.
The prompts in this guide are educational examples to help you start your own project, not verbatim copies of the original conversations. Original captures from a saved Safari version appear in the evidence section; some individual stages still need their own images.
The download contains the guide and prompts, not the game source code. A public play link has not been attached.
I started building the game
I developed, tested and refined it
The idea, decisions and testing are mine. I try every change myself.
I started building the game with Codex. I wanted a Nissan in a 3D driving game that I could try myself.
An original capture for this stage has not been attached yet.
Start with one car and a simple road. Test acceleration, braking, steering and the camera before adding detail.
I want a playable prototype of a 3D driving game. Inspect the project files first. Start with one car and a simple road, acceleration, braking, steering and a follow camera. Explain how to run it and the controls. Separate what you actually tested from what needs my testing. Do not add major features before testing the basics.
Stage check: The game opens, the car appears and responds to controls.
I developed it further with Claude. Whenever I imagined something, I asked for it, tried it and revised it.
An original capture for this stage has not been attached yet.
Transfer the project files and explain their current state. Specify one change and what must stay intact rather than rebuilding from scratch.
This is the current game project. Read the files first; do not rebuild it from scratch. The change I want now is: [one change]. Preserve: [the controls, sound and camera I like]. Implement the change, then summarize changed files, testing instructions and what needs manual testing. If a file is missing, ask for it rather than assuming its contents.
Stage check: The new change appears and existing features still work.
I worked on code to make the car movement simulate reality: wheel steering and drifting.
A related original capture is included in the evidence section, with its version context and limitations.
View evidence and original images ↑Separate steering from wheel rotation. Test grip and sliding on the road, not just how the parked car looks.
Review the current car movement. Match front-wheel angles to steering and wheel rotation to speed. Improve the transition between grip and sliding during drifting gradually. Preserve the current camera and controls, and explain which values I can adjust. Test turning, braking and recovering from a drift.
Stage check: Watch the wheels at low speed, then test drifting and braking.
The cockpit was one of the challenges. I tested and adjusted it until it was closer to what I had in mind.
An original capture for this stage has not been attached yet.
Review the camera position, road visibility and interior detail. Compare the same angle before and after, if both versions are saved.
Review the cockpit driving view. I want a camera with a clear view of the road that does not clip through the car, and interior details consistent with the model. Keep this change separate from sound and movement so I can compare it with the previous version. Do not add fake gauges unrelated to the car state.
Stage check: The road is visible and the camera does not clip through the model while driving.
From the exhaust and pops to the turbo whistle, I tested and adjusted every detail. Sometimes I liked the result; sometimes I returned to the previous version.
A related original capture is included in the evidence section, with its version context and limitations.
View evidence and original images ↑Save a version before changing anything and separate audio layers so you can balance them. Compare using the same driving route and volume.
Save a copy of the current audio settings. Link engine sound to driving state and separate exhaust, turbo whistle and exhaust-pop layers so I can balance them. Fix distortion and abrupt transitions; do not play effects continuously. Provide a before-and-after comparison on the same driving route and explain how to restore the previous version.
Stage check: Listen at idle, under acceleration and on throttle release, on headphones and a phone.
I added other cars, a motorcycle the character can get out of the car and ride, and a plane to fly.
A related original capture is included in the evidence section, with its version context and limitations.
View evidence and original images ↑Expand one feature at a time. Test character transitions, controls and camera before adding the next vehicle.
Add one vehicle type at a time. Start with the character exiting the car and mounting the motorcycle, with clear control and camera transitions. Ensure controls are not active in two vehicles at once. Once testing passes, move to the plane and test entering, exiting and piloting separately.
Stage check: Only the active vehicle responds to controls, and transitions work correctly.
It was not a single click. I tested, adjusted and went back again until the game was closer to the idea in my head.
An original capture for this stage has not been attached yet.
Name and save versions you like. After every change, check existing gameplay too, not only the new feature.
Summarize the change you made and the files you changed. Separate what you actually tested from what needs my testing. Review launch, controls, camera, audio and cockpit. Do not claim a test passed if you did not run it. Explain how to undo only this change if I do not like the result.
Stage check: You can return to a working version without losing the project.
The best part? The game is still in its early stages and keeps evolving.
An original capture for this stage has not been attached yet.
Start small, test it yourself and add what serves your idea. Results vary with the files, assets, tools and changes you choose.
Review the current state of my project. Suggest the smallest useful next step, with a clear goal and a test I can perform myself. List required files or assets and known limitations. Do not promise a complete game from a single prompt.
Stage check: You have something you can test and a specific next step.
Chapter two · UNREAL
The Safari was the beginning: a browser build in Three.js that I made with Codex. Once the foundation worked, I wanted the game closer to open-world and racing games. So we moved the idea to Unreal, built the new Nissan, and the game grew from there: more cars, a motorbike and a plane.
Works inside the project files: makes the change, runs the build and reports what changed.
The idea, the decisions and the testing. I play every build myself and decide what stays.
Plans with me before the change, reviews code and decisions, and helps me understand a problem when something breaks.
A general comparison of the two tools, not a measurement of my game. Three.js is a rendering library; physics and audio need extra libraries. Unreal is a full game engine.
One rule: only one vehicle receives input at any moment.
A teaching diagram of vehicle switching (Possess / Unpossess), not a capture of the game's code.
Three.js taught me the basics in the browser. But the idea in my head was bigger: an open world and more realistic driving. So I started a new Unreal project instead of stretching the old build.
I have a car game prototype in Three.js and I want to move the idea to Unreal Engine 5. Before any code: read the old project and summarise what should carry over (controls, camera, audio, world) and what we rebuild from scratch. Propose an Unreal project structure (folders, Blueprints or C++, asset naming) and a plan of small stages, each with a clear test I can run myself.
The first goal in the new project was simple: the new Nissan sits on the ground, drives, brakes and turns. Before any polish.
In the current Unreal project: set up a vehicle Pawn based on Chaos Vehicle (WheeledVehiclePawn) using my existing Nissan mesh. Bind four wheels to the correct bones, configure Enhanced Input for throttle, brake, steering and handbrake, and add a rear chase camera. Do not add other features. Afterwards tell me which files changed, how to run the test, what you actually tested and what I still need to try.
This is where the real work started: weight, grip, drifting and bumps. Every value tested, then adjusted again.
Review the Nissan's Chaos Vehicle setup: mass, centre of mass, engine torque curve, gear ratios, tyre friction and suspension. Suggest changes that make it feel heavier and closer to reality on sand and asphalt, explaining what each value does. Apply one change at a time and save the previous values to a file so I can roll back if I don't like the feel.
Once the Nissan worked, more cars followed. Instead of copying everything per car, there is one base and each car gets its own values.
Turn the Nissan setup into a base Blueprint (BP_VehicleBase) and make every new car a child with its own mesh, mass, torque and sound. Add a second car as an example without breaking the Nissan. Test both on the same route and give me a table of the value differences.
The character can now leave the car, walk and ride the motorbike. The hardest part was moving input and camera cleanly without anything still running in the background.
Add switching between the character and vehicles: when the character is near a vehicle and presses interact, UnPossess the character and Possess the vehicle, blending the camera smoothly. On exit, place the character at a safe exit point and give input back. Make sure only one vehicle receives input at any moment. Start with the bike and test entering and exiting 10 times in a row.
Then came a plane. Same switching idea, completely different controls: take-off, banking and landing.
Add a plane using the existing switching system. Simple, readable controls: throttle, pitch, roll and yaw, with a minimum take-off speed and a safe landing on the ground. Give the plane its own Input Mapping Context so it never conflicts with the car. Afterwards, have Claude review the flight logic and point out where behaviour might feel odd.
Sound stayed its own journey in Unreal too: engine, turbo, lift-off pops and drifting tyres. I want it as close to reality as possible.
Build the engine sound in MetaSounds driven by RPM and throttle load. Separate the layers: engine, exhaust, turbo whistle, lift-off pops and tyre noise while drifting. Only use sound files that are licensed or recorded by me. Give me parameters I can tune and a way back to the previous version.
Teaching examples written for this guide. Rename things to match your project and keep one change per request.
I'm building an open-world game in Unreal Engine 5 with cars, a motorbike and a plane. Before we write code: ask me what you need to know, then write a plan of small stages. For each stage: the goal, the expected files, the risks, and a test I can run myself in under 5 minutes.
Read the project first and do not rebuild it. One change only: [describe the change]. Keep: [what I like]. Afterwards: run the build, tell me which files changed, what you actually tested, what I need to try, and how to undo just this change.
Here is the diff Codex made. Review it like a senior game developer: what could break? Where could performance drop? Anything that might conflict with input or the camera? Give me notes ordered by importance, without rewriting the code.
This error happened: [paste the error or describe what happened]. Before fixing: find the cause from the files and logs and tell me your hypothesis. Then make the smallest possible fix and prove it is solved using the same steps that caused it.
DEEP DIVE / CODEX + CLAUDE
This is a suggested learning workflow, not documentation of the original game engine, physics libraries or file names. Inspect your project before applying it. The diagram is illustrative, not a gameplay screenshot.
Educational example, not an original conversation transcript: Current goal: [one change] Framework and engine identified in the files: [...] Last working version: [...] Run command and controls: [...] Relevant files: [...] Issue and reproduction steps: [...] What must be preserved: [...] Tests actually run and their results: [...] What remains untested: [...] Read the files, summarize your understanding, then make the smallest change. Do not invent missing files or claim unrun tests passed.
THIS IS JUST THE BEGINNING
I tested and adjusted every detail. Which car would you like me to add after this Nissan?
Keep a copy of the guide