I am trying to figure some things out with the ZUI coding. I have gone over the Kode Garden example and am starting to get the hang of whats going on. I have a few questions.
How can you change the color of the text or background. I see in the documentation that color is an option for the Handles and so I assume for the UI elements. I can’t seem to figure out the right dot sequence or position inside the parens to put it.
How would you asses the slider position from Nodes - say for a health slider. Would this use the set static property node? Would the UI code have to be on the same object?
How would you access a button in nodes if it was created with a script (the script seems to be the only way to access all of the options available as I was asking about in the 1st question.
For a game UI would it be better to use HaxeUI? It seems to have more options and might be better for this purpose but I can’t seem to find any information on how to use it with armory.
Any answers would be helpful or anything that might point me to more or better information would also be great.
Updated the minimal example at https://github.com/armory3d/haxeui_example (note that it needs to be cloned recursively like stated in the readme, in order to get the haxeui modules). HTML5 seems to work ok, otherwise there are compile issues with haxeui + kha, will see how to resolve that.
@lubos - is it possible to control the position of the slider in ZUI by a variable? To use it for a health slider for example. Also can you control the color, size and font or each line of text? I am trying to figure it all out be examples but can’t seem to discover all the dot sequence.