Hi
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.
draw_sprite_part(interface_meter,0,0,0,global.charge/10,sprite_height,181,12);
Does anybody know how to fix this?
Thanks in advance!



Find content
Not Telling
