Code and asset live-reloading for GameMaker! · By YellowAfterlife
So on my end delta_time is undefined, but only on places where it's live_enabled for some reason.
Hm, yes, very cursed
So variable_global_get("delta_time") is undefined
But variable_instance_get(any instance, "delta_time") returns delta_time
There are a few ways to make this work and I don't like how any of them sound tbh
Gotcha! instance_get works for now. Any potential downside to it?
For use from your code, calling a non-live function like
function my_delta_time() { return delta_time }
should suffice.