Skip to content

About

Simple JS gameloop, similar to love2D, easy to quistart

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

13 Commits

Folders and files

Repository files navigation

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

About

Simple JS gameloop, similar to love2D, easy to quistart

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages