|
Drawing a rotated region |
GamerKid
Member #14,366
June 2012
|
Hi there! I've been using Allegro 5 for a game project of mine. For this project, I have one image of all the bitmaps I will be using in the game. However, this has presented me with a problem: I want to rotate an already-drawn section of the bitmap, but I just don't know how to do it without drawing all the images I'd need seperately and then just use al_draw_rotated_bitmap(blah) for them all. So, to make it clearer, I would like to have something which would really just do this: al_draw_rotated_bitmap_region(blah blah) Can anyone offer any insight as to how I could achieve this? |
RPG Hacker
Member #12,492
January 2011
|
What about creating a SubBitmap?
|
SiegeLord
Member #7,827
October 2006
|
"For in much wisdom is much grief: and he that increases knowledge increases sorrow."-Ecclesiastes 1:18 |
GamerKid
Member #14,366
June 2012
|
Exactly what I wanted, SiegeLord. Thanks! |
|