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
Wayne Allyn Root | WAR Zone
7 hours agoWatch LIVE: The War Zone Podcast with Wayne Allyn Root
50 watching -
9:23
Red Pill MMA
10 hours agoCharlie Kirk Turned on Israel—Candace Has the Receipts!
1062 -
1:55:29
Redacted News
2 hours agoCharlie Kirk's Text Messages CONFIRMED ACCURATE by TPUSA, Days Before Assassination | Redacted News
99.2K82 -
1:02:11
DeVory Darkins
1 hour ago $3.58 earnedDemocrats suffers ANNIHILATION during heated hearing with Bondi as Jack Smith bombshell drops
6.99K25 -
40:59
Dad Saves America
23 hours ago $0.66 earnedThe Radical Left’s True Romance: Revolution & Chaos
4.95K10 -
1:07:42
vivafrei
5 hours agoJack Smith SPIED on GOP Lawmakers? Ottawa Trucker Protest Organizers SENTENCED! & MORE!
105K46 -
LIVE
LFA TV
20 hours agoLIVE & BREAKING NEWS! | TUESDAY 10/7/25
1,003 watching -
2:00:50
The Quartering
4 hours agoPam Bondi GRILLED, CIA Coverup, DEI Backfire & Taylor Swift Cancelled!
116K49 -
1:25:13
Awaken With JP
5 hours agoKirk Conspiracies Heat Up, Netflix Castrates Itself, and More!
60.6K52 -
LIVE
freecastle
6 hours agoTAKE UP YOUR CROSS- Press on toward the goal to win the prize for which GOD has called You!
128 watching