Platform Builder Forums

Main => Suggestions => Topic started by: Antikore on September 22, 2020, 02:07:00 PM

Title: Sprites for huds
Post by: Antikore on September 22, 2020, 02:07:00 PM
The same as how hud texts works. Having 20 sprites (or more if possible) that we can modify on the run.
This would be useful as we could do things like custom health bars much easier.

Example
Code: [Select]
//Area startup command prompt
hud sprite 1 position = 8, 8

if health = 4
hud sprite 1 = 1 //Sets that hud sprite to sprite with id 1
if health = 3
hud sprite 1 = 2
//...
Pretty understandable. That could work with a lot more stuff