Skip to content
Docs

Glossary

The platform's terms, each in a sentence or two, with a link to the page that explains it.

DescribesFormat 1, API 1 For everyone

On this page

The pieces of the platform#

TermWhat it isWhere it is explained
PortalThe site https://play.green.games/en, where you play in the browser with nothing to install.Play on the web
Green GamesWhere you play: the portal and the launcher carry that name. It is also the name of the studio.What the platform is
Green Games StudioThe editor: the desktop program for making games. In this documentation, "the editor".Editor tour
LauncherGreen Games on the desktop: the program for installing games and playing them on your computer, offline too.Library
EditorGreen Games Studio. The desktop program for making games: scene, rules, code, testing and export.Editor tour
LibraryThe launcher screen with your installed games and the available ones.Library
Data folderThe folder on your computer where the launcher stores installed games, progress and history.Settings
Preview releaseThe current state of the platform: it works and it is missing pieces.What the platform is

Inside a game#

TermWhat it isWhere it is explained
GameA package of data and scripts. It is not a web page and it is not a program.The game package
.ggx packageThe single file that holds a complete game: manifest, scenes, script, resources and bot script, compressed.The .ggx format
ManifestThe juego.json file: the game's card data, with name, author, players, controls, difficulties, score tables and text.Manifest
Game cardWhat someone sees when they open a game before playing: name, description, cover and controls. It comes from the manifest.Game card and export
CoverThe game's image in the catalog, in a 16:9 ratio.Manifest
SceneA world of the game, described as data: pieces, spawn points, zones, lights, environment, the view it is played with and, if it uses them, tile maps. A game has one or more.Scenes
PieceAn object in the scene with a shape, position, size and material: a box, a ramp, a wedge, a sphere, a cylinder, a sprite or a model.The scene
ViewThe camera and the way of moving a scene is played with: third person, first person, side-on (2D platformer), flat and top-down (from above) or isometric. A zone can change it while the player is inside.Views
Game typeThe view a project in the editor starts with: third person, first person, isometric, top-down view, 2D platformer, hybrid or open world.Game types
SpriteA pixel drawing stored as data, with no image file (lamina in the format). It is used as a flat piece, as a tile or as a character.Sprites
Tile mapA level written as a grid of text, where each character is a tile. It is used for 2D levels and for floors and walls seen from above.Tile maps
TileA cell of a map: a color or a sprite, and a way of colliding (solid, floor, platform, danger, ladder or none).Tile maps
ModelA 3D object in a .glb file, with its mesh, its materials and, if it has them, skeleton and clips. It is made in the workshop or brought in with the importer, and placed in the scene as a piece with shape modelo.Models in the scene
ClipA named animation of a model, such as caminar. It only changes how the model looks: it does not move it.Asset workshop
TextureA PNG, JPEG or WebP image from the texturas/ folder, which covers a piece from its material or shows as a flat image.Models in the scene
Recorded soundA .wav or .mp3 file from the sonidos/ folder. The game's other sounds are synthesized.Models, textures and sounds
CreditThe author, license and origin of a model, a texture or a sound, in creditos.json. It travels inside the .ggx.Import assets
Asset workshopThe part of the editor where sprites and textures are drawn, cube models are built with their animations and tile maps are painted.Asset workshop
ImporterThe part of the editor that converts models, textures and sounds from other tools to the game format.Import assets
Open worldA kind of game that is not built piece by piece: the engine generates a world of cubes from a seed and a biome table, and you break and place blocks.Open world
Cube terrainThe generated world of an open-world game, made of 1 x 1 x 1 blocks. It goes in the scene's terreno property.Open world
BiomeA row of the terrain's table: in which climate it appears, how high it is, what it is made of and what grows.Open world
MaterialHow a piece looks: a palette color, a finish (matte, glossy, neon, glass) and a pattern (plain, checks, stripes, grid).Scenes
Palette (of colors)The list of named colors that pieces can use. A scene can add its own.Scenes
PrefabA ready-made set of pieces that the editor places in one go (coin, goal, door with button), sometimes with the rule that makes it work.The scene
ZoneAn invisible volume that reports when someone enters or leaves. It is used for goals, buttons and checkpoints.Scenes
Spawn pointA point in the scene where players appear. The first one is the start; the rest serve as checkpoints.Scenes
CheckpointThe spawn point a player returns to when they respawn.Rules
TagA word you put on pieces or zones to treat them together: "everything with the tag moneda".Scenes
GroupSeveral pieces that are selected and moved together. It is stored in the grupo property of each piece, the same one the script handles with mundo.grupo.The scene
EnvironmentA scene's general settings: sky, ambient light, fog, gravity and fall height.Scenes
ResourceA file packaged with the game. Today it is only used for the cover.The game package
AvatarThe character a player controls. It is made of blocks, unless the scene draws it with a sprite.Players API

