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.
-
1:55:20
The White House
8 hours agoPresident Trump Participates in the Memorial Service for Charlie Kirk
83.5K88 -
1:02:41
Sarah Westall
7 hours agoDomestic Terror Operation: Death Threats, Smear Campaigns, Gang Stalking w/ Journalist Sarah Fields
29.7K7 -
1:51:40
Nerdrotic
7 hours ago $10.12 earnedGobekli Tepe Discovery and "Reconstruction" | Forbidden Frontier #118
66.2K7 -
29:07
Tactical Advisor
7 hours agoATF Changes Ruling on SBR & Tacpack unboxing | Vault Room Live Stream 039
69.4K15 -
2:00
From Zero → Viral with AI
13 hours ago $1.84 earnedAre You Being Left Behind? Why AI Marketing is No Longer Optional
35.1K4 -
9:10
BlackDiamondGunsandGear
11 hours agoI Finally Got it! / Now i need to BUILD IT!
24.7K7 -
9:44
Millionaire Mentor
3 days agoCharlie Kirk Brings Woke Student To STUTTERING Over White Privilege Lies
28.3K7 -
24:12
MudandMunitions
12 hours agoOff-Roading with NYPrepper Wild Elk & PA’s Most Remote Backroads
17K1 -
DVR
Bannons War Room
7 months agoWarRoom Live
37.4M8.69K -
3:13:07
IsaiahLCarter
11 hours ago $0.91 earnedAPOSTATE RADIO 029: Leftist Violence, & NYC's Mayor's Race (Guests: Lattina Brown and David Sivella)
16K