Hi Clash, I made the game that you put on the screenshot.
'DEFINE a new sprite that display a pixel. This pixel is on the point 0,0 of the sprite sheet.
SPDEF 0,0,0,1,1
VAR HP,HPMAX
VAR spContainer,spBar
spContainer=SPSET(0)
spBar=SPSET(0)
HP=50
HPMAX=100;
SPSCALE spContainer,120,16
'This is important: Resize the life bar based on the current hp
SPSCALE spBar,120*(hp/hpMax),16
1そうだね プレイ済み