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.
-
53:14
Candace Show Podcast
2 hours agoThe MOST MORAL Blackmail In The World | Candace EP 231
18.8K66 -
1:11:28
vivafrei
4 hours agoMatt Taibbi Getting "Westfalled"? Kathy Hochul Fighting for Illegals! Mamdani Minority Report & MORE
70K28 -
2:03:39
Pop Culture Crisis
4 hours agoWTF Happened to Miley Cyrus? HARRY POTTER Set Images, Sydney Sweeney Hater EXPOSED | Ep. 901
18.4K17 -
10:17
MattMorseTV
4 hours ago $5.37 earnedTrump's DOJ just DROPPED a NUKE.
23.8K30 -
11:07
Politibrawl
12 days agoRepublican rising star DESTROYS theatrical Democrat in front of the entire world
66.7K28 -
DVR
StoneMountain64
5 hours agoOnly game with BETTER desctruction than Battlefield?
45.7K -
4:51:37
Viss
6 hours ago🔴LIVE - Viss & Dr Disrespect Take on The 5 Win Minimum PUBG Challenge!
21.7K2 -
LIVE
sophiesnazz
2 hours ago $0.52 earnedLETS TALK ABOUT BO7 !socials !specs
35 watching -
1:12:05
The Quartering
5 hours agoToday's Breaking News!
82.3K43 -
8:20:24
GritsGG
8 hours agoWin Streaking! Most Wins 3390+ ðŸ§
53.6K2