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
Wayne Allyn Root | WAR Zone
7 hours agoWatch LIVE: The War Zone Podcast with Wayne Allyn Root
50 watching -
9:23
Red Pill MMA
10 hours agoCharlie Kirk Turned on Israel—Candace Has the Receipts!
1062 -
1:55:29
Redacted News
2 hours agoCharlie Kirk's Text Messages CONFIRMED ACCURATE by TPUSA, Days Before Assassination | Redacted News
99.2K82 -
1:02:11
DeVory Darkins
1 hour ago $3.58 earnedDemocrats suffers ANNIHILATION during heated hearing with Bondi as Jack Smith bombshell drops
6.99K25 -
40:59
Dad Saves America
23 hours ago $0.66 earnedThe Radical Left’s True Romance: Revolution & Chaos
4.95K10 -
1:07:42
vivafrei
5 hours agoJack Smith SPIED on GOP Lawmakers? Ottawa Trucker Protest Organizers SENTENCED! & MORE!
105K46 -
LIVE
LFA TV
20 hours agoLIVE & BREAKING NEWS! | TUESDAY 10/7/25
1,003 watching -
2:00:50
The Quartering
4 hours agoPam Bondi GRILLED, CIA Coverup, DEI Backfire & Taylor Swift Cancelled!
116K49 -
1:25:13
Awaken With JP
5 hours agoKirk Conspiracies Heat Up, Netflix Castrates Itself, and More!
60.6K52 -
LIVE
freecastle
6 hours agoTAKE UP YOUR CROSS- Press on toward the goal to win the prize for which GOD has called You!
128 watching