Thank you, britzl!
Today is my first day ever with Defold, so excuse me if I post some real noob questions here.
Defold is already quite lean, and thanks to the app manifest you can reduce the engine size even further.
You mean you can change the amount of RAM? Or something else?
Which platform were you thinking of specifically?
I wanted to start with Facebook Instant. I was trying to find any game that was done on Defold on Instant just for a quick benchmark with other frameworks. I haven’t found any so far. If anyone knows about some Defold games on the instant, please let me know
HTML5 there really should be no problem for you to wrap an instant games SDK and expose its API via Lua.
I don’t know much about the native extension support for HTML5, but if I just want to include a JS library I would need to port it to C++ first if I go this way, right?
I also looked at how to call JS code from within Lua, and I think it would always be something like
result = execJS("functionName");
That way we would need to include the FBInstant library inside the HTML page or, create some placeholder functions in the HTML page that call the library - with a small façade API it should be easier to maintain.
After that we would need to call the JS code that exists inside the
<script> blocks within our Lua files, maybe even creating a bindings_instant. lua file to handle this.
Is my reasoning close to what you would do?