kgish / littlejs-demo

A simple demo for the LittleJS game engine using TypeScript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LittleJS Demo (TypeScript)

A simple demo of the LittleJS game engine using TypeScript.

Introduction

The LittleJS game engine is written by Frank Force, and it is a super lightweight 2D JavaScript game engine with fast WebGL rendering.

I have been playing around with it and am so impressed that I decided to tweak it a bit. Here is a slightly modified version of the LittleJS Starter Project emboldened by TypeScript, Parcel abd other goodies.

Hope you like it.

Installation

git clone https://github.com/kgish/littlejs-demo.git
cd littlejs-demo
yarn

Run

yarn dev

Point your favorite browser to http://localhost:1234 and enjoy!

Build

yarn build

Lint

yarn lint

Test

yarn test

References

About

A simple demo for the LittleJS game engine using TypeScript


Languages

Language:JavaScript 97.4%Language:TypeScript 2.4%Language:HTML 0.2%Language:SCSS 0.1%