How to run a few examples of debugging GM: S

I create a client / server application in Game Maker: Studio 1.4 and you need to run two instances of the game for testing. Unfortunately, the start / debug buttons of the IDE are disabled after starting the first copy. Is there a way to configure the IDE to run two instances at the same time?

Opening two full copies of works like IDE, but it seems like a great way to break my game, saving things out of sync.

Currently, I export the game every time I make a tiny code change and debug only the host instance, which is not perfect.

Is there a way to configure the IDE to run multiple instances of the game using the start / debug buttons?

+4
source share
1

, ;

IDE, , , - :

C:\Users\You\AppData\Roaming\GameMaker-Studio\Runner.exe -game "C:\Users\You\AppData\Local\gm_ttt_92729\gm_ttt_68071\GAME.win"

script (START + R), , .

, working_directory ( C:\Users\You\AppData\Local\gm_ttt_92729\gm_ttt_68071.

GM: S , : https://marketplace.yoyogames.com/assets/575/execute-shell

, ; ExecuteShell('%appdata%\Roaming\GameMaker-Studio\Runner.exe -game ' + working_directory + "ShootMUp.win",0)

, .win.

, .exe .

+1

Source: https://habr.com/ru/post/1666963/


All Articles