Skip to content

Configuration

Project configuration is stored in hybconfig.toml at the root of your project.

[level]
name = "My Awesome Level"
descriptions = ["A level made with Hybroid Live"]
information = "Use the arrow keys to move"
entry_point = "level.hyb"
casual = false
medal_requirements = { "gold" = 100, "silver" = 200, "bronze" = 500 }
[project]
name = "my-awesome-level"
output_directory = "out"
FieldTypeRequiredDescription
namestringYesDisplay name. Supports color codes (see below).
descriptionsstring[]NoDescription lines shown in the level browser.
informationstringNoInstructions or info text.
entry_pointstringYesEntry .hyb file (usually level.hyb).
casualboolYesWhen true, the level has no score leaderboard.
medal_requirementsmapNoScore thresholds for gold, silver, and bronze medals.
FieldTypeRequiredDescription
namestringYesKebab-case package name.
output_directorystringYesWhere compiled .lua files are placed.

Level names support inline color codes using #{RRGGBBAA} or #RGB notation:

name = "#{f00f}Red#{0f0f}Green#{00ff}Blue text"

Short #RGB codes (4 hex chars including alpha) must use the braced #{...} form. Full #RRGGBBAA codes (8 hex chars) can be used with or without braces.