An example of basic character and camera movement in Three.js.
| Action | Buttons |
|---|---|
| Walk | Arrows |
| Run | Arrows + Ctrl |
| Look Around | Space |
| Show Help | I |
First, you need to download and install Node.js. Then, clone or download the project, and while inside its main folder run the following commands:
# Install dependencies (only the first time)
npm install
# Run the local server at localhost:8080
npm run dev
# Build for production in the dist/ directory
npm run build- Implement running (listening to multiple keys pressed events)
- Add instructions modal
- Smoother animations
- Add more objects
