THREE BasicThirdPersonGame

screenshot of THREE BasicThirdPersonGame

JavaScript starter kit for your next WebGL 3D game based on THREE.js + Cannon.js

Overview:

THREE.BasicThirdPersonGame is a free open source JavaScript micro-framework for WebGL games based on THREE.js and Cannon.js. It provides the starting point for a 3D game using a third-person camera system. This camera automatically follows the main player character or vehicle in the game, providing an "over the shoulder" view. The framework includes features such as player movement and jumping, a level reset mechanism, math helper methods, an adjustable camera viewport, and optimized processing of imported 3D models.

Features:

  • Input system: The framework includes an input system for handling player input.
  • Player movement/jumping: Players can control the movement and jumping of their character or vehicle.
  • Level reset mechanism: A mechanism is provided for resetting the level if the player fails or wants to start over.
  • Math helper methods: The framework includes helper methods for handling mathematical calculations in the game.
  • Adjustable camera viewport: The camera viewport can be adjusted to customize the player's view.
  • Cannon.js-optimized processing of imported 3D models: The framework optimizes the processing of imported 3D models using the Cannon.js physics engine.

Summary:

THREE.BasicThirdPersonGame is a free JavaScript micro-framework for creating WebGL 3D games with a third-person camera system. It includes various features such as player movement, level reset, and optimized processing of 3D models. The framework provides a starting point for developers to create their own 3D games using THREE.js and Cannon.js. Detailed documentation and examples are available on the official website.

grunt
Grunt

Grunt is a popular JavaScript task runner that automates repetitive tasks like minification, compilation, and testing, allowing developers to focus on writing code.