XaiJu
clickteam_phi
clickteam_phi

patreon


DarkEdif JSON minimiser and a surprise

Hey folks,
Just a quick update that the SDK now has a JSON minimiser, which will reduce the size of built extensions for all runtime builds (i.e. the extensions put in Fusion\Data\Runtime, i.e. the ones put in built EXEs/APKs).

(2.1k chars to 0.5k chars)

The minimiser will remove every item not used by the runtime builds, and alternative languages, etc, so the bare minimum is put in the output file. It will also strip all spacing.
In tests on a couple of extensions, this reduces JSONs to around a quarter of their original size. The JSON parser reads every byte one by one, so removing spacing saves on processing times too!

I've also fixed a crash/unexpected disconnect in Bluewing Server/Client caused by Fusion not allocating enough memory for the object properties; so when a "kill when switching frame" property was read, there was a chance it was not valid and read as "true".

But the surprise for this post is that iOS is now building too!

Currently the iOS is more of proof-of-concept; it looks like I'll have to write another wrapper in Objective-C akin to what I did for the Android SDK.  That's definitely doable. The fixes I did for Android ABI will also work on iOS, meaning I don't have to mess with assembly ports.

Perhaps iOS can compile in a Mac-exporter compatible format. It's definitely an exciting idea to have three or four runtimes from a single SDK...

Cheers,
~Phi


More Creators