Studio objects
Ce contenu n’est pas encore disponible dans votre langue.
A Studio object is an ordinary text object (the “A” in GD’s editor) whose text starts with gdmp. Place it,
type its text, and it becomes part of the game.
- Players never see it. Studio objects are removed from the level players get.
- The server runs it with GDMP’s built-in runtime.
- Position matters. Place a Studio object on the row where players walk: a zone on the ground row covers players walking there.
The objects
Section titled “The objects”| Text | What it is | |
|---|---|---|
gdmp game <mode> ... |
the game rules: race, survival, score or free play, with rounds | Game rules |
gdmp spawn [team] |
where players appear | Spawn points |
gdmp spectate |
where players who are out wait | Spectators |
gdmp zone <name> ... : <actions> |
a rectangle that does something when a player enters | Zones |
gdmp move <free|platformer> ... |
top-down movement, for the level or an area | Free movement |
gdmp attempts show |
shows GD’s “Attempt N” text (hidden by default) | Level tips |
A complete race in five objects
Section titled “A complete race in five objects”gdmp game race time=120 min=2gdmp spawngdmp spawngdmp zone cp1 w=60 h=120 : checkpoint; say Checkpoint 1!gdmp zone flag w=60 h=180 : finishPlace the two spawn points at the start, the checkpoint halfway, the flag at the end, and Save to Package.
