Hello there fellow allegroids!
I was wondering if you could clear a couple of things up for me - firstly, is there a way to chose what layer your bitmap is on, so can I set it so that a certain bitmap is shown above another which is called later on in the program? - I ask this because as part of my game half way through I clear a bitmap to transparent colour, only problem is when objects go over this space the objects are going behind the white colour instead of infront!
A second query I have is the following - Is there a way when blitting multiple of the same bitmaps to set it so that each different blit is defined to it's own value so that the you can destroy one but not the other.
For example if I was to do the following:
blit( image, buffer, 0, 0, 500, 200, image->w, image->h );
blit( image, buffer, 0, 0, 500, 400, image->w, image->h );
and I was then to call destroy_bitmap(image); both images would be destroyed.
I would like it so that they can be each individually assigned so I can do different things to them whilst using the same bitmap.
Thank you in advance and I apologise if that was a really over explained version of a simple question!!