I try to manage with progressbar, but something isn't clear in my mind... How to change the color or the look of the progressbar ? Mine is grey and it's uggly !
You mean like they explain in this tutorial?
https://www.scirra.com/tutorials/316/ho ... -your-game
Or this tutorial?
https://www.scirra.com/tutorials/318/ho ... ng-screens
In fact, I was talking about ProgressBar for "life" or something. You loose a point of life, the progressbar decrease. I just want to change the look (color).
Develop games in your browser. Powerful, performant & highly capable.
Are you using a sprite or a tiledbackground?
If so, opening it in the image editor and drawing/filling it with another color would do the trick..
I am using the form control "progressbar"...may be I am wrong !
But I don't know how tho use a sprite or tiledbackground as a progressbar...
Not sure if its possible to change color of the form control progress bar, maybe with CSS. But its just a guess.
You can turn a sprite into a progress bar like this:
Sprite width = 500 (Just the original width of you sprite)
Max_health_Player = 100
Current_health_Player = 20
Set Sprite.width = (500 / Max_health_Player) * Current_health_Player
In this case the Sprite width would be 100 px
If Current_health_Player is 50 the width would be 250 px
pcleader44 you can do it like this
system on start of layout =ProgressBar Set css Style "background", "anycolour" say Rred, blue, green whatever you like
Lordshiva1948 that just turned the bar green... I want it to be red.