Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

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.