Skip to the steps
MOATH.العربيةAll tutorials
CREATED & DEVELOPED BYMoath Alherani
@moath.alherani

FROM IDEA TO EXPERIENCEBUILD / 01

I opened my computer.And built a Nissan.

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 Nissan on desert dunes in an original saved B3 in-game test capture.
ORIGINAL CAPTURE / SAVED BUILDB3
08guide stages02tools on the journey01idea, developed my way

THE ITERATION ARCHIVE

Every frame has a story.

Choose a scene. Look closer. These are actual project captures, not generated images.

SAFARI / FIELD NOTES01 / 07
The dunes: A saved stuck-vehicle test capture. Values inside the image belong to the simulation, not a real vehicle.ORIGINAL STILL CAPTUREOriginal
B3

The car is just the beginning.

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

It was never one click.

I built with Codex. Developed with Claude. In between, I tested, decided and went back to refine.

SCENE / STRUCTUREILLUSTRATION
Scene construction

From an idea to the first movement.

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 stage

Build → test → compare → refine. An illustrative account of the journey, not a conversation recording or a running game.

THE ORIGINAL REEL / FROM MY ACCOUNT

Building my Nissan game with Codex and Claude

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

Not a single click. A journey of iterations.

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.

It took a lot of work to get here.

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.

01

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.

02

Physics is separate from sound

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.

03

AudioWorklet / audio

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.

04

Exhaust pops are not one continuous loop

The code loads three separate pop samples and mixes them through exhaust-pop.mjs. Their triggering follows game state, with separate level control.

05

Claude changed the audio path

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.

06

Returning to the version I liked

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

Numbers from actual work, not promises

These are historical results from saved files and test notes, not new tests run while preparing this page or guarantees for the latest release.

38

saved test captures

Counted image files in the development folder. B2–B23 labels have gaps and do not imply 22 completed rounds.

3

separate exhaust-pop samples

ramp-audio.mjs loads samples 0, 1 and 2 and cycles them with a playback counter.

5

audio integration edits

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.

2

browser clients in the B23 test

B23 notes document shared-car and effect testing between two clients. Mobile emulation ran on a PC, not two physical phones.

34

smoke count on the second client

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.

0.32 s

tyre-burst effect duration

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.

32 → 14

PSI in a simulated stuck-vehicle test

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.

0

signal peak after muting

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.

Educational example: auditing the numbers
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.
Actual excerpt from ramp-audio.mjs in the saved version
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

From throttle to sound: inside the tuning

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.

9.00-16Tyre marking, not 900 hp
1900–3800RPM range of the boost-target ramp
×1.34Tuned-mode factor in code
7100 / 6950Limiter entry / exit RPM
Throttle application and release: calculated response
100755025000.250.50.751seconds / s
Application: 5/sRelease: 12/s

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.

Normalized torque from the model equation
150112.57537.5010002500400055007000RPM
Baseline peak = 100Tuned mode ×1.34

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

Educational power calculator

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

280.6 hp hypothetical calculation only
Explanatory map: from input to your ears
  1. 1Input + elapsed time
  2. 2Pedal filter + RPM
  3. 3Model torque + motion
  4. 4Audio layers + output

An educational workflow diagram, not a software screenshot. Audio, visuals and physics are separate layers to test independently and together.

01 / Throttle response

Throttle response

physics.mjs uses a 5/s rise rate and 12/s release rate. This filters input; it does not add horsepower.

Open and copy the professional prompt +
Newly authored guide prompt
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

Turbo boost versus the arcade button

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.

Open and copy the professional prompt +
Newly authored guide prompt
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

Turbo whistle and flutter

road-effects.mjs names spool and release samples; turbo-response.mjs mentions compressor flutter. Audio events do not establish a mechanical valve simulation.

Open and copy the professional prompt +
Newly authored guide prompt
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 system and pops

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.

Open and copy the professional prompt +
Newly authored guide prompt
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

The 900 tyres

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.

Open and copy the professional prompt +
Newly authored guide prompt
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

Spacers, wheels and side components

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.

