I’m using Tiled Sprite to make HP Bar for my game. However it doesn’t like changing its width during playback and only shows it once (most likely before scene is ever shown - confirmed by adding timer that is reset at start of scene and then after 10 seconds it should update to correct width, but it doesn’t). Please help me fix it because I don’t know how to get it properly.
Check the value of HPDragon. If it is equal to 0 ( or even less than 0 ), the bar won’t be displayed properly as you’re making its width depend on this variable.
Thanks! While I have project to work on now (EGA-styled platformer), I’d appreciate quick fix so I could finally end this HTML5 project. It is almost finished, but I want to have it behind myself as fast as I can.