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.
-
2:05:52
TimcastIRL
5 hours agoTrump Russia HOAX DECLASSIFIED, Obama Officials EXPOSED In “TREASONOUS CONSPIRACY”
147K126 -
2:58:12
SavageJayGatsby
6 hours agoLockdown Protocol - Wedding in 3 Months! - Halftway to 100!
43.3K1 -
2:41:27
Mally_Mouse
9 hours agoFriend Friday!! - Let's Play! - Lockdown Protocol
34.9K4 -
9:43
MattMorseTV
8 hours ago $6.98 earnedTulsi just DROPPED a BOMBSHELL.
41.1K56 -
3:54:03
SynthTrax & DJ Cheezus Livestreams
17 hours agoFriday Night Synthwave 80s 90s Electronica and more DJ MIX Livestream Knight Ride Edition
26.9K3 -
2:31:18
Laura Loomer
8 hours agoEP134: EXPOSED: Microsoft Allowed China Access To DOD Cyber Systems
171K111 -
2:46:43
FusedAegisTV
9 hours agoRumble Smackdown! #004 Tekken 8 $100+ Online Tournament !bracket !prizepool
41.4K -
1:53:41
The Mike Schwartz Show
13 hours agoTHE MIKE SCHWARTZ SHOW Evening Edition 07-18-2025 with guest Congressman Buddy Carter!
43.6K39 -
3:59:07
DopeFrags
11 hours agoOne of the best survival games ever? | Grounded
12.9K -
1:03:43
Sarah Westall
7 hours agoPlanning is Over, War has Started: First Stage of Economic Global War: Commodities w/ Andy Schectman
28.8K4