Open and copy the professional prompt +
Newly authored guide prompt
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

Gauges and cockpit

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.

Open and copy the professional prompt +
Newly authored guide prompt
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

Horsepower without exaggeration

Torque and power differ. Mechanical hp ≈ N·m × RPM / 7127. There is no verified dyno rating for this game or the real vehicle here.

Open and copy the professional prompt +
Newly authored guide prompt
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

Tuning between Codex and Claude

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.

Open and copy the professional prompt +
Newly authored guide prompt
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

A reproducible test plan

Historical results differ from new tests. Average FPS alone does not prove smoothness, and mocked audio tests do not establish listening quality.

Open and copy the professional prompt +
Newly authored guide prompt
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.
Before you start

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.

CODEX

I started building the game

CLAUDE

I developed, tested and refined it

The idea, decisions and testing are mine. I try every change myself.

01CODEX

The first moving prototype

I started building the game with Codex. I wanted a Nissan in a 3D driving game that I could try myself.

The original Codex request and first working prototype

An original capture for this stage has not been attached yet.

Original image pending

Try it yourself

Start with one car and a simple road. Test acceleration, braking, steering and the camera before adding detail.

Open and copy the example prompt
Educational example: The first moving prototype
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.

02CODEX → CLAUDE

The same project, the next step

I developed it further with Claude. Whenever I imagined something, I asked for it, tried it and revised it.

The real project in Claude with an actual change

An original capture for this stage has not been attached yet.

Original image pending

Try it yourself

Transfer the project files and explain their current state. Specify one change and what must stay intact rather than rebuilding from scratch.

Open and copy the example prompt
Educational example: The same project, the next step
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.

03MOVEMENT

Movement that feels real

I worked on code to make the car movement simulate reality: wheel steering and drifting.

A close-up of the wheels and an in-game drift

A related original capture is included in the evidence section, with its version context and limitations.

View evidence and original images ↑

Try it yourself

Separate steering from wheel rotation. Test grip and sliding on the road, not just how the parked car looks.

Open and copy the example prompt
Educational example: Movement that feels real
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.

04COCKPIT

Inside the cockpit

The cockpit was one of the challenges. I tested and adjusted it until it was closer to what I had in mind.

The driving view and cockpit from the actual game

An original capture for this stage has not been attached yet.

Original image pending

Try it yourself

Review the camera position, road visibility and interior detail. Compare the same angle before and after, if both versions are saved.

Open and copy the example prompt
Educational example: Inside the cockpit
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.

05ENGINE / TURBO

The sound I wanted

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.

An original gameplay recording with its real audio, not replacement effects

A related original capture is included in the evidence section, with its version context and limitations.

View evidence and original images ↑

Try it yourself

Save a version before changing anything and separate audio layers so you can balance them. Compare using the same driving route and volume.

Open and copy the example prompt
Educational example: The sound I wanted
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.

06EXPAND

Beyond the Nissan

I added other cars, a motorcycle the character can get out of the car and ride, and a plane to fly.

An uninterrupted car-to-motorcycle transition and in-game flight

A related original capture is included in the evidence section, with its version context and limitations.

View evidence and original images ↑

Try it yourself

Expand one feature at a time. Test character transitions, controls and camera before adding the next vehicle.

Open and copy the example prompt
Educational example: Beyond the Nissan
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.

07TEST / SAVE

Try, adjust and roll back

It was not a single click. I tested, adjusted and went back again until the game was closer to the idea in my head.

Saved versions and an authentic before-and-after comparison

An original capture for this stage has not been attached yet.

Original image pending

Try it yourself

Name and save versions you like. After every change, check existing gameplay too, not only the new feature.

Open and copy the example prompt
Educational example: Try, adjust and roll back
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.

08YOUR TURN

Start your own version

The best part? The game is still in its early stages and keeps evolving.

A capture from the latest playable version

An original capture for this stage has not been attached yet.

Original image pending

Try it yourself

Start small, test it yourself and add what serves your idea. Results vary with the files, assets, tools and changes you choose.

