pivot_sprite_v_flip(3)
β¨ pivot_sprite_v_flip(3) β¨
okay so bestie, welcome to the Allegro manual π this one's a little baby page but it's lowkey iconic, so let's get into it π
πΈ NAME πΈ
pivot_sprite_v_flip β rotates and flips a sprite around a specified point. it's giving Allegro game programming library energy, no cap π¦
π SYNOPSIS π
#include <allegro.h>
void pivot_sprite_v_flip(BITMAP *bmp, BITMAP *sprite, int x, int y, int
cx, int cy, fixed angle);
like yes, that's the whole vibe β¨
π DESCRIPTION π
so basically it's exactly like rotate_sprite_v_flip(), bestie, but with a glow-up: it aligns the point in the sprite given by (cx, cy) to (x, y) in the bitmap, and then rotates around this point. periodt. π
so you're picking a point on your sprite, gluing it onto a spot on the bitmap, and then spinning around that exact spot. main character energy fr fr π₯
π«Ά SEE ALSO π«Ά
and that's the whole page, angel π this was Allegro version 4.4.3, mwah, go make something gorgeous with it ππ
π¦ where this page comes from
- fedora 43: allegro-devel 4.4.3.1-18.fc43 Β· Giftware
- fedora 43: allegro-devel 4.4.3.1-18.fc43 Β· Giftware
- fedora 44: allegro-devel 4.4.3.1-20.fc44 Β· Giftware
- fedora 44: allegro-devel 4.4.3.1-20.fc44 Β· Giftware
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms