Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 1.07 KB

README.md

File metadata and controls

34 lines (24 loc) · 1.07 KB

This is an easy'n'ready to use 2D canvas boilerplate, great for begginer or to make quick prototyping.

  • Scalable
  • No dependancies
  • Begginer friendly
  • Use Classes and ES6 modules
  • State machine for inputs handling
  • Classic load/update/draw loop
  • Easy to implement on any frontend framework

How to use

  1. Clone it :
git clone https://github.com/Bilboramix/empty_js_gameloop.git
  1. Start : open webserver with a live server extension and use ZQSD/WASD to move the player.

  2. Code : Create classes objects, with their own update and draw function (Follow the player model), and push a new one into entities array.

Cool canvas and js tutorials here

Cool dependancies to play with