Beep8 logo

Free JavaScript Game Engine

Beep8 is an open-source JavaScript game engine for making retro games in the browser. Inspired by the 8-bit era, it’s built to be simple, lightweight, and fun to use. Beep8 includes tools for tiles, text, sprites, and animation, so you can build games with minimal code.

It works well for both beginners and experienced developers. Beep8 is free under the MIT licence, and the source code is on GitHub.

Beep8 splash screen

Engine Features

Graphics and Fonts

Get started fast with built-in pixel-art graphics for characters (with animations), tilemaps, and menus. Beep8 also includes retro-style text mode fonts that bring an instant old-school look to your games.

Built-in Sound Effects

Access a library of over 100 retro sound effects, all powered by zzfx website and generated live in the browser. You can use them straight away, customise existing ones, or design brand new sounds for your game.

Built-in Game State

Save progress and settings with a single game state system that automatically saves games to localStorage. Player data is stored safely in the browser, so games can be closed and continued without extra setup.

Built-in Music

Create authentic chiptune tracks directly in the browser with no need for external files. Beep8 includes a simple music generator tool that can produce new music automatically, or you can write your own using a lightweight format.

Tilemaps

Design 2D levels quickly with the built-in tilemap system. Define layouts using JSON or even text formats, or take advantage of the map editor. Beep8 automatically handles the loading and drawing of your maps.

Game Utilities

Beep8 includes common features developers need, such as inventory systems, menus, level passcodes, repeatable random numbers, an ECS framework, particles, and more. These tools let you focus on gameplay instead of boilerplate.

Input Handling

Keyboard and touch controls are mapped to the same system, so you only write your input code once. Whether your game is played with a keyboard, touchscreen, or both, everything works seamlessly.

Mobile Controls

Games run smoothly on phones and tablets thanks to touch-based console controls. They appear automatically when the game is loaded on a mobile device, so you don’t need to configure anything.

Browser First

Beep8 games run in any modern web browser without plugins or downloads. Share your project with a link and play instantly on desktop, mobile, or tablet.

Frequently Asked Questions

Is Beep8 a fantasy console?

No. Beep8 is a JavaScript library. You can use it anywhere in a project, and you’re not locked into an editor.

Can I run Beep8 games on mobile?

Yes. Beep8 runs in any modern browser and automatically shows touch controls on phones and tablets.

Do I need to install anything?

No. Just include the script tag on a web page and you’re ready to go.

Can I make my own graphics and sounds?

Yes. Beep8 comes with built-in assets, but you can replace them with your own tiles, fonts, music, and sound effects.

Is Beep8 free to use?

Yes. Beep8 is open source and released under the MIT licence.

What kinds of games can I make?

Anything. Beep8 specialises in textmode or tile-based, but has the ability to make anything you like. Puzzles, RPGs, platformers, and more.