Phase 3 of turning the game into the company landing page.
- Replace the Iran-map briefing with a brand start screen over the
orbiting 3D factory: logo, tagline and four ways in.
- Real world: safety notice, then GPS; if location is denied or
missing, a friendly dialog offers offline play instead.
- Offline: start at Park Mellat beside the family car with the route
to the factory, where the first purchase mission is.
- About Us: start in the factory yard. Products: start at the machine
samples with the showroom open.
- Contact, address with map links, FAQ, careers, gallery and social
links open in a sheet (bottom sheet on phones) from company config.
- Restart replays the chosen mode. Layout scrolls on short screens and
respects safe areas.
- Add tests for the start screen, map links and theme.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Phase 2 of turning the game into the company landing page.
- Delete the Apache motorcycle model, its BIKE handling spec, the
motorcycle row in the factory yard, rider and lean animation, and its
prompt and dialogue strings.
- The garage now holds cars only; the oriented-box collision, traffic
lane checks and other vehicles are unchanged.
- Rework the vehicle tests to cover gaps with a car instead of a bike,
and add a check that no motorcycle code or text remains.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Phase 1 of turning the game into the company landing page.
- Add src/config/company.js with name, tagline, contact, about and the
product line, plus a brand palette built around #00a693 (contrast
checked); placeholders are marked TODO(company).
- Add src/config/assets.js listing every loaded file with its expected
format; placeholders are marked TODO(asset).
- Move all Persian interface text, dialogue, missions and scenery text
into src/i18n/fa.js; components and game code read from it.
- Expose the palette as CSS variables (--color-primary and shades) and
Tailwind colours, and use it for 3D materials and map drawings.
- Fix the arrival line that still called the manager's car a white
pickup.
- Add tests that block hard-coded Persian text and low-contrast colours.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Park black BMW, Lamborghini, Mazda and Nissan style cars in the factory
yard; Mr Mohammadi now arrives in a Bugatti that becomes drivable once
parked; the delivery truck is black.
- Add six Apache style motorcycles with a rider, lean and their own
handling (BIKE spec, 130 km/h).
- Let the player take any traffic car; a garage module owns every
drivable vehicle and resets them.
- Replace the 3.4 m circle test between vehicles with oriented boxes
sized from each model, so contact only happens when bodies touch and
bikes can filter between cars; traffic only brakes for its own lane.
- Add tests for box collisions, bike handling, traffic lane checks and
taking traffic cars.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Turn the satellite ground off behind SATELLITE_GROUND so OSM streets,
parks and land use are drawn; the imagery index is no longer fetched.
- Restore phone rules lost in the CSS-to-JS theme migration (#rank
height, toolbar button size) and replace invalid -var() values.
- Add a landscape-phone layout and make the briefing scrollable.
- Add two-finger pinch zoom to the big map.
- Add regression tests for the theme and the skipped imagery request.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>