Premium Only Content
No Game Engine Game Dev: Word Sleuth 051: Last tech debt, sound playback speed and practice mode
Streamed on 2024-09-18 (https://www.twitch.tv/thediscouragerofhesitancy)
Game Engines are for sissies!
The last item of tech debt that I tackled today was in the form of inconsistency. When I made compound components (Button, SpinBox, TextEdit) I was inconsistent in the way I implemented them. Some exposed the underlying components (mostly the Text sub-component) for direct manipulation. Others kept the component itself private and implemented delegate methods. I went through and just exposed the child components. If I was working with a larger team, I would consider the private/delegates approach. But I'm a solo developer on this and I trust myself not to screw it up, so this approach is easier.
That was the last of the technical debt for now, so we moved on to some improvements. The first was sound playback with respect to scaled time. The playbacks can be played at different speed. But the sounds were playing in real time, not scaled time. So we updated that. Speeding the sound up was pretty easy, but there was a bookkeeping issue that impeded the slowing down. Once I found that bookkeeping issue it worked pretty slick. It will work with any integer time scale factor or it's reciprocal (e.g. 1, 2, 3, 4, 1/2, 1/3, 1/4, etc.). Anything more would involve adding more complexity than I want to deal with.
There was still time to work, so I implemented a Practice game mode. In this mode you only guess one word, there are no replays and no highscores. Also, you can set the number of guesses. It runs the timer in case you are practicing for a Sprint run. Then to fill some time at the end I added more text to the AboutScene. All-in-all a very productive day.
-
9:06
Jamesons Travels
18 hours ago $0.04 earnedMilitary Veterans in Congress Tell Troops to Refuse Trump's Orders
4748 -
59:30
The White House
2 hours agoPress Secretary Karoline Leavitt Briefs Members of the Media, Nov. 20, 2025
19.8K10 -
2:06:37
Steven Crowder
5 hours agoJasmine Crockett's Epstein Idiocy & the Absolute State of the Democrat Party
459K282 -
LIVE
The Boomer Effect
15 hours agoBeyond Convenience: The Tyranny Behind Digital IDs
67 watching -
1:15:39
Sean Unpaved
2 hours agoAre Josh Allen & Bills On UPSET ALERT vs. Texans? | UNPAVED
19.6K -
2:06:44
Side Scrollers Podcast
3 hours agoRoblox Kids TRANS Game + Pokimane ROASTED AGAIN + More | Side Scrollers
27.5K7 -
2:05:47
The Charlie Kirk Show
2 hours agoTP Action Update + Mogadishu Minnesota + Replacing ObamaCare | Bowyer, Thorpe, Cremieux | 11.20.2025
53.7K6 -
3:08:29
Right Side Broadcasting Network
5 hours agoLIVE REPLAY: White House Press Secretary Karoline Leavitt Holds a Press Briefing - 11/20/25
49.6K9 -
1:08:05
Rebel News
2 hours agoCBSA refugee revelation, No oil tankers in BC, Notwithstanding clause debate | Rebel Roundup
16.5K2 -
DVR
TheAlecLaceShow
3 hours agoGuests: Scott Jennings, Senator Marsha Blackburn, Del Bigtree | The Alec Lace Show
10.3K6