I have just started using Armory and so far I like the integration into Blender.
One thing I have struggled to locate in Blender was the option to change the project window title. I booted up Kode and located the Main.hx file which looked to be where the projectName is set. After changing this and rebuilding it appears this gets regenerated and goes back to what it was set to.
I had to dig deep into the krom.js file to locate a instance of kha_SystemOptions and pass in the title name myself. Surely there is a better way?
Also while I have started this post, I thought I would ask as I don’t know much about Haxe but is this just compiled to JS and uses ElectronJS for Windows apps? Also how is it rendering, is it a WebGL library?
Thankfully, there is another way to set the title. You can configure the app title from the Armory Exporter panel in the Render tab:
About the Haxe compilation, yes it is compiled to JS, but no it is not using Electron and no it is not using WebGL. There is an outline of Armory3D’s architecture in the docs, but here is a short version:
From the Armory Exporter you can also choose to export your game to a C project that can be built using native tools like VisualStudio or Unix Make to produce a native binary that can be more efficient than Krom, but Krom is still very fast and has in some cases outperformed the C builds.
Great, I knew there must have been a better way! Maybe I should have continued through the tutorial as I saw a exporting section rather than getting ahead of myself!
Excellent explaination, I have never used Haxe and therefore never heard of Kha or Krom but this is interesting stuff so I shall read up on this further.
My initial thoughts on Haxe was it looks very Java like. Are there any must have books for Haxe or is the officals docs the best place to go?
Here is Haxe’s
I don’t think there is any Haxe’s book