Skip to content

Arcade › Carrera Caos

Carrera Caos

  • 3d
  • driving
  • endless
  • arcade
  • traffic
  • 避障
0
Remix it Discord

0 plays

How to play

Click the game above and it runs right here in your browser. No download, no installer, no account needed. Jose Hernández built it with Cinevva, so it works on a phone or a tablet too.

Discussion

Nobody has said anything about Carrera Caos yet. Play it, then tell Jose Hernández what you would add next.

Make your own game

Carrera Caos was built by Jose Hernández with the Cinevva game creator: describe the game you want in chat, watch it get built, and play it in your browser minutes later.

Remix Carrera Caos opens the real game in the creator and forks its actual files, chat and design doc, so you start from the code rather than from a description.

Read the build brief for Carrera Caos

Cinevva's analyzer read this game's design doc and its source, then wrote the brief below. "Make your own" hands it to the game creator as your opening message, so you start from a real spec rather than a one-line idea.

Create a browser-based 3D endless highway driving game titled “Carrera Caos,” using Three.js or an equivalent 3D engine. The camera is a third-person chase camera positioned high behind and above the player car, looking forward down the road. The player drives a sedan on a long dark-gray road extending along the Z axis, with a road width of about 20 units. Keep the player constrained to the road between x=-9 and x=9. Build the road with yellow dashed center markings moving backward to reinforce the sensation of speed, thin gray lane-divider lines at x=-7 and x=7, and solid gray side barriers on both sides. Add simple tall rectangular gray city buildings with varied heights and widths along both sides of the highway. Use ambient, hemisphere, and directional lighting with shadows for a stylized low-poly city-driving appearance.

Load or provide a sedan model for the player and four visually distinct traffic-car types: hatchback, police car, taxi, and station wagon. Scale the cars consistently, orient them along the road, and place the player initially near z=-30 in the center-left lane. Populate the road with 22 AI cars distributed among four lanes at x=-7.5, -2.5, 2.5, and 7.5. Traffic cars should be distributed ahead of the player at startup, with random speeds from roughly 6 to 10 world units per second; most travel in the same forward direction while some travel in the opposite direction, creating chaotic oncoming traffic. Continuously recycle traffic cars when they pass far behind or too far ahead, respawning them at randomized lanes and distances so the road remains populated.

The player has inertia-based controls. Arrow keys or WASD steer, accelerate, and brake: left/A and right/D apply horizontal steering velocity, Up/W accelerates up to about 18 units per second, and Down/S slows down but never below about 3 units per second. Without acceleration input, gradually reduce speed toward the minimum. Apply horizontal friction so the car settles after steering, clamp the car to the road bounds, and maintain a third-person camera that smoothly follows the car from approximately (0,12,-22) relative to it and looks toward a point ahead. Also support mobile touch dragging horizontally on the canvas to steer the car.

Detect collisions between the player and traffic cars using a simple rectangular proximity test: collision occurs when cars are within about 2.2 units horizontally and 5 units longitudinally. On collision, stop gameplay, show a centered “CRASH!” overlay with “Presiona R para reiniciar,” and give the player a small backward bounce. Press R or Space to reset the player, distance, traffic, and game-over state; a touch on the canvas while game over should also restart.

Add a fixed Spanish HUD in the upper-left in white Arial text with a subtle black shadow: “Distancia: [value] m” and “Velocidad: [value] km/h.” Distance starts at 0 and increases based on forward world position (the code’s score is the maximum of player Z plus 30), displayed as an integer. Speed displays the absolute player speed multiplied by 4 as an integer. At the bottom center, show the instruction “Flechas o WASD para mover • Evita los otros coches” in small gray text. Use a nearly black page background, hide overflow, and keep the game canvas full-screen and responsive to window resizing. Do not add weapons, powerups, laps, opponents with special behavior, menus, or extra HUD elements; the core goal is simply to drive as far as possible while avoiding traffic and barriers.”,

More free browser games

Browse the whole Arcade →