Premium Only Content

No Game Engine Game Dev: Word Sleuth 026: Finally fixed audio and started multi-line text
Streamed on 2024-08-06 (https://www.twitch.tv/thediscouragerofhesitancy)
Game Engines are for sissies!
I finally slayed the audio demons today. No more annoying popping at the end of every sound. There were two issues, both of them in the process that embeds the audio in the code. One was an erroneous offset increment which appended some trash data on the end of sounds, the other was the wrong size being written to the file, resulting in yet more trash data being appended to the sound data. Removing both left all the sounds minty fresh.
Then it was on to updating text rendering. The first task was to fix the y-axis popping when different characters are typed depending on how it fits relative to the text baseline. The initial y alignment algorithms just used the glyph heights. Instead it now uses the max height and min depth relative to the baseline to compute adjustments. It looks much better.
Finally, I started updating text to handle multi-line text. We didn't have much time, but there is a start. It does show things on multiple lines, but we ended before finishing vertical alignment or even looked at horizontal alignment. There will also be other fallout from these changes, like to the cursor handling of a TextEdit.
-
2:00:33
Joker Effect
4 hours agoSoo @MrBeast charity, is it legit? XenaTheWitch got attested? Lets talk about it! HOW TO GO VIRAL.
25.9K1 -
27:01
TheRoyaltyAutoService
11 hours ago $2.81 earnedAnother Shop Replaced The Timing Belt & Fuel Injectors On This Honda Pilot… Now It Has No Power!
38.1K3 -
10:14:25
GritsGG
13 hours agoRanked Crim 2! Most Wins 3390+ 🧠
71K1 -
3:12:37
IsaiahLCarter
1 day ago $2.95 earnedJonah O. Wheeler: In Defense of Reality || APOSTATE RADIO #026
38.7K1 -
LIVE
Cewpins
7 hours agoSmoke Sesh🔥Gaming???💨420🍃!MJ !giveaway
116 watching -
LIVE
Phyxicx
6 hours agoShin Megami Tensei - Part 5 - 8/13/2025 | Chaos Route | Expert Difficulty
54 watching -
1:59:32
vivafrei
16 hours agoEp. 277: Russia Peace Talks! Trump D.C. Takeover Leads to Lawsuit! Heat Wave Lawsuit? AND MORE!
88.8K123 -
2:17:57
Nerdrotic
8 hours ago $4.97 earnedTransient Lunar Phenomenon: Deeper into the Mysteries of the Moon | Forbidden Frontier #112
29.2K6 -
2:58:44
Barry Cunningham
1 day agoBREAKING NEWS: PRESIDENT TRUMP ABSOLUTELY TROLLS THE MEDIA! BIG WEEK AHEAD!
77K109 -
1:37:28
Sarah Westall
8 hours agoReal Intel: Power Struggles Fueled by Blackmail, Surveillance & Coercion w/ Dr. Dave Janda
43.4K42