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.
-
12:51
Dr. Nick Zyrowski
6 hours agoDoctors Got It Wrong! How to RAISE Testosterone Levels Forever
9.59K6 -
1:14:40
Mark Kaye
5 hours ago🔴 Trump FUMES As Police Abandon Chicago At Pritzker's Orders
21.3K26 -
LIVE
Film Threat
18 hours agoVERSUS: THE SMASHING MACHINE BOMBS + 007 EMASCULATED ON AMAZON | Film Threat Versus
76 watching -
LIVE
The Nunn Report - w/ Dan Nunn
1 hour ago[Ep 763] The Democrat Death Cult – Party of Violence| Judicial Coup & Real Insurrection
221 watching -
LIVE
Owen Shroyer
54 minutes agoOwen Report - 10-06-2025 - Debut Episode Of Your New Favorite Talk Show
1,788 watching -
56:24
DeVory Darkins
3 hours ago $29.67 earnedFederal Judge issues shocking order against Trump as Chicago Mayor pulls insane stunt
84.8K156 -
1:24:59
Sean Unpaved
4 hours agoPoll Plunge & Mile-High Mayhem: Texas & Penn State Crash, Sunday's Fireworks, & Broncos Stun Eagles'
39K1 -
9:24
Ken LaCorte: Elephants in Rooms
1 day ago $0.59 earnedThe secret of Indian store owners
11.4K6 -
8:30
Millionaire Mentor
1 day agoJames Comey PANICS After Pam Bondi Reveals What’s Coming Next
13.5K13 -
1:10:45
Jeff Ahern
2 hours ago $0.03 earnedMonday Madness with Jeff Ahern
9.8K1