exscale(3alleg4)

✨ exscale ✨

okay bestie, this is the exscale page from the Allegro manual (that's 3alleg4, the Allegro game programming library if you're new here 🫢). It's giving very much "load a picture, stretch it around, vibe" and honestly? Iconic.


🌸 NAME 🌸

exscale β€” loading PCX files and bitmap stretching, brought to you by the Allegro game programming library πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

#include <allegro.h>

Example exscale


πŸ¦‹ DESCRIPTION πŸ¦‹

okay so this example is literally a whole demo of how to use PCX files, palettes, and stretch blits. It loads a PCX file, sets its palette, and then does a bunch of random stretch_blits just for the vibes ✨

and before you come at me about it running slow β€” don't worry, bestie 😭 it's VERY slowed down using vsync(). On purpose. That's the point. Not me making it laggy on purpose, the code is literally doing that, fr fr.


πŸ‘‘ SEE ALSO πŸ‘‘

the whole squad, assembled:


Allegro, version 4.4.3, and this page is dated exscale(3alleg4) πŸ’– that's a wrap bestie, go stretch some bitmaps, slay, periodt πŸŽ€βœ¨