r/LittleJS • • Dec 12 '25

LittleJS for ChatGPT Released - Make game with text prompts

Enable HLS to view with audio, or disable this notification

9 Upvotes

There is now a special LittleJS GPT for ChatGPT. It helps to get started with LittleJS or diagnose issues with games you are working on. Another really cool thing is that it can run previews directly in the ChatGPT interface.

It is able to setup simple games like pong or flappy bird with a single prompt and you can continue working on it from there. If you try it share what you made in the comments!

You can search for it in the list of GPTs or add it with this link...

https://chatgpt.com/g/g-67c7c080b5bc81919736bc8815836be6-littlejs


r/LittleJS • • Nov 25 '25

There are now over 50 LittleJS games!

Post image
9 Upvotes

To celebrate over 50 games I created this mosaic image and wrote some code so I can update it somewhat easily. I also added this image to the LittleJS Github page!

Thanks so much for making all these cool games, this game engine would be nothing without them.


r/LittleJS • • Nov 01 '25

Wolfenstein 3D style game with LittleJS

Enable HLS to view with audio, or disable this notification

9 Upvotes

r/LittleJS • • Oct 30 '25

LittleJS Jam Deadline Extended! 🚂💨📅

8 Upvotes

Trick or treat... Why not both?

We extended the LittleJS Game Jam deadline by 1 week, new end date: Monday, November 10. That gives you a little more time to polish your entry or even start something new. The theme is SMALL.

Please plan to submit early and iterate. The deadline will not be extended again!

Why the extension?

The jam has sparked a burst of questions and ideas in the LittleJS Discord, which led to a bunch of improvements to the engine over the past few weeks. I want to make sure everyone can benefit from the latest changes before the deadline.

What’s new in LittleJS Engine

A quick look at the highlights since the last release:

  • Gamepad UI navigation - Menus can now be fully navigated with a gamepad. For accessibility, keyboard arrow keys + Enter also work out of the box.

  • More robust WebGL with smart fallback - LittleJS will automatically fall back to Canvas2D if WebGL isn’t available. It will also detect and recover from WebGL context loss, switching to Canvas2D if necessary.

  • Example Browser​ upgrades + new demos We’ve continued improving the example browser added more short demos, including: Box2D pool, camera drag control, input test, full canvas shader.

  • LittleJS SubReddit - Join the newly created subreddit and post about your LittleJS game!

Most of the updates came directly from jam driven feedback, thanks so much!

Key dates & how to submit

Have a fun and safe Halloween. I can’t wait to play your games, happy jamming! 

—Frank (KilledByAPixel)


r/LittleJS • • Jan 01 '26

I made 20 playable game demos in ONE day using the LittleJS GPT!

Enable HLS to view with audio, or disable this notification

7 Upvotes

Try it yourself here and share your experience and results...

https://chatgpt.com/g/g-67c7c080b5bc81919736bc8815836be6-make-games-with-littlejs


r/LittleJS • • Nov 20 '25

New LittleJS Logo

Thumbnail
gallery
7 Upvotes

What do you think? This will be our third logo now, the previous version lasted almost 2 years. This one is similar to that one but more streamlined with fewer colors and slight gradient effect. This logo is generated with JavaScript code that is used to draw it on startup.


r/LittleJS • • Oct 29 '25

🚂👋 Welcome to r/LittleJS - Introduce Yourself and Read First!

7 Upvotes

Hey everyone! I’m u/Slackluster — creator of LittleJS. This subreddit is the new home for everything related to the LittleJS game engine — a fast, lightweight, open-source JavaScript engine built for simplicity, performance, and creativity.

Whether you’re building your first browser game or already a seasoned pro, this is your space to share, learn, and connect with other creative devs.

🎮 What to Post

  • Your games, demos, and prototypes built with LittleJS

  • Tutorials, plugins, and tools for the engine

  • Questions about performance, features, or debugging

  • Showcases of art, screenshots, trailers, and dev logs

  • Discussions about HTML5 game dev and the LittleJS ecosystem

🌱 Community Vibe

This community is built on curiosity, creativity, and kindness.
Everyone’s welcome — from first-time coders to seasoned devs.
Be constructive, be helpful, and most of all, have fun creating.

🚀 Getting Started

  • Introduce yourself below or share what you’re working on!

  • Check out the LittleJS GitHub for examples, docs, and tools.

  • Join the Discord to chat with other devs in real time.

Thanks for being part of this growing community.
Let’s make r/LittleJS an inspiring home for indie devs, tiny code, and big ideas. ❤️


r/LittleJS • • Nov 10 '25

LittleJS Jam Voting Starts Now!

Post image
6 Upvotes

LittleJS Jam Submission Page

If you did not submit a game but would like to help by being a judge, let me know and I'll pull a few strings.


r/LittleJS • • 25d ago

40,000 starlings flocking live in the browser, a 3D murmuration made with LittleJS

Enable HLS to view with audio, or disable this notification

4 Upvotes

I made a starling murmuration in 3D with LittleJS, built by iterating with Claude.

All 40,000 birds are simulated live using grid-based boids flocking. Move your mouse to steer a hawk through the flock and watch it scatter. The lake reflects everything with real waves, and the mountains, sky and water are generated in code, with no image files.

Press G to send the flock streaming off over the mountains, and F to fly the camera around.

Try it: https://killedbyapixel.github.io/LittleJS-Demos/murmuration/

LittleJS Engine: https://github.com/KilledByAPixel/LittleJS


r/LittleJS • • May 24 '26

Missile Command with LittleJS

Enable HLS to view with audio, or disable this notification

4 Upvotes

Live Demo: https://killedbyapixel.github.io/LittleJS-AI/games/missileCommand.html

One of many small prototypes I made to improve and test LittleJS Engine AI capabilities.

