Finally got this to somewhat usable state - we can now embed Armory logic nodes online! The goal is to put live logic node examples straight into documentation and improve the learning experience. A little example on that:
As of now to create embed codes you have to use this little monstrosity linked below. (Eventually we can enable this straight from Blender.) Pressing
Ctrl + C in the editor will copy logic tree URL into the clipboard.
Once you have the URL, you can see an embed example here:
The player is a ‘full’ Armory engine compiled into a 459KB
.js file. It receives the embed code from url and then builds the logic tree at runtime. Project sources:
It’s also easy to paste logic node snippets online.