10 votes

Announcing LittleJS - The tiny JavaScript game engine that can

1 comment

  1. KilledByAPixel
    Link
    Hello everyone, I hope you are all doing well. I have been hard at work on many things, but mostly by new open source game engine: LittleJS. This engine is super light weight with no dependencies...

    Hello everyone, I hope you are all doing well. I have been hard at work on many things, but mostly by new open source game engine: LittleJS. This engine is super light weight with no dependencies and very feature rich. The code is also incredibly clean and easy to read.

    If you are interested in checking it out, here are some links to get you started...

    LittleJS GitHub - Code, demos, and documentation

    LittleJS Trailer - See what it can do

    Space Huggers - A polished game made with LittleJS

    Features

    • Very small footprint with no dependencies
    • Can render 10,000+ objects at 60fps, often many times more
    • Object oriented system with base class engine object
    • Fast 2D physics and collision handling for axis aligned boxes
    • Positional audio effects with zzfx and music with 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
    • All example projects are compatible with mobile devices
    • Debug tools and debug rendering system
    • Full documentation automatically generated from the source code block tags with JSDoc
    • Build system automatically combines everything, minifies, and removes unused code
    • For size coding competitions like js13kGames, starter project builds to a 7KB zip
    • Easily build a Windows executable with electron for distribution on platforms like Steam

    Thank you for reading, take care of yourselves, and have a nice day.

    4 votes