ROTATE_SCALED_SPRITE_TRANS(3alleg4)

πŸ’– rotate_scaled_sprite_trans πŸ’–

okay bestie, this one lives in the Allegro manual β€” the Allegro game programming library, to be exact (3alleg4 era, we love her). Sit down, hydrate, and let's talk about spinning AND stretching a sprite in one single glorious call. πŸ¦‹


✨ NAME ✨

rotate_scaled_sprite_trans β€” Rotates and stretches a sprite. Allegro game programming library.


✨ SYNOPSIS ✨

#include <allegro.h>

void rotate_scaled_sprite_trans(BITMAP *bmp, BITMAP *sprite, int x, int y, fixed angle, fixed scale);

✨ DESCRIPTION ✨

So basically it's rotate_sprite_trans()… but she's doing the MOST. πŸ’… Not only is she rotating the image, she's stretching or shrinking it at the same time. Rotation + scaling, one function, no cap. It's giving multitasking icon behavior. πŸ‘‘


✨ SEE ALSO ✨


mwah πŸ’‹ that's the whole page bestie, go forth and rotate-and-scale responsibly. This was Allegro version 4.4.3, page rotate_scaled_sprite_trans(3alleg4) β€” tysm for reading, ily, bye! πŸŽ€πŸŒΈπŸ«Ά