1.0.65 - 2022.11 compatibility and HTML5 tweaks
GMLive.gml for GameMaker » Devlog
2022.11
- API definitions are now updated for 2022.11.
- Underscores in numbers (
1_000
➜1000
) are now supported. - Binary literals (
0b101
➜5
) are now supported. - Still backwards-compatible with 2.3.7 though!
HTML5
- 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.
real(0)
andint64(0)
are considered to be different values when used as ds_map keys, andmethod_get_index
returns who-knows-what sometimes..?)
But also
I recently updated shader_replace_simple to support x64 Windows runtime, so you can live-reload your shaders again.
Files
[archive] GMLive (for GMS2.3).yymps 895 kB
Version 1.0.65 Dec 01, 2022
Get GMLive.gml for GameMaker
Buy Now$29.95 USD or more
GMLive.gml for GameMaker
Code and asset live-reloading for GameMaker!
Status | Released |
Category | Assets |
Author | YellowAfterlife |
Tags | extension, GameMaker |
More posts
- 1.0.76 - more fixes & tweaksMay 25, 2024
- 1.0.74 - GM2024 support and various fixesMar 23, 2024
- 2024.2 minifixMar 05, 2024
- 1.0.72 - Assorted fixesSep 27, 2023
- 1.0.71 - GML updates and fixesMay 22, 2023
- 1.0.67 - small fixes and live_auto_callDec 15, 2022
- 1.0.63 - GML updates and a bunch moreNov 14, 2022
- 1.0.62 - 2022.8 compatibility and alt. serverSep 12, 2022
- 1.0.59 - Fixes, features, and optimizationsAug 03, 2022
Comments
Log in with itch.io to leave a comment.
Minor bug -
array_sort
doesn’t seem to support true/false for the sortTypeOrFunction argument on live reloadsApparently
true
andfalse
are now the actualbool
type, 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_message
is 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_add
to override it to beshow_debug_message(str, ...)
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?
Add
to the end of obj_gmlive’s Create event.
Bingo! Thank you very much.