Hi !
At this time i use drawrect into my game to draw the 'energy' bar used by the player space ship beam :

Is there another method to not use drawrect (slow) for this energy bar ? (when the player shoot the beam energy bar decrease by one pixel)
Thanks for your ideas !
At this time i use drawrect into my game to draw the 'energy' bar used by the player space ship beam :

Is there another method to not use drawrect (slow) for this energy bar ? (when the player shoot the beam energy bar decrease by one pixel)
Thanks for your ideas !