Author Topic: Sprites for huds  (Read 533 times)

Antikore

  • Developing Mortal Theater at day, developing depression at night.
  • Level 22: Trex
  • *
  • Posts: 2020
  • Enjoying Platform Builder from the very start
    • View Profile
    • PBuilder Resources
Sprites for huds
« 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
Sorry because my English is not very good because I'm Spanish ;) :P