Premium Only Content

No Game Engine Game Dev: Word Sleuth 046: Starting playback of replays
Streamed on 2024-09-10 (https://www.twitch.tv/thediscouragerofhesitancy)
Game Engines are for sissies!
Today I started playing back the replays. Step 1 was to disable user inputs. This turned out to be quite simple because of the way the code was structured. We added a Stopwatch to Replay and an event callback mechanism and some basic controls. It wasn't too long before things were starting to happen on their own.
Of course there were a few bumps in the road. For example, at first I was starting at the beginning of the playback buffer, not the beginning of the Events section. For another, there wasn't a mechanism for selecting a word from an RNG seed value. But the biggest challenge was waiting while the level transitioned after guessing a word correctly. I tried a couple of different ways to get the info I needed, but the Stopwatch in the level was not fit for that purpose. In the end I highjacked the Stopwatch in Replay that is used for playback. While recording, it is available, so a simple pair of Freeze, and Thaw commands during recording was able to measure a duration, then I inserted a Wait instruction into the replay. During playback, the Wait command just did what was written on the tin, and it was glorious.
-
LIVE
Lofi Girl
2 years agoSynthwave Radio 🌌 - beats to chill/game to
213 watching -
2:19:50
Akademiks
5 hours agoDrake Lawsuit Dismissed by Federal Judge. What does it Mean.... for the boy.
126K9 -
1:01:38
DeVory Darkins
14 hours ago $48.77 earnedSchumer suffers humiliation as critics applaud Trump's historic peace deal with Tim Pool
110K56 -
56:09
Steven Crowder
19 hours agoBlack Fatigue is Real and I Told Them Why | Black & White on the Gray Issues
518K2.21K -
2:05:36
Inverted World Live
11 hours agoSaint's Tomb Opened for First Time in 800 Years for Ancient Ritual | Ep. 121
102K18 -
2:43:30
TimcastIRL
9 hours agoNY AG Indicted For FRAUD, Faces 30 Years In Prison, $1 MILLION FINE | Timcast IRL
228K110 -
1:09:16
Man in America
19 hours agomRNA 2.0: This Frightening Tech Can Target Your BRAIN Using Biological Post Codes
60.3K22 -
1:28:31
The Charlie Kirk Show
8 hours agoTHOUGHTCRIME Ep. 100 — Turning Point Halftime? Potatoes and Katie Porter? Hasan the Dog Shocker?
119K61 -
6:33:19
SpartakusLIVE
10 hours agoNEW Update, NEW Meta || Zombies Mode is BACK - Smokes NURFED
70.8K5 -
13:10
Robbi On The Record
8 hours ago $9.53 earnedThe War on Christians | China’s Surveillance & Nigeria’s Killing Fields
49.5K36