Premium Only Content

No Game Engine Game Dev: Word Sleuth 104: Decoding QOI for Textures.
Streamed on 2024-12-23 (https://www.twitch.tv/thediscouragerofhesitancy)
Game Engines are for sissies!
We have QOI encoded in our executable. But the executable doesn't decode QOI. So that is the main task for today. I put the necessary calls to decode the QOI data in the Window (for the application icon) and in the Texture constructor. That was it. It worked pretty easily.
Once that was done I did some refactoring of the QOI to make it better. I am embarrassed at how long it took me to find a copy/paste error that was corrupting the QOI encoding process. Once found, I felt much better about the QOI code quality.
Lastly was reducing the number of lines of binary data was encoded in the Warehouses. Up to now we had the binary data stored in string literals of escaped octal "\000" which requires for characters per byte of binary data. By looking for printable characters and using them when possible we reduced the Warehouse file sizes by about 500,000 lines of code. Not too shabby.
And with that, we are at the end of an era. After 104 coding sessions there is no more code to stream. All that remains is integrating any new art or music that comes in, build a website, make a game trailer, update screenshots and then launch the game. The end is in sight.
-
LIVE
Drew Hernandez
8 hours agoTRUMP'S GAZA PEACE PLAN PHASE 1 & TRUMP THREATENS PUTIN WITH TOMAHAWKS
736 watching -
1:18:38
Glenn Greenwald
7 hours agoProf. John Mearsheimer on Trump's Knesset Speech, the Israel/Hamas Ceasefire, Russia and Ukraine, and More | SYSTEM UPDATE #530
107K64 -
2:21:37
Tucker Carlson
5 hours agoAlex Jones Warns of the Globalist Death Cult Fueling the Next Civil War and Rise of the Antichrist
81.4K362 -
12:35
Clownfish TV
13 hours agoJimmy Kimmel Return NOT Helping Disney AT ALL! DIS Stock Keeps Falling! | Clownfish TV
31.3K6 -
LIVE
Eternal_Spartan
7 hours ago🟢 Eternal Spartan Plays Final Fantasy 7 Rebirth Ep. 10 | USMC Vet
340 watching -
2:10:42
RiftTV
8 hours agoTrump SECURES Hostages, ACCIDENTALLY Admits Foreign Gov CONTROLS Him? | The Rift | Gerald Morgan Jr.
52.3K41 -
LIVE
Phyxicx
4 hours agoStarting Dead Space 2 - 10/13/2025
186 watching -
9:29:38
Dr Disrespect
14 hours ago🔴LIVE - DR DISRESPECT - BATTLEFIELD 6 - JET CRASHES, EXPLOSIONS, 360 NO-SCOPES
156K7 -
2:50:08
megimu32
4 hours agoOTS: Wait... They Were in THAT?! Famous Actors’ Forgotten Roles!
15.6K3 -
21:44
Jasmin Laine
8 hours agoTrump Haters SILENCED—Historic Peace Deal PROVES Them ALL Wrong
23K18