Haath

Results 43 comments of Haath

fyi https://forum.defold.com/t/difference-between-require-and-g-require-for-asset-libraries/65741/2?u=haath So from the Haxe side everything is correct, Defold just doesn't recognize `_G.require()` and so the library is excluded from the build.

So basically you just need to **not** use `static`. Externs can be normal instance classes as well. With Lua the difference is something like this: ```haxe static function foo(): Void;...

Also regarding the previous `_G.require()` bug, I think there is a *cleaner* workaround than patching your lua file, at least until the Defold team fixes the issue. Manually create an...

Ye that's correct. A similar thing was done for the `final()` callback in in the `Script` class.

Why do you need Dynamic? Does this not work? ```haxe typedef Self = { var druid:Druid; } ``` Also what is `new_button()` supposed to return? You could create a class...

> Is it possible to provide haxe mapping for my defold native extension inside the extension for haxe to pick it up? So that users don't need to do anything...

Would this API be ok? ```haxe import defold.support.CallbackDispatch; override function on_message(self:Props, message_id:Message, message:T, sender:Url) { // Macro function to generate callback calls. CallbackDispatch.dispatchMessage(message_id, message, sender); } ``` Then the callbacks...

Hey thanks for the response! The target in this case is `cpp`, but I could try others if you think it makes a difference. Without a proxy everything works with...

Ok so I tried it with `WebSocketSecureServer` on a nonstandard port, with valid certificates. Now I try to connect to it directly without a proxy, and Firefox gives the following...

You need to implement Haxe externs that cover the Rive API: https://defold.com/extension-rive/api/ The discussion in #27 should be useful for you. There I also provide examples on how to prepare...