How do I customize the progress bar object?

0 favourites
  • 2 posts
From the Asset Store
Hand-painted tiles, objects, animated objects, and background to build a colorful Mayan civilization environment.
  • Hi,

    I want health bars for each of my characters on the screen.

    I've made health bars in the past with two objects, setting up multiple events and doing the numerator/denominator * bar size and it has worked okay but then I am having to manager multiple objects, etc...

    I recently discovered the progress bar object. It works a bit smoother and easier for me. (I guess personal preference, maybe a sign I am not a solid designer?) and I am wondering if there's a way to change the color from the default solid blue when there is a value in the object.

    I suspect it is not possible due to the documentation stating the following and I should therein just do the two object method I have been doing.

    "The progress bar is styled differently depending on the platform or browser, designed to match the style of the system. "

    Is it possible?

    How can it be done, I don't see any method such as progressbar.backgroundcolor, etc...?

    Thanks!

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Pretty sure you can just customize that using css since it's just html iirc. That is why it changes depending on the browser or OS. Or you can just create your own progressbar with html element and customize that using css for more control / flexibility.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)