• Hello [name]! Thanks for joining the GMC. Before making any posts in the Tech Support forum, can we suggest you read the forum rules? These are simple guidelines that we ask you to follow so that you can get the best help possible for your issue.

HTML5 How to test HTML5 on mobile

T

ThatGuyMiniB

Guest
Hey, everyone!

I am super new to GMS 2 and GMS in general and was wondering if and how I would be able to test HTML5 games on mobile.

Thanks in advance!
 
Afaik, you need to upload them to a server and then use the URL in the mobile browser...
This is the best method I've found. You can use the mobile emulator in chrome, but it's not accurate enough. To properly test you gotta upload to a server. And also across multiple devices!! As the differences are vast at points.
 

gnysek

Member
GMS' web server runs on a specific port, so you should be able to connect to it via computer's IP:port if the mobile device is on the same wifi network as the computer.
On windows: run cmd.exe, write ipconfig, find IP address matching currently used network device (wifi or ethernet), usually 192.168.0.X or 192.168.1.X (in some cases may be different).

Then, enter in phone browser: http://192.168.X.X:51268 - should work (not sure if GMS2 have allowed IP lists, as I don't have HTML5 module for this one).
 
On windows: run cmd.exe, write ipconfig, find IP address matching currently used network device (wifi or ethernet), usually 192.168.0.X or 192.168.1.X (in some cases may be different).

Then, enter in phone browser: http://192.168.X.X:51268 - should work (not sure if GMS2 have allowed IP lists, as I don't have HTML5 module for this one).
Thanks! Saved me some googling :) Will try on gms 2
 
T

ThatGuyMiniB

Guest
Thanks everyone for the replies! I shall try this as soon as I get the chance!
 

Mike

nobody important
GMC Elder
Make sure the allowed IP range is set correctly, or your mobile will be blocked... Otherwise, yeah... just point it to the IP of your machine and the port and it works fine.
 
T

ThatGuyMiniB

Guest
How do I allow my phone in GMS2? I pointed it to the IP and the port and have phone connected it to the same WiFi but it still doesn't work.
 
T

ThatGuyMiniB

Guest
So I believed I figured it out now I just gotta find out how to scale to mobile XD any tips would be awesome!
 
On windows: run cmd.exe, write ipconfig, find IP address matching currently used network device (wifi or ethernet), usually 192.168.0.X or 192.168.1.X (in some cases may be different).

Then, enter in phone browser: http://192.168.X.X:51268 - should work (not sure if GMS2 have allowed IP lists, as I don't have HTML5 module for this one).
Old thread, but wanted to confirm that this does work, and say kudos! Much better solution that uploading my game to a web server every time I want to test on a mobile device during development. :)
 
Top