Hi
I was wondering how you would erase a circle or a rectangle out of a bitmap.
this does not work but would it be something similar to this but with something else added in?
Something like this should work:
al_set_blender(ALLEGRO_ADD, ALLEGRO_ONE, ALLEGRO_ZERO); al_draw_filled_circle(centerx,centery,radius,al_map_rgba(0,0,0,0)); al_set_blender(ALLEGRO_ADD, ALLEGRO_ONE, ALLEGRO_INVERSE_ALPHA);
Yep it worked
Thank you