Premium Only Content

No Game Engine Game Dev: Word Sleuth 098: Switching between Chalkboard Doodads
Streamed on 2024-12-11 (https://www.twitch.tv/thediscouragerofhesitancy)
Game Engines are for sissies!
There are now five Chalkboard doodads. My original plan was to randomly select one and start it each time you start a new game, but I have changed my mind. Instead, we are going to start with none of them active, then you can choose one to start. You will also be able to stop the running one.
To accomplish this, I moved some of Doodad tracking out of GameContext and into GameScene. I made a piece of chalk and a chalk eraser and some chalk "buttons" to click on. Clicking on the chalk brings up the chalk "buttons", where each one has a logo indicating which doodad it represents. Clicking one of them will hide the menu and load the indicated doodad. Clicking the eraser either hides the menu or stops the current doodad.
The last piece was to make the doodads re-loadable so when you load one that you had already interacted with, it still loads in a good state. This was just moving a bit of code around from where things were initialized into the part that turns the doodad on. And that is the end of doodad work!
There was enough time left to tackle a couple of easy loose ends. I added a check to the surrender function to see if any guesses had been made. If not, it doesn't reveal the answer and is slightly more insulting. Lastly, switching between Notebooks feels bad if you click too fast; the pen can desync from the notebooks and pop. So I suppress the Notebook clicking actions while the pen is flying around or the Notebooks themselves open/close. It feels much better.
-
LIVE
Drew Hernandez
8 hours agoTRUMP'S GAZA PEACE PLAN PHASE 1 & TRUMP THREATENS PUTIN WITH TOMAHAWKS
736 watching -
1:18:38
Glenn Greenwald
7 hours agoProf. John Mearsheimer on Trump's Knesset Speech, the Israel/Hamas Ceasefire, Russia and Ukraine, and More | SYSTEM UPDATE #530
107K64 -
2:21:37
Tucker Carlson
5 hours agoAlex Jones Warns of the Globalist Death Cult Fueling the Next Civil War and Rise of the Antichrist
81.4K362 -
12:35
Clownfish TV
13 hours agoJimmy Kimmel Return NOT Helping Disney AT ALL! DIS Stock Keeps Falling! | Clownfish TV
31.3K6 -
LIVE
Eternal_Spartan
7 hours ago🟢 Eternal Spartan Plays Final Fantasy 7 Rebirth Ep. 10 | USMC Vet
340 watching -
2:10:42
RiftTV
8 hours agoTrump SECURES Hostages, ACCIDENTALLY Admits Foreign Gov CONTROLS Him? | The Rift | Gerald Morgan Jr.
52.3K41 -
LIVE
Phyxicx
4 hours agoStarting Dead Space 2 - 10/13/2025
186 watching -
9:29:38
Dr Disrespect
14 hours ago🔴LIVE - DR DISRESPECT - BATTLEFIELD 6 - JET CRASHES, EXPLOSIONS, 360 NO-SCOPES
156K7 -
2:50:08
megimu32
4 hours agoOTS: Wait... They Were in THAT?! Famous Actors’ Forgotten Roles!
15.6K3 -
21:44
Jasmin Laine
8 hours agoTrump Haters SILENCED—Historic Peace Deal PROVES Them ALL Wrong
23K18