1.0.65 - 2022.11 compatibility and HTML5 tweaks
- API definitions are now updated for 2022.11.
- Underscores in numbers (
1000) are now supported.
- Binary literals (
5) are now supported.
- Still backwards-compatible with 2.3.7 though!
- I completely rewrote the way the extension acquires functions on HTML5 target to better account for the fact that these are often missing.
- I added workarounds for a few HTML5 runtime issues (e.g.
int64(0)are considered to be different values when used as ds_map keys, and
method_get_indexreturns who-knows-what sometimes..?)
I recently updated shader_replace_simple to support x64 Windows runtime, so you can live-reload your shaders again.
GMLive (for GMS2.3 and GM2022+).yymps 750 kB
Version 1.0.65 Dec 01, 2022
Log in with itch.io to leave a comment.
Minor bug -
array_sortdoesn’t seem to support true/false for the sortTypeOrFunction argument on live reloads
falseare now the actual
booltype, and array_sort wants that very specifically.
bool(true)works for a workaround.
I'm consistently getting an issue in the latest release where enums are being read as variables? It happens any time I make a change to an event that contains an enum reference.
And checking the code, it's just a simple switch statement where I do this...
Any idea why that's happening? Can I bypass it somehow?
What does the declaration of your enum look like? (assuming that’s an enum)
Try moving that to a separate script and restarting gmlive-server. If that solves it, send me a copy of the original script that had the enum in it
Yeah that worked! I delare all my enums in the Room Creation Code for my first room r_Initialize. This is what's in there currently:
Oh, the server doesn’t currently check rooms for enums/macros - that’s kind of expensive (I mean, a little less expensive now that tile arrays in rooms are compressed, but still!). I guess I could check room creation code very specifically since it’s named predictably.
show_debug_messageis giving an error on live reloads about requiring at least 3 arguments.
Ah, of course - the signatures in fnames are all wrong. You can use
live_function_addto override it to be
Just updated and have the same issue but I'm not sure how to implement this as a solution.
From the documentation -> "Note that changing the API only affects newly compiled live code / snippets - you should perform such operations on game start."
Can you please tell me the exact code to use and where to place it?
to the end of obj_gmlive’s Create event.
Bingo! Thank you very much.