I'm trying to draw a horizontal healthbar/meter with a sprite and the draw_sprite_part function. The sprite is 35x8, with its origin at 0,0, drawn at 181,12. The variable used (global.charge) has a max of 350. This code has had no success, nothing gets drawn.
Does anybody know how to fix this?
Thanks in advance!