Hello guys, i'm here because i need your help. I've tried about one week including images in my allegro code, but i can't! My platform is Xcode, someone knows how to do it? (I want to put the image in the mouse cursor)
This is my code:
I attached an image of my error to this post...
Thanks!
Hi,
I think you have a problem with your clear screen code.
There should be a should be al_clear_to_color(al_map_rgb(0, 0, 0)); just before you draw. Put it on line 62 (before al_draw_bitmap).
You can remove your line 66 - al_map_rgb(0, 0, 0) line, I don't think that does anything.
You're a master! Thank you very much