Skip to content

calgod/flower-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flower Runner

A third-person endless runner built with Three.js where a programmer runs through a surreal field of tall flowers on a rotating sphere. The peaceful, sun-drenched world gradually becomes corrupted with glitching geometry, dark particles, and digital artifacts.

How to Play

  • A / ← — Move left
  • D / → — Move right
  • Dodge the dark corruption blocks
  • Survive as long as you can

Tech Stack

  • Three.js — 3D rendering
  • Vite — Dev server and bundler
  • TypeScript — Language

Running Locally

npm install
npm run dev

Project Structure

src/
  main.ts         — Game loop, camera, collision, restart
  scene.ts        — Renderer, lights, fog, sky
  player.ts       — Character model and movement
  controls.ts     — Keyboard input
  world.ts        — Rotating sphere, flowers, obstacles
  corruption.ts   — Time-ramped corruption effects

Credits

Created with Claude Opus 4.6 (Anthropic) and GitHub Copilot.

About

3D endless runner game built with TypeScript and Three.js, playable in your web browser

Topics

Resources

Stars

Watchers

Forks

Contributors