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.
-
3:08:15
Decoy
3 hours agoFinally
34.2K10 -
2:55:01
TimcastIRL
4 hours agoTrump Calls Democrat RETARDED, Whistleblower EXPOSES Democrat FRAUD | Timcast IRL
177K50 -
LIVE
Akademiks
3 hours agoMeg Thee Stallion spent $2 mil on lawyers to win $59k vs Milagro! 50 Cent BURIES Diddy. SNAKES HIM!
1,041 watching -
LIVE
SpartakusLIVE
4 hours agoI'M BACK from Florida || The RETURN to the Spartan Stronghold
355 watching -
1:38:45
Joker Effect
2 hours agoWhy is everything so DIFFICULT?! Cuffem, Gypsy Crusader, WVAGABOND is getting SUED?! IDuncle is mad!
16.1K1 -
54:46
Flyover Conservatives
22 hours agoInside the Kill Zones: Kidnappings, Camps & the War on Nigerian Christians Exposed - Judd Saul | FOC Show
20.6K1 -
1:02:35
MattMorseTV
4 hours ago $20.94 earned🔴We just got the CONFIRMATION.🔴
33.9K66 -
1:24:52
Glenn Greenwald
6 hours agoTrump Admin Preparing for New Regime-Change War Against Venezuela; Who Should Win Anti-Semite of the Year? See the Top 10 Finalists | SYSTEM UPDATE #551
112K64 -
23:12
Jasmin Laine
8 hours agoCBC TURNS on Carney—Poilievre Speech Goes VIRAL, ROASTS Canada’s Elites
25.6K17 -
1:16:21
The Daily Signal
7 hours ago $4.12 earned🚨BREAKING: Tim Walz Self-Destructs Over BILLIONS in Fraud Under His Watch, War Crime Allegations
23.4K6