Salta ai contenuti

Test and play

Questi contenuti non sono ancora disponibili nella tua lingua.

In Build mode, press ESC → Test (save and play). GDMP saves the level, starts a local server and puts you in the game as a player. Return to Launcher from the game takes you straight back to Build.

Select the experience and press Play. The launcher hosts a local server on your PC.

  • With gdmp game ... min=1 you can play a round alone (handy for checking a race or a coin layout).
  • To play it with friends before you publish, open its page (Details) and turn on Host online: your game gets an invite code they can join with. See The launcher.
  • Second player (on the same page) starts a second game on your PC, joined to yours: multiplayer testing alone.

Save to Package checks every Studio object and shows the first problem in the Build menu, for example:

'gdmp zone x : fly 3': unknown action 'fly'

A Studio object with a problem is ignored (and removed from the players’ level); everything else still works.

Scripts write to the log with gdmp.log(...); a line looks like [JS] <package>:<script>: .... A bad argument to a gdmp call throws a TypeError that names the call and says what it expected.