michaelkolesidis / character-movement-theejs

An example of basic character and camera movement in Three.js.

Home Page:https://character-movement.netlify.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Character Movement in Three.js

screenshot

Netlify Status

An example of basic character and camera movement in Three.js.

How to Play

Action Buttons
Walk Arrows
Run Arrows + Ctrl
Look Around Space
Show Help I

Setup

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

Plans

  • Implement running (listening to multiple keys pressed events)
  • Add instructions modal
  • Smoother animations
  • Add more objects

License

MIT License

About

An example of basic character and camera movement in Three.js.

https://character-movement.netlify.app/

License:MIT License


Languages

Language:JavaScript 86.9%Language:CSS 9.8%Language:HTML 3.3%