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.
-
57:38
The Tom Renz Show
3 hours agoMerry Christmas - The Tom Renz Show Christmas
32.3K8 -
2:59:10
Wendy Bell Radio
14 hours agoThe Bridge Too Far
127K190 -
1:03:45
Donald Trump Jr.
1 day agoHappy Festivus: Airing Our Grievances and Stopping The Swamp w/Sean Davis | TRIGGERED Ep.201
398K523 -
1:30:30
Game On!
17 hours ago $7.31 earnedTop 5 things you need to know for Sports Christmas!
54.6K4 -
1:58:10
Robert Gouveia
1 day agoMatt Gaetz REJECTS Report, Sues Committee; Luigi Fan Club Arrives; Biden Commutes; Festivus Waste
280K224 -
1:31:40
Adam Does Movies
1 day ago $15.47 earnedThe Best & Worst Christmas Movies! - LIVE!
106K8 -
58:10
Kimberly Guilfoyle
1 day agoAmerica is Back & The Future is Bright: A Year in Review | Ep. 183
195K71 -
3:03:27
vivafrei
1 day agoEp. 242: Barnes is BACK AGAIN! Trump, Fani, J6, RFK, Chip Roy, USS Liberty AND MORE! Viva & Barnes
268K256 -
2:05:48
2 MIKES LIVE
10 hours agoTHE MIKE SCHWARTZ SHOW with DR. MICHAEL J SCHWARTZ 12-24-2024
39.7K5 -
1:14:17
MTNTOUGH Fitness Lab
1 day agoNavy SEAL Dom Raso: The Cold, Hard Truth About Modern Brotherhood | MTNPOD #96
30.7K4