LittleJS πŸš‚ The Tiny JavaScript Game Engine That Can!

All aboard!

LittleJS is lightweight 2D JavaScript game engine with a WebGL rendering system. The goal of this project is to be small, simple, and easy to use for a variety of applications from size coding game jams to commercial releases.

This engine has everything necessary for most games including super fast rendering, physics, particles, sound effects, music, keyboard/mouse/gamepad input handling, update/render loop, and debug tools.

πŸš‚ LittleJS Engine on GitHub

Features

  • Very small footprint with no dependencies
  • Super fast tile sheet rendering system, ~50,000 sprites at 60fps
  • Object oriented system with base class engine object
  • 2D physics and collision handling for axis aligned boxes
  • Engine helper functions and classes like Vector2, Color, and Timer
  • Sound effects with zzfx and music with zzfxm, mp3s, or wavs
  • Input processing system with keyboard, mouse, gamepad, and touch support
  • Tile layer cached rendering and collision system for level data
  • Particle effects system (particle editor/designer in progress)
  • Several easy to understand example projects you can build on
  • Debug tools and debug rendering system
  • All example projects are compatible with mobile devices
  • Build system automatically combines everything, minifies, and removes unused code
  • For size coding competitions like js13kGames, starter project builds to a 6k zip
  • Open Source with the MIT license so it can be used to make commercial games

This entry was posted in Game Dev, JavaScript and tagged , , , . Bookmark the permalink.

5 Responses to LittleJS πŸš‚ The Tiny JavaScript Game Engine That Can!

  1. Pingback: Collective #681 - Chimpy

  2. Pingback: Collective #681 - Coduza - Blog

  3. Pingback: LittleJS: The Tiny JavaScript Game Engine That Can! - The web development company

  4. Pingback: Weekly Design Links – 10/12/21 - Words & Letters

  5. Pingback: Collective #681 - Tech & Web News Daily

Leave A Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.