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
Get ARPG tutorial (GMS2)
ARPG tutorial (GMS2)
Following the tutorial by Shaun Spalding
More posts
- Changed OSC to D-padJun 29, 2022
Leave a comment
Log in with itch.io to leave a comment.