No Game Engine Game Dev: Word Sleuth 068: Cleaning up the loose ends on Replay/Playback

1 month ago
6

Streamed on 2024-10-17 (https://www.twitch.tv/thediscouragerofhesitancy)

Game Engines are for sissies!

Yesterday we ended with the new Replay stuff kind of working. Today I started with finishing up the new Replay and removing the old replay components. Some of the issues were related to the fact that I could use my cheating buttons when the user should not have been able to do input. Once that cheating input was blocked at the right times a lot of things worked much better. Then a couple of small items: don't allow user clicking the Notebooks in Playback, removing books from the shelf when they reset or go back to the previous word, clearing the game clock at the right time in the PlaybackControls, and some time tracking wasn't quite right, as a result of m_timeDelay and m_timeWaited not being clear in my head. Once straightened out, things look quite nice. A bit of layout touchup on the panel and adding one piece of information (which word of the run we are looking at) and the PlaybackControls panel is done.

There was a bit of time left so I tackled the TextEdit cursor not updating when text size or font change. What I put it in is a bit manual and, but I don't want to get too side tracked right now. One of the perks of being a solo-dev.

Then there was still a bit of time left, so I reworked Text and Font to handle float for font size. The code was basically all done when a child of mine unplugged the internet router. There wasn't enough time left to be worth restarting the stream, so I spent 9 more minutes testing to wrap it up. But it all worked the first time. Good job, Me! I may get employee of the month if I keep this up.

Loading 1 comment...