← back to Atmos Game
README.md
36 lines
# ATMOS · Skyfire
An original **Three.js** homage to [atmos.leeroy.ca](https://atmos.leeroy.ca) (Leeroy's Playground) —
turned from a scroll-driven cloud "journey" into a playable arcade flyer.
## What's different from the original
The original ATMOS is a scroll-controlled cinematic experience (Three.js + GSAP ScrollTrigger).
This clone keeps the aesthetic — gradient sky dome, fog-depth haze, drifting billboard clouds,
a banking low-poly plane — but replaces the scroll timeline with a **real-time game loop** and
adds the two requested mechanics:
- 🚀 **Fire missiles** — twin barrels, `SPACE` (or click / touch)
- 🐦 **Birds to avoid** — they close on you fast; a hit costs hull integrity, shoot them for points
No proprietary code or art from the original is used — it's a from-scratch build in the same spirit.
## Controls
| Input | Action |
|-------|--------|
| `◀ ▶` / `A D` / mouse | steer left–right |
| `▲ ▼` / `W S` | climb / dive |
| `SPACE` / click / touch | fire missiles |
## Run it
Any static file server works (it uses a Three.js CDN import-map, no build step):
```sh
cd ~/Projects/atmos-game
python3 -m http.server 8080
# open http://localhost:8080
```
## Tuning
All feel knobs live in the `CFG` object at the top of the `<script>` in `index.html`
— `baseSpeed` (journey pace), `fireCooldown`, `birdMax`, `birdDamage`, spawn timing, etc.