A mysterious 3D town exploration game built with React Three Fiber, featuring physics-based movement and ethereal encounters.
- Immersive 3D Environment: Explore a town with realistic physics and lighting
- Smooth Controls: Intuitive WASD movement with camera-relative direction
- Ghost Encounters: Watch the ethereal spirit patrol the town
- Dynamic Camera: Follow camera with mouse-controlled rotation
- Real-time Minimap: Track your position with the top-right minimap
- Node.js (v18 or higher)
- npm (v9 or higher)
- Clone the repository:
git clone <repository-url>- Install dependencies:
npm install- Start the development server:
npm run dev- Use WASD keys to move your character
- Move your mouse to control the camera view
- Explore the town and watch for the floating ghost
- Use the minimap in the top-right corner for navigation
- React - UI Framework
- React Three Fiber - React renderer for Three.js
- Three.js - 3D Graphics Library
- @react-three/rapier - Physics Engine
- @react-three/drei - Useful helpers for React Three Fiber
- TypeScript - Type Safety
- Vite - Build Tool
This project is licensed under the MIT License - see the LICENSE file for details