Skip to content

Repository files navigation

Flight Over the Earth

Fly over photorealistic Earth – guess the region, find your way home, or just explore. Single player and multiplayer.

Play: https://flightoverearth.com

Flight over Paris

Flight over the fields

Screens

Start screen Plane and mode select
Start – single or multiplayer Pick a plane, mode, and map range
Flight over New York Crash
Fly anywhere Stay careful :)

Modes

  • Guess the region – one minute of flight, then mark on the map where you are (Poland / Europe / World).
  • Fly home – start ~30 km from the address you enter, 10 minutes to get back.
  • Free flight – pick a city and fly.

Controls

Key Action
W A S D Fly
Shift Boost
Ctrl Brake
T Talk (hold)
Esc Pause

Run it locally

Node.js 18+ and a free Cesium ion token.

git clone https://github.com/bartosz-ciesielski/flight-over-the-world.git
cd flight-over-the-world
npm install
cp .env.example .env
  1. Create an account at ion.cesium.com.
  2. Create a token (Access tokens).
  3. In My Assets add Google Photorealistic 3D Tiles (asset 2275207).
  4. Put one or more tokens in .env as VITE_CESIUM_ION_KEYS=token1,token2,token3.
  5. For production, set the same comma-separated list as the GitHub secret VITE_CESIUM_ION_KEYS.

Use a separate Cesium ion account per token. On HTTP 429 the game keeps high tile quality and switches to the next key, then retries the tiles that failed. One key still works; more keys keep the map sharp under load.

npm run dev

Open the address from the terminal (usually http://localhost:5173). In multiplayer one player clicks Multiplayer, the other opens the copied link.

Do not commit the key – .env is in .gitignore. Tiles do not load in the menu, only after you start a flight.

License

MIT – free to use, copy, and modify.

About

Fly over photorealistic Earth – guess the region, find your way home, or just explore.

Resources

Stars

17 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages