Follow

Created an integer palette fade in/out in Allegro 4 and am feeling *unreasonably* happy about it.

This oughta be very easy with modern shader stuff even in truecolor or even HDR, honestly. But even with 8-bit, doing saturating decrements down to zero means the darkness swoops into the image in pools, leaving the brightest spots until last: it gives an HDR-like effect on early '90s hardware. And is era-appropriate, unlike floating-point equal interpolation/big black semitransparent GL quad.

· · Web · 1 · 1 · 0

In theory this is 100% within the capabilities of GIF, but I have the horrible feeling trying to actually capture the result would take another hour, and then modern websites would fastidiously transcode it to WebM or something anyway.

I wonder if Masto can handle this...it's a DOSBox-captured video, so it's native-res, using the Zip Motion Block Video codec. ffplay can play it right; VLC screws up the palette entirely.

Hah, no, "failed validation", I can't attach it at all. But, surprise, YouTube actually can!

youtu.be/V51PDNmj0w4

I mean it's probably transcoded it into fuzzy VP9 or something, but. :P

@LionsPhil GIF, probably, but if you do APNG, the worst that will happen is it gets treated as a PNG. Firefox has native support for it and IIRC so does Chrome.

Sign in to participate in the conversation
✨Plush✨City 🏙

This is a space for soft friends and friends of soft friends to gather together!

In this city we're all about soft friends and compassion and caring about each other!

Code of Conduct in a Nutshell

Discrimination & Bigotry Won’t Be Tolerated.

Leave your hatred at the door.

Treat this Space and Those Within it with Respect.

Listen actively to and honor the requests of others; always respond with compassion first.

Consent is Important in all contexts.

If you’re ever unsure, ask first. Use CWs where required.

Listen; Don’t Make Excuses.

If you’re accused of causing harm, either take some responsibility or ask moderators for help.

Don’t Break the Law Here.

The whole space may be liable if you do.

Use the Report Feature.

All reports go straight to our moderation team. We’re here to help!

For more detail, please
Review our Full Code of Conduct