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.
-
1:09:03
vivafrei
4 hours agoCriminals Are Getting Nervous! Democrats Can't Give Trump Credit! AND MORE!
72.4K23 -
12:56
Dr. Nick Zyrowski
8 days agoFasting Is THE Cure: No Food For 2 Days Is The Perfect Fast! (Here’s Why)
6.3K4 -
LIVE
Badlands Media
17 hours agoMAHA News [10.10]: Cannabis Reform, Kennedy Exposes "Vaccines Saved Lives", An Inconvenient Study
543 watching -
1:51:23
The Quartering
4 hours agoTrump Snub Backfires, Matt Walsh Sounds The Alarm, Candace Owens Theory On Charlie Kirk
104K42 -
LIVE
Owen Shroyer
1 hour agoOwen Report - 10-10-2025 - Qatari Airbase In America Angers Israeli Lobby
1,266 watching -
1:14:53
DeVory Darkins
4 hours ago $14.74 earnedDemocrat Candidate leaves crowd DUMBFOUNDED as Trump scores MAJOR VICTORY
67.7K20 -
1:12:16
Sean Unpaved
4 hours agoTNF Shocker: Giants Stomp Eagles, Cubs Claw a Game 5, Weekend NFL/CFB Best Bets!
29K6 -
1:25:05
HotZone
9 hours ago $3.21 earned5 Signs Terrorists are Plotting a Massive US Strike
17.7K11 -
1:05:42
Dear America
5 hours agoShould Christians Celebrate Halloween?
30.6K16 -
2:03:24
The Culture War with Tim Pool
6 hours agoAntifa Is A Terror Organization, Crackdown Coming As Leftists Defend Violence | The Culture War
179K167