Skip to content

DonDejvo/Lancelot

Repository files navigation

Lancelot - HTML5 2D Game Library

Logo


Lancelot is javascript library for development of 2D games on web which uses canvas for rendering.

Are you interested in developing games with javascript and canvas? Lancelot offers you amazing structure for your games with lot of ready to use features which make your game shining including fully functional 2D physics engine. Still you have your freedom in using all features of javascript and canvas.

Cool features:

  • resource loader
  • SNES styled button layout
  • advanced camera
  • animated elements
  • 2D physics

New features comming soon!


Currently in development...

Getting Started

  1. Introduction
  2. Get Lancelot
  3. Hello World
  4. Next Steps

Introduction

In this tutorial we're going to cover setting-up a development environment with which you can build your Lancelot games.

Get Lancelot

Lancelot 0.15.4 is current version and was released on 9th January 2022.

Lancelot is on jsDelivr CDN. Include one of following before all other scripts in your html:

<script src="https://cdn.jsdelivr.net/gh/DonDejvo/Lancelot@0.15.4/dist/lancelot-cdn-nomodule.js"></script>

Github provides the option to download the whole repository as a zip or tar file. However we would strongly recommend you learn to use git instead. It will allow you to easily update to the latest versions of Phaser as they are released.