Test and play
Este conteúdo não está disponível em sua língua ainda.
From the editor
Section titled “From the editor”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.
From the launcher
Section titled “From the launcher”Select the experience and press Play. The launcher hosts a local server on your PC.
- With
gdmp game ... min=1you 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.
When something is wrong
Section titled “When something is wrong”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.
