Initial project completion


Looking back, through testing it looks like I have 358 HTML5 builds still hanging out. At one point I cleared the build dir trying to squash a bug, and that doesn't count Windows builds. I did a lot of testing, but that was mostly growing pains I figure.

It was interesting and a good learning experience to make a game cross platform compatible between Windows and HTML5. Some depricated functions in GMS2 function differently between the two (eg. the json_decode() function). That was frustrating to fix. 

As for on screen controls, If people are interested I may post my code for how that is being handled. In another project I spent a lot of time figuring out how to get the multi-touch working. The code could be improved to generalize it better, but it works pretty well I think. I may go back in this project and make a d-pad alternative to the joystick. I find it weird for these types of games and onscreen joysticks. The "Draw GUI" event kept messing me up b/c about 5 or 6 different objects used it, and I think I had to ensure that each one resized correctly to ensure the screen and UI scaled/matched properly.

If you're following the tutorial Shaun Spalding's tutorial, when you get to save games look into using structs and json_parse(). It will save time and headache if you're building with HTML5.

Files

ARPG_tutorial_v3_44EFC7C5_Javascript.zip 620 kB
Jun 28, 2022
ARPG_tutorial v1.1 b220627.exe 15 MB
Jun 28, 2022

Get ARPG tutorial (GMS2)

Leave a comment

Log in with itch.io to leave a comment.