Open and copy the example prompt
Educational example: Start your own version
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

From the Safari in the browser…to the new Nissan in 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.

  • New Nissan
  • More cars
  • Motorbike
  • Plane

Who does what?

CODEX

Works inside the project files: makes the change, runs the build and reports what changed.

MOATH

The idea, the decisions and the testing. I play every build myself and decide what stays.

CLAUDE

Plans with me before the change, reviews code and decisions, and helps me understand a problem when something breaks.

IdeaClaude plansCodex buildsI test itClaude reviewstest → refine
The loop that never stops

Why Unreal? What the engine gives you out of the box

Three.jsUnreal
Vehicle physicsChaos VehiclesExtra library or workBuilt into the engine
Realistic dynamic lightingLumenExtra library or workBuilt into the engine
High-detail meshesNaniteExtra library or workBuilt into the engine
Interactive, motion-driven audioMetaSoundsExtra library or workBuilt into the engine
Switching input between vehiclesPossess / Enhanced InputExtra library or workBuilt into the engine
Runs directly in the browserWebGLBuilt into the engineExtra library or work

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.

How the character moves between car, bike and plane

🧍 On foot🚙 Car🏍️ Bike✈️ PlanePossessPossessUnPossess

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.

Chapter two, stage by stage

  1. 09MOVECLAUDE → CODEX

    The decision: move the game to Unreal

    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.

    Place for a real Unreal captureNo original capture for this stage yet. We do not use generated images instead.
    Open the prompt and copy it
    Example prompt: The decision: move the game to Unreal
    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.
  2. 10NEW NISSANCODEX

    The new Nissan moves

    The first goal in the new project was simple: the new Nissan sits on the ground, drives, brakes and turns. Before any polish.

    Place for a real Unreal captureNo original capture for this stage yet. We do not use generated images instead.
    Open the prompt and copy it
    Example prompt: The new Nissan moves
    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.
  3. 11PHYSICSCLAUDE + CODEX

    The feel of driving

    This is where the real work started: weight, grip, drifting and bumps. Every value tested, then adjusted again.

    Place for a real Unreal captureNo original capture for this stage yet. We do not use generated images instead.
    Open the prompt and copy it
    Example prompt: The feel of driving
    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.
  4. 12GARAGECODEX

    More cars in the world

    Once the Nissan worked, more cars followed. Instead of copying everything per car, there is one base and each car gets its own values.

    Place for a real Unreal captureNo original capture for this stage yet. We do not use generated images instead.
    Open the prompt and copy it
    Example prompt: More cars in the world
    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.
  5. 13BIKECLAUDE + CODEX

    Out of the car, onto the bike

    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.

    Place for a real Unreal captureNo original capture for this stage yet. We do not use generated images instead.
    Open the prompt and copy it
    Example prompt: Out of the car, onto the bike
    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.
  6. 14PLANECODEX → CLAUDE

    And a plane to take to the sky

    Then came a plane. Same switching idea, completely different controls: take-off, banking and landing.

    Place for a real Unreal captureNo original capture for this stage yet. We do not use generated images instead.
    Open the prompt and copy it
    Example prompt: And a plane to take to the sky
    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.
  7. 15SOUNDCLAUDE + CODEX

    Sound, all over again

    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.

    Place for a real Unreal captureNo original capture for this stage yet. We do not use generated images instead.
    Open the prompt and copy it
    Example prompt: Sound, all over again
    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.

Professional Unreal prompts

Teaching examples written for this guide. Rename things to match your project and keep one change per request.

CLAUDE

A plan before any code

CLAUDE: A plan before any code
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.
CODEX

One change, no surprises

CODEX: One change, no surprises
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.
CLAUDE

Review after the change

CLAUDE: Review after the 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.
CODEX

When something breaks

CODEX: When something breaks
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.

What next?

The game is just getting started.

Every time I add something, I test it and come back to refine it. Which car should be in the next build?

DEEP DIVE / CODEX + CLAUDE

Technical workshop: from a broad idea to a testable change

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.

