Skip to content

akshayeshenoi/js-physics-engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Box Jump

Box jump is a simple game that demonstrates the basics of game development, particularly the 2d physics engine.

Basic concepts

The game runs entirely in any browser that supports the <canvas> element and is written in Vanilla JavaScript.

The foundational concepts are:

  • Infinite Game Loop
  • Game state
  • Physics
  • Window paint

The game attempts to render a new state every time the browser paints the window. This is done using the window.requestAnimationFrame() API.

Every cycle loops through two stages: updating the state (using the physics), and painting the state.

About

Simple physics game engine implemented in JavaScript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages