Nope.Hi,
My game works correctly in windows version but not works in HTML5.
Someone knows the cause?
These are popular misconceptions, your GML converted to AST and then to JS so result is the same - if you run the game in Debug mode, you can inspect that generated JS and see that semicolons (which, should we mention, aren't obligatory in JS either) are added automatically.your syntax must be PERFECT and comply with JAVASCRIPT not GML ....
GML will let you get away with not using ; after a line,
This depends on what you mean in particular but likely false.GML will let you get away with skipping variable definitions ....
GML will let you reference objects and/or globals before they are defined ....
On native platforms, GM will use a default font embedded into runner itself if none is defined. HTML5 export warns you in the console about when trying to use a nonexistent font.GML will use a system font if you have not defined one ....
Usually you would use debug mode and JavaScript debugger (in developer tools) to see why your game is crashing instead of commenting the code out and preying that it'll helpviolate any of these and HTML ports may crash at random times ...
Sometimes, to find the error, you need to comment out 3/4 of your game just to see if anything works ...
In short, YellowAfterLife does not know either ...