Suggested development loop
  1. 01Files + saved version
  2. 02One change
  3. 03Run and test
  4. 04Compare and save

01 / Map the project before editing

  1. Ask Codex to inspect launch files and identify the actual framework, rendering engine if any, game entry point and run commands. Do not assume Unity, Three.js or any particular engine.
  2. Request a map of the real files handling input, vehicle movement, camera, audio and assets. This is a reading task, not a request to reorganize the entire codebase.
  3. Run the current version first. Record the baseline: does it launch, how do you control it, what works and which problem are you solving? Save a version before changing anything.

02 / Hand off cleanly between Codex and Claude

  1. Do not assume Claude can see your Codex conversation or computer files. Provide the required project files or repository through an available method, removing secrets, keys and private environment files first.
  2. Include a handoff: last working version, launch command, changed file names, current issue and what must stay unchanged. Ask the new tool to summarize its understanding before editing.
  3. Choose one change, such as wheel rotation. Avoid changing audio, camera and physics together so you can identify what caused an improvement or regression.

03 / Wheel movement and drifting

  1. Distinguish rotation around the wheel axle from steering angle. A simplified teaching model is angular speed = vehicle speed / wheel radius. Check units and reverse direction.
  2. Update movement using elapsed time between frames, not a fixed amount per frame. Try different frame rates to ensure performance does not change vehicle speed.
  3. Drifting is more than rotating the model. Compare velocity direction with car orientation, lateral grip and the gradual return of traction. Implementation depends on the actual physics engine.

04 / Cockpit and camera

  1. Define the camera anchor relative to the car body, then test turns, braking and bumps if present. Watch for clipping through the model or blocked road visibility.
  2. Adjust field of view gradually and compare the same route. A wider field of view can suggest speed but distort the cockpit. Do not confuse it with increasing actual vehicle speed.
  3. If you add gauges, connect them to real game values such as speed or engine RPM if calculated. Do not present random readings as a working simulation.

05 / Build audio in layers

  1. Separate the base engine, exhaust, turbo whistle and exhaust pops. Start each layer quietly and balance gradually to avoid combined levels causing distortion.
  2. Connect layers to driving state that actually exists. Use RPM and engine load if available; if the model uses speed or throttle instead, describe it as an audio approximation, not a full mechanical simulation.
  3. Test idle, gentle acceleration, hard acceleration, throttle release and braking. Smooth transitions between clips. Give pops specific trigger conditions and a repeat delay instead of a continuous loop.

06 / Car, motorcycle and aircraft

  1. Treat controls as explicit states: walking, car, motorcycle and plane. Only one state should own player input and the camera at a time.
  2. For a transition, disable old vehicle controls, check a safe entry or exit point, move the character, activate the new vehicle and switch the camera. This is a suggested architecture, not a verified account of the original code.
  3. Test exiting next to an obstacle, mounting immediately after dismounting, switching quickly and restarting the scene. Reset audio and camera along with the state.

07 / Tests that protect the working version

  1. Use a fixed checklist after each change: launch, acceleration and reverse, steering, drifting, camera, cockpit, audio, and vehicle entry and exit. Mark each passed, failed or not tested.
  2. Compare before and after on the same device, route and audio settings. Investigate stutter using frame time and active objects or audio sources through available project tools instead of guessing.
  3. If you use Git, save a clear checkpoint before the change and after testing. Otherwise keep a separate dated backup. Do not delete the good version before verifying the new one.

08 / Document the journey with evidence

  1. For each stage, save a real request screenshot with private details hidden, a code-change capture and the in-game result. Caption what it shows and the version date when available.
  2. A still image cannot prove drifting or audio quality. Use an uninterrupted movement clip and original game audio, with a before-and-after comparison when both versions exist.
  3. Original captures from a saved Safari version are included in the evidence section. Remaining placeholders identify captures needed for other stages; generated images and fabricated chat interfaces are not substitutes.
A copyable project handoff template
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

Start with a car.
Let your imagination take it further.

I tested and adjusted every detail. Which car would you like me to add after this Nissan?

Keep a copy of the guide