Getting Started
You will need many things before you can modify my ports, or even make your own
Prerequisites
You will need
GameMaker Studio (You will need to determine the Version by yourself)
The Source Code of the Game you want to port
Note that the GX.GAMES Export is FREE, so anyone can make a Web Port
Compiling
Press the Target Button on the Top-Right of the Screen, and select GX.GAMES
- You can choose either VM or YYC; VM is faster to compile, but YYC is faster when playing
Compile the project by pressing F5, or by pressing the play button labeled "Run Game"
DO NOT PUBLISH GAME TO GX.GAMES, JUST TEST COMPILE IT
Once the game loads on your browser, go to file path
C:/Users/(your username)/AppData/Local/GameMakerStudio2/GMS2TEMP
or press Win + R, type Appdata, press OK, go to /local -> /GameMakerStudio2 -> /GMS2TEMP
Then open the folder named
(project name)_(some numbers)_VM
or (project name)_(some numbers)_YYC if you used YYC
Then copy everything in the /runner folder that's inside the previous folder to another, non-temporary location
And then copy all the files to a Web Server of your choice!
Test Deploy
To Load a Local Server to check if your files work, you have to have Python 3 installed
Enter the directory containing runner.html and other files and input the command
python3 -m http.server
in the Linux Terminal
or py -m http.server
for Windows Powershell
At which point you can enter
http://localhost:8000/runner.html
to play the game locally
Also
I strongly recommend removing index.html, and any .svg files, as they are not used, and index.html specifically crashes the game when it''s supposed to launch it
so use runner.html instead of index.html