Pixelbox

Create 2D games in JavaScript

Pixelbox.js is a combination of an editor and a simple JavaScript library to create game without the cumbersome aspects of HTML5 development.The editor let you create graphics, levels, musics, sounds and test your game in one click. The JavaScript library takes care of preloading images and data, and abstract drawing and controls in few very simple functions.

Pixelbox.js is ideal for fast-prototyping, game jams and just having fun

Initialize a new project in 2 clicks

Pixelbox automatically create all the required files for you. No need for additional boilerplate code, you can draw sprites on the screen and start your game right away. The editor keeps all your projects in one place to easily switch between them.

Test your game in 1 click

Pixelbox is taking care of starting a local server, building your code and preloading the game assets in a nice asset map. You can test the game directly in the editor or in your web-browser.

Simple JavaScript API

A minimalist and easy to understand JavaScript API. You can see the source and documentation on GitHub.

Create levels with the integrated tile editor

Write your own tilebrush scripts as you needs. What about an auto-tiler brush or a randomizer brush? You can write those in JavaScript and Pixelbox will automatically load them in the editor.

Create music and sounds

Pixelbox comes with 2 editors for creating music and sound effects:

PataTracker is a 8-channels music tracker with NES-like, sampler and FM synthesizers.

Bleeper is a easy-to-use sound effect creation tool in which you draw the sound from simple waveforms.

Both editors exports to JSON (readable by Pixelbox.js library) or MP3.

Generate Itch-ready build in 1 click

Deploy your game to Itch is made super easy. This also works for other platforms that accept the same format of build (e.g. GameJolt, Facebook Instant, etc.)

...And more!

Pixelbox.js is a tool I started back in 2016 to help me create HTML5 games. I make all my projects with it, and you can have a look to some of them on my itch.io page:

Pixelbox.js is in constant development. More features will be added in the future: see the roadmap. Please let me know in the community forums bellow if you have ideas, requests or if you find any bugs.