Hi all
As mentioned in the title, I’d like to create hitpoint bars but not in GUI (directly in the game as game objects/sprites etc.)
But…
1/ Maybe things have changed, but looks like it’s not possible in Defold to mask/clipping sprites in Defold… (would have been the most convenient solution)
2/ I suppose I could resize a 1-pixel sprite, but I don’t know how to" left-align" the pivot point of a 2D sprite
=> in this video, the bar is randomly scaled every sec, but the pivot point is centered, so…
How should I proceed? Any advice?