Skip to content

muzaffarmhd/threejs-game-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

ThreeJS-Game-Template

A Third Person Game ThreeJS + CannonJS based Game Controls template.

Project Structure

src/
    Handlers/
        InputHandler.js
        PhysicsHandler.js
        SceneManager.js
        StateHandler.js
    index.html
    Objects/
        Character.js
        Floor.js
        Ground.js
        MainCharacter.js
        StaticObject.js
    script.js
    styles.css
    View/
        BaseScene.js
        Camera.js
        Lights.js
        Sky.js

Installation and Running

Instructions on how to install and set up the project.

#clone the repository
cd src
npx serve