Devyatyi9 cd7ae34f66 update merge gbs code | 2 anni fa | |
---|---|---|
.. | ||
.vscode | 2 anni fa | |
res | 2 anni fa | |
src | 2 anni fa | |
.gitignore | 2 anni fa | |
build-debug.hxml | 2 anni fa | |
build-release.hxml | 2 anni fa | |
haxeui-heaps.properties | 2 anni fa | |
readme.md | 2 anni fa | |
simplescreenrecorder.mp4 | 2 anni fa | |
ui-test.hxml | 2 anni fa |
https://github.com/fredlangva/HaxeUI_Base
This project is an example of an actual basic gui that I am using in my projects. It is currently targeted for Heaps HashLink but certainly can be easily modified for any other HaxeUI Target.
1. Animated Initialization screen with logos and music to load shared system items (eg: assets, music, gui items)
2. Custom Components (HaxeUI)
3. Directory/File loading example
4. Options settings
5. HUD
6. Themed Styles
As you look at the scenes hx code, you will see an "@:build". This macro will build the screen for you and has the additional feature of making any component with a defined "id" a variable to be used in the code. No need to do a "findComponent".
The "custom components" along with the "theme" is defined in the module.xml file. Note: it is important to have the parent theme define unless you are going to define a style for every component used.
The HUD screen has some additional custom components for indicators used on the expanding menus.
I can not express enough thanks to Ian Harrigan for being patient with me trying to learn HaxeUI. I hope that whatever project you use his library in, you would give him credit for such a great resource to provide the building blocks to our UIs.