Running A Game From GM:Studio On Your Android Device
Running A Game From GM:Studio On Your Android Device
Once you have set up both GameMaker:Studio and your Android device, it's very simple to get your games up and running. The first thing you must do is in GameMaker:Studio go to the target dropdown dialogue in the main window and once there select "Android". Now, the next step depends on whether you have your device connected via data cable or via WiFi. Below are the steps to follow in either case :
Run On A Connected Device
Make sure your device is connected to your pc through its USB data cable and that you have followed the device setup advice.
Click the Green play button at the top of the main GameMaker:Studio window to compile your game
As soon the compiling is complete, your game should appear on the device as designed.
Run On A WiFi Device
Before you can use the WiFi setup, you need to make sure that the device to be tested has the YoYo Games runner installed. This can only be achieved through a data cable connection. This means that you must follow the above steps at least once before WiFi connections will work as this is currently the only way to install the runner on the device. Once that is done, follow the steps below :
Make sure that you have correctly configured GameMaker:Studio (see GameMaker:Studio Basic Setup for more details)
Click the Green play button at the top of the main GameMaker:Studio window to compile your game
When compiled, tap the YoYo Games Runner on the device and you will get the "connecting" window. Your game will now run as normal, unless this is the first time you are running the WiFi mode, in which case you should also follow the next steps too.
When the YoYo Games Runner starts up there is button marked Settings. Tap that button to open a new screen with two further options.
You should set the GM:Studio IP Address to the one that your computer is using (the same as this step)
You should set the GM:Studio Port Number to the one that you setup in GamneMaker: Studio Basic Setup (51268 by default)
The game should now connect and run automatically every time that you press the green "play" button on GameMaker:Studio.