Rules and code#

TermWhat it isWhere it is explained
RuleA "When… then…" sentence that you build in the editor without writing code.Rules
TriggerThe "When" part of a rule: what has to happen (the player touches something, time passes, the match starts).Rules
Action (of a rule)The "then" part of a rule: what the game does (add points, show a message, end the match).Rules
Action (button)One of the player's buttons besides moving: jump, action and second action, and in the games that declare them, the two pointer buttons (the mouse clicks). Each game says what they do.Controls
Blocks modeThe way of programming a game in the editor by snapping blocks together like pieces, with the code they write in view. A project is made with Rules or with Blocks, not with both.Blocks
CanvasThe area of the Blocks tab where programs are built, with one tab per object.Blocks
Palette (of blocks)The list of blocks in Blocks mode, by category, to the left of the canvas.Blocks
ScriptThe program with the game's logic, in TypeScript or JavaScript. It can only use the Green Games API.Scripts
Rules blockThe part of the script that the editor writes from your rules, between // <reglas> and // </reglas>. Your code goes outside it.Code in the editor
SDKThe set of definitions that describes the format of a game and the API its script uses.API reference
APIThe functions a script can call. It carries the number 1.API reference
ServiceEach of the eleven parts of the API: juego, mundo, jugadores, interfaz, sonido, progreso, puntajes, azar, reloj, actores and camara.API reference
ActorA character driven by the script: a rival, a neighbor, an enemy.Actors API
LabelA text or a bar the script draws over something in the world: a tower's health, the name of a place.Interface API
TextEverything the game shows in writing, by key and in two languages, inside the manifest.Manifest
LimitA cap every game must respect: file size, number of pieces, script time per frame.Limits

The match#

TermWhat it isWhere it is explained
RoomWhere the match really happens: the physics, the players, the script and the scores. It runs isolated and does not know which program it is in.Isolation
Game playerThe part that shows the match and collects your input. It is the same in the portal, in the launcher and in the editor.Isolation
IsolationThe barriers that keep a game's script from reading your files, using the network or touching the program that shows it.Isolation
FrameOne step of the simulation. There are 60 per second, always.Determinism
SeedThe number all the randomness of a match comes from.Determinism
DeterminismWith the same seed and the same input, the match repeats exactly the same. This is what makes it possible to test a game with a bot.Determinism
DifficultyA variant of the game that you pick before playing. Three is the norm: Easy, Normal and Hard. A piece can exist on only some of them.Playing
ModeHow the match is filled: Solo, or With bots in games that support more than one player.Playing
Local multiplayerSeveral people, from 2 to 4, playing on the same computer. The game has to declare it.Manifest
Split screenIn local multiplayer, one part of the screen for each person, with their own camera and indicators. The alternative is the shared screen: a single camera that follows the group.Manifest
Score tableThe list of a game's best marks. It is local, with ten marks per difficulty, by points or by time.History and progress
ProgressData a game saves between matches, on your computer. Up to 64 KB per game; an open-world game saves the changes to its terrain separately, up to 320 KB.Progress API
HistoryThe record the launcher keeps of your matches in each game.History and progress

Testing and tools#

TermWhat it isWhere it is explained
ValidatorThe program that checks that a game follows the format and says what to fix. The editor, the launcher and the command line use it.Validator
GB codeThe stable identifier of each problem the validator finds, such as GB310.Validator
ProblemAn error or a warning from the validator. An error blocks export; a warning does not.Editor problems
BotThe automatic player. It drives the avatar with the same controls as a person. It is used to test a game from start to finish and to fill the With bots mode.Test bot
Bot scriptThe list of steps the bot follows to finish the match: go to a point, wait, press a button.Test bot
Test with botRunning the whole match with no screen, on each difficulty and with two seeds, to check that the game can be finished.Play and test
ExportTurning an editor project into a .ggx file. It only happens if the game validates and the bot finishes it.Game card and export
ImportOpening a .ggx file in the launcher, which validates it and installs it.Import a .ggx
TemplateA starter game so you do not begin from scratch. The editor offers them when you create a project, and the command line does with greengames crear.New game
AssistantThe editor panel that builds changes from a written request. It can use an AI model that runs on your computer; without a model, it is a basic assistant that recognizes common requests.Assistant
Command line (greengames)The tool to create, validate, test and package games from a terminal.Command-line tool
FormatThe version of a game's structure. Today it is 1.Changelog