Premium Only Content

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.
-
LIVE
LFA TV
17 hours agoLIVE & BREAKING NEWS! | FRIDAY 10/10/25
1,327 watching -
1:09:03
vivafrei
4 hours agoCriminals Are Getting Nervous! Democrats Can't Give Trump Credit! AND MORE!
72.4K23 -
12:56
Dr. Nick Zyrowski
8 days agoFasting Is THE Cure: No Food For 2 Days Is The Perfect Fast! (Here’s Why)
6.3K4 -
LIVE
Badlands Media
16 hours agoMAHA News [10.10]: Cannabis Reform, Kennedy Exposes "Vaccines Saved Lives", An Inconvenient Study
560 watching -
1:51:23
The Quartering
4 hours agoTrump Snub Backfires, Matt Walsh Sounds The Alarm, Candace Owens Theory On Charlie Kirk
104K42 -
LIVE
Owen Shroyer
1 hour agoOwen Report - 10-10-2025 - Qatari Airbase In America Angers Israeli Lobby
1,274 watching -
1:14:53
DeVory Darkins
4 hours ago $14.74 earnedDemocrat Candidate leaves crowd DUMBFOUNDED as Trump scores MAJOR VICTORY
67.7K20 -
1:12:16
Sean Unpaved
4 hours agoTNF Shocker: Giants Stomp Eagles, Cubs Claw a Game 5, Weekend NFL/CFB Best Bets!
29K6 -
1:25:05
HotZone
9 hours ago $3.21 earned5 Signs Terrorists are Plotting a Massive US Strike
17.7K11 -
1:05:42
Dear America
5 hours agoShould Christians Celebrate Halloween?
30.6K16