Перейти к содержимому

Studio objects

Это содержимое пока не доступно на вашем языке.

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.
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
gdmp game race time=120 min=2
gdmp spawn
gdmp spawn
gdmp zone cp1 w=60 h=120 : checkpoint; say Checkpoint 1!
gdmp zone flag w=60 h=180 : finish

Place the two spawn points at the start, the checkpoint halfway, the flag at the end, and Save to Package.