Health Bar Example

I made that Health Bar to test the update of the engine, I have to say even to myself that I am new to game development, it was very easy to use editor and make scripts.

Source Code Here

2 Likes

One more time - not a relative sizes. Meh.

Yes, I tried to make relative size but as I was only trying to decrease the width HP did not work, I’ll wait for documentation regarding the relative size to update.

It is my very big problem with default UI. Its relative sizing is very poor if compare it with html UIs. Or I completely dont understand it. But untill devrlopers not answering me on how can I achieve my goal, I will be thinking that I am right.

The only way is to go trying to do and looking at the source code on github :confused:

Sorry for the lack of documentation. We hope to improve on that very soon.

However, please note that layouting rules are very close to WPF, so many parts of WPF doc should apply:
https://msdn.microsoft.com/en-us/library/ms745058(v=vs.110).aspx

1 Like

Here is the code updated for Paradox 1.2: http://pastebin.com/YU5ngk5B

1 Like