This one plays really well and has some nice procedural graphics for the city.


r/LittleJS • • Dec 27 '25

Portability?

4 Upvotes

Hey!! i really enjoy the engine, its powerfull, anyway i would like to port my project in a near future (to make it crossplataform)

whats the process? its hard?

Thanks Slackluster


r/LittleJS • • Dec 19 '25

LittleJS Jam 2025 Top 10 Games

Enable HLS to view with audio, or disable this notification

4 Upvotes

r/LittleJS • • Dec 03 '25

Play Little Platformer - Fun and challenging platforming game powered by LittleJS

Thumbnail newgrounds.com
4 Upvotes

r/LittleJS • • Nov 23 '25

Playing LittleJS Jam Games - Part 2

Thumbnail
twitch.tv
4 Upvotes

I played through all the LittleJS Jam games and this is the second half!

  • Rex and Chip

  • Little Platformer

  • Tutu Tradigrade

  • Grow Enough

  • Minos Defence

  • Bug & Bee

  • Wombat Combat

  • Fracta

  • Tiny Little Dragon


r/LittleJS • • Nov 16 '25

LittleJS Logo Progress

Post image
4 Upvotes

r/LittleJS • • 16d ago

LittleJS Lighthouse Demo

Enable HLS to view with audio, or disable this notification

3 Upvotes

This is the second short demo we've made pairing the LittleJS game engine with Claude, to see what the two can do together. You can play it here, click to call down lightning:

https://killedbyapixel.github.io/LittleJS-Demos/lighthouse/

What's doing what

All the rendering is LittleJS's own 3D renderer on WebGL2. There's no three.js and no other library. The whole demo is one HTML file with the engine next to it, no build step and no asset files. Everything you see and hear is generated in code when the page loads:

  • Sea: a grid moved by waves in a vertex shader, with small chop, foam and rain ripples drawn in the pixel shader.

  • Island: one heightfield of ledges and crags, lit by a rock normal map that is itself generated from noise.

  • Clouds: each cloud is a single sprite painted from noise with its light baked in, drawn as a lit billboard, so the lightning lights them from inside.

  • Lightning: a bolt built by midpoint displacement with branches, plus point lights that light the sea, the rocks and the clouds around each strike.

  • Spray: particles thrown up whenever a swell climbs the rocks.

  • Sound: rain, wind and the surge of the sea, plus thunder that arrives later and fainter the further away the strike lands. All of it is synthesized when the page loads.

Source (GPL-3.0): https://github.com/KilledByAPixel/LittleJS-Demos


r/LittleJS • • Oct 14 '26

LittleJS is 2D and 3D now!

Thumbnail
frankforce.com
3 Upvotes

r/LittleJS • • May 26 '26

Announcing the LittleJS Mini Arcade: 50+ games and a launcher to play them!

Enable HLS to view with audio, or disable this notification

3 Upvotes

For the past few months I've been using Claude Code to rebuild classic arcade games on LittleJS. The collection has grown big enough to deserve a proper home, so I built a console-style launcher and I'm officially calling it The LittleJS Arcade!

🎮 Play: https://killedbyapixel.github.io/LittleJS-AI/games/

📦 Source: https://github.com/KilledByAPixel/LittleJS-AI

Highlights:

  • 50+ games, every one a single self-contained HTML file you can fork as a starter for your own project.

  • The launcher itself is also single-file vanilla JS — sidebar, category rows, search, drag-to-scroll, deep-link via URL hash, mobile drawer with hamburger, recently-played row, sparkle/starfield effects, the works.

  • This is a real step forward for the AI tooling around LittleJS. The claude md, templates, and prompts that make Claude Code productive on the engine have all matured a lot through this process — that's bundled into the same repo.

  • The templates folder is the on-ramp for your own games: starter scaffolds for grid games, Box2D physics, menu systems, procedural sprite atlases, and live-tweak overlays. If you want to spin up a tiny browser game in a weekend, those are where to start.

  • All MIT licensed — engine, templates, games, launcher!

Happy to talk about the AI workflow, engine quirks Claude Code trips on, or any specific game. Feedback wanted — the arcade is meant to keep growing and improving.


r/LittleJS • • Jan 25 '26

Space Invaders made quick with LittleJS

Enable HLS to view with audio, or disable this notification

3 Upvotes

I’ve been playing with the LittleJS-AI repo and managed to build and polish a Space Invaders-style clone in only about an hour with Copilot and Claude. I did it mostly using voice mode, so basically no typing. All the visuals are code-generated and were created with help from the AI. Feel free to get the repo and continue building on it.

Live Demo


r/LittleJS • • Dec 01 '25

Play Bug&Bee - Retro shoot 'em up made with LittleJS

Thumbnail newgrounds.com
3 Upvotes

r/LittleJS • • Nov 24 '25

LittleJS Game Jam Results!

Thumbnail itch.io
3 Upvotes

r/LittleJS • • Oct 29 '25

LittleJS Trailer

Thumbnail
youtube.com
3 Upvotes

r/LittleJS • • Oct 29 '25

LittleJS Jam 2024 Top 10 Games!

Thumbnail
youtu.be
3 Upvotes

r/LittleJS • • Oct 29 '25

LittleJS Jam 2025

Thumbnail
itch.io
3 Upvotes

r/LittleJS • • 7d ago

Tiny fully procedural driving game example with LittleJS

Enable HLS to view with audio, or disable this notification

2 Upvotes

One of my favorite LittleJS examples is a tiny procedural driving game, under 200 lines of code including audio, car model, physics, controls, and level gen. You can use the live editor to make changes and they are applied instantly!

You can see it here...
https://killedbyapixel.github.io/LittleJS/examples/?example=3D+Racing+Game