No Game Engine Game Dev: Word Sleuth 040: Finishing Tooltips then starting replay saves
Streamed on 2024-08-29 (https://www.twitch.tv/thediscouragerofhesitancy)
Game Engines are for sissies!
From yesterday we had a good start on Tooltips. Today I ran through the list of things I wanted to finish to make them more polished. Overall this was a pretty straightforward list of small tasks and didn't take very long.
Tangentially, I made some updates to EggTimer to handle callbacks when it "dings" and also loop if we want. With the new callbacks and looping I went through the uses of EggTimer and if appropriate, made it use the callback. Mostly this was the banner timer in GameScene and the blinking cursor timer in TextEdit. Not a huge effort, but the code is a bit cleaner.
With that out of the way, I had time to do a bit of design around Replays and start preparing the way for saving Replays and getting ready to watch Replays. There are some values we were getting from GameContext which will have to come from the Replay when we watch one. There are also the user actions that have to be recorded all going through a common point in code, and in a way that we can record and playback. This is being done now by going through an "addEvent" method that takes an OpCode and variable argument list. There is a switch on the OpCode, then the vargs are processed as needed and the appropriate methods dispatched. This is a solid base for what we need.
-
54:06
hickok45
18 hours agoSunday Shoot-a-Round # 249
34.6K60 -
1:33:51
Abigail Joy
4 hours agoHow To Fight Back, What Will Jolt Bitcoin Next?, El Salvador Has Got It On Lock, DARK MAGA ELON
31.4K1 -
7:20:58
Akademiks
12 hours agoKendrick Lamar Submits Not Like Us & Euphoria for Grammys. Drake Calls out Fake Friends.PRE HITLIST?
146K37 -
LIVE
Right Side Broadcasting Network
3 days agoLIVE REPLAY: President Trump Holds a Rally in Juneau, WI - 10/6/24
3,617 watching -
1:59:02
The Quartering
11 hours agoDonald Trump LIVE In Wisconsin! Kamala Harris Losing Ground & Panics!
123K24 -
2:23:03
WeAreChange
12 hours agoWhite House SNUBS Hurricane Victims! Sends $157 MILLION To Lebanon
89.2K110 -
5:06:14
Drew Hernandez
19 hours agoTRUMP RALLY WI & KAMALA SENDS $160 MILL TO LEBANON
85.4K51 -
1:26:33
Sports Wars
14 hours agoAlabama UPSET By Vanderbilt, MLB Playoff Shockers, Davante Adams WANTS OUT Of Vegas | NFL Week 5
99.7K4 -
1:40:37
The Breanna Morello Show
1 day ago $1.62 earnedLIVE STREAM: Hurricane Helene Update on Sunday at 10am ET
97.3K94 -
7:00:33
Vigilant News Network
1 day agoBone-Chilling Flood Disaster Details Emerge | The Daily Dose
148K180