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:24:49
omarelattar
2 days agoThe $100M Sales Expert: “The Psychology of Selling To Anyone!” (High Ticket, Phone & Ai Secrets)
33.2K3 -
18:36
GritsGG
14 hours agoTrios is BACK! Slamming Lobby w/ Mr. Bobby Poff!
8.47K -
LIVE
Lofi Girl
3 years agolofi hip hop radio 📚 - beats to relax/study to
404 watching -
2:48:21
FreshandFit
16 hours agoNarcissistic Mid European Got Called Out And THIS Happened...
224K97 -
1:48:12
Badlands Media
16 hours agoBaseless Conspiracies Ep. 161: The Human Hunting Files
91.3K35 -
1:56:01
Inverted World Live
8 hours agoHome is Where The Great Pacific Garbage Patch is | Ep. 148
75.4K7 -
5:32:24
Drew Hernandez
1 day agoTHE CURRENT STATE OF MAGA 2025 W/ GUEST: OWEN SHROYER
42.5K25 -
34:21
Stephen Gardner
10 hours agoThey have NO IDEA what they just UNLEASHED!!
42.9K78 -
3:08:15
Decoy
10 hours agoFinally
53.7K15 -
2:55:01
TimcastIRL
10 hours agoTrump Calls Democrat RETARDED, Whistleblower EXPOSES Democrat FRAUD | Timcast IRL
246K82