Gil Reis

Results 63 comments of Gil Reis

Is `energy` a property from a Godot class, such as Light2D or GIProbe? If it is, does your script explicitly inherit from it or any subclass of it?

Hmm, ok. Right now `set` on `__newindex` is being called only for properties in base classes, not the ones from your script. The reasoning for that is mostly because of...

> I'd definitely say it could be a nice enhancement to improve that workflow, if for nothing else than to ease transition between gdscript and lua. I agree, I really...

Ok, I've created a new branch to test this idea of having Script Instances be structs with a backing table for data. So far it seems to work fine, I...

> Work has kept me insanely busy lately I totally get it, don't worry. > but your test suite may end up having to do for a while It needs...

Hi! Well, not yet, no =/ Godot 4 deprecates the GDNative API in favor of the GDExtension API, which right now does not support registering new scripting languages, which is...

> Did they provide all necessary functionalities for lua? As far as I looked into it, yes it did. Although last time I checked this addition was not in [godot-headers](https://github.com/godotengine/godot-headers)...

> I also wonder what the .gdnlib properties called `load_once` and `reloadable` have to do with this. These are regarding the GDNative library loading/reloading and doesn't affect the PluginScript language....

Script reloading is supported both in the editor build (which [cannot be release builds](https://github.com/godotengine/godot/blob/3.4/SConstruct#L493-L495) and [have DEBUG_ENABLED](https://github.com/godotengine/godot/blob/3.4/SConstruct#L302-L305)) and debug builds, so that the remote debugger can reload them. I guess...

Hi! Yeah, being able to target HTML5 / WebAssembly would be very nice indeed. Well, there are some FFI libraries for Lua, like [cffi-lua](https://github.com/q66/cffi-lua) and [luaffi](https://github.com/jmckaskill/luaffi), but I don't know...