Skip to content
Download

Overview

Brasa is a 2D game engine for Windows and Linux, with a visual editor. Rooms are built in the editor, the behavior of each object is written in Lua or C++, and the game is exported as an executable.

Name What it is
Object A kind of thing in the game (Player, Enemy): sprite, properties and code.
Instance A copy of an object placed in a room.
Room A level or screen, built in layers: instances, tiles, sprites and background.
Sprite A PNG image sliced into frames, with origin and collision box.
Event A function of the object called by the engine: onSpawn, onUpdate, onRender.
Step One update of the game. There are 60 per second.
Interface HUD and menus built in the editor and driven by code.

A project is a folder with a project.brasa and text files, organized however you like. The type of each file comes from its extension: .room.json, .obj.json, .sprite.json, .tileset.json, .ui.json, plus the scripts, images and sounds. It works with Git.

  • Windows 10 or 11, 64-bit, or 64-bit Linux with glibc 2.35 or newer. On Linux, only Lua projects run in the editor for now.
  • C++ projects: Visual Studio Build Tools, which the installer offers. Lua projects need nothing else.