# LittleJS **Repository Path**: gap1994/LittleJS ## Basic Information - **Project Name**: LittleJS - **Description**: No description available - **Primary Language**: JavaScript - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-11-04 - **Last Updated**: 2021-11-04 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # ![LittleJS Logo](favicon.png) LittleJS - The Tiny JavaScript Game Engine That Can ## All aboard! LittleJS is a super lightweight 2D JavaScript game engine with fast WebGL rendering. It is designed to be small, simple, and easy to use for various applications, from game jams to commercial releases. This engine has everything necessary to make high-quality games, including fast rendering, physics, particles, sound effects, music, keyboard/mouse/gamepad input handling, update/render loop, and debug tools. 🚂 ## [LittleJS Documentation](https://killedbyapixel.github.io/LittleJS/docs) - [LittleJS Trailer](https://youtu.be/chuBzGjv7Ms) - [LittleJS Trello Roadmap](https://trello.com/b/E9zf1Xak/littlejs) ![LittleJS Screenshot](examples/screenshot.jpg) ## Example Projects ### [Hello World](https://killedbyapixel.github.io/LittleJS/) - Clean project with only a few things to get you started ### [Puzzle Game](https://killedbyapixel.github.io/LittleJS/examples/puzzle) - Match 3 puzzle game with HD rendering and high score tracking ### [Platformer](https://killedbyapixel.github.io/LittleJS/examples/platformer) - Platformer/shooter with procedural generation and destruction ### [Breakout](https://killedbyapixel.github.io/LittleJS/examples/breakout) - Breakout game with mouse/touch or gamepad control ### [Stress Test](https://killedbyapixel.github.io/LittleJS/examples/stress) - Max sprite/object test and music system demo ## Features - Very small footprint with no dependencies - Can render 10,000+ objects at 60fps, often several times more - Object oriented system with base class engine object - 2D physics and collision handling for axis aligned boxes - Positional audio effects with [zzfx](https://killedbyapixel.github.io/ZzFX/) and music with [zzfxm](https://keithclark.github.io/ZzFXM/), mp3s, or wavs - Input processing system with keyboard, mouse, gamepad, and touch support - Engine helper functions and classes like Vector2, Color, and Timer - Tile layer cached rendering and collision system for level data - Particle effects system (particle editor/designer in progress) - Medal system tracks and displays achievements with Newgrounds and OS13k integration - Several easy to understand example projects you can build on - Debug tools and debug rendering system - Example projects are compatible with mobile devices - [Full documentation](https://killedbyapixel.github.io/LittleJS/docs) automatically generated from the source code block tags with [JSDoc](https://github.com/jsdoc/jsdoc) - Build system automatically combines everything, minifies, and removes unused code - For size coding competitions like [js13kGames](https://js13kgames.com/), starter project builds to a 7KB zip - Easily build a Windows executable with [electron](https://www.electronjs.org/) for distribution on platforms like Steam - Open Source with the [MIT license](https://github.com/KilledByAPixel/LittleJS/blob/main/LICENSE) so it can be used to make commercial games ## Games Made With LittleJS - [Space Huggers](https://github.com/KilledByAPixel/SpaceHuggers) - A more developed version of the platformer example - Send me your games! ![LittleJS Logo](favicon.png)