Building a dynamic health bar in CSS

Forum Rewards
Every new forum post gives the author +10 coins. You can also reward great posts from other users.
Min donation: 10 coins Author gets 50%
I'm experimenting with the UI API. It looks like the HUD is fully customizable with a CSS-like syntax. Does anyone know if we can use flexbox logic for positioning player stats? It would make multi-resolution support so much easier.
Flexbox in a survival game? What a time to be alive. No more hardcoding pixel positions for me!
Yes, the UI layer is built on a custom web-renderer. You can use standard flexbox properties. Just be careful with z-indexing when you're overlaying custom quest logs.

Post a Reply

Formatting: [b]bold[/b], [i]italic[/i], [u]underline[/u], [code]code[/code], [quote]quote[/quote]