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.
-
Michael Heaver
10 hours agoShifting UK Triggers Rapid REVOLUTION
114 -
58:53
The White House
2 hours agoPress Secretary Karoline Leavitt Briefs Members of the Media, July 31, 2025
1.66K7 -
5:48:07
JuicyJohns
6 hours ago $2.43 earned🟢#1 REBIRTH PLAYER 10.2+ KD🟢$500 GIVEAWAY SATURDAY!
55K3 -
LIVE
IrishBreakdown
1 hour agoNotre Dame Fall Camp Practice Report
80 watching -
1:04:08
Timcast
2 hours agoPelosi MELTS DOWN After Trump Accuses Her Of INSIDER TADING, PELOSI ACT Moves Forward
111K63 -
1:54:53
Steven Crowder
5 hours ago🔴 Is the Sig Sauer P320 Killing People & Trump Wins the Trade War: Guest Brandon Herrera
249K213 -
1:09:57
Rebel News
1 hour agoCanada to recognize Palestine, US trade deadline looms, Charter-protected bike lanes | Rebel Roundup
4.22K3 -
DVR
TheAlecLaceShow
2 hours agoGuest: Roger Stone | Kash Patel Finds Hoax Docs in Secret FBI Room | The Alec Lace Show
5.19K3 -
1:43:37
The Rubin Report
3 hours agoWhy I’m Taking a Break
38.2K36 -
1:36:22
The Mel K Show
3 hours agoMORNINGS WITH MEL K -Truth Tsunami Alert: Panic in DC! 7-31-25
17.7K7