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.
-
1:48:49
Badlands Media
15 hours agoDevolution Power Hour Ep. 416: The Rug Pull Cycle, False Signals & Narrative Discipline
370K44 -
1:06:11
Inverted World Live
15 hours agoA Ghost Ship in Washington, A Fire in Roswell | Ep. 155
83.3K14 -
3:06:55
TimcastIRL
11 hours agoDan Bongino To RESIGN, Trump Addresses The Nation
376K558 -
2:14:08
Barry Cunningham
10 hours agoLIVE BREAKING NEWS: President Trump Addresses The Nation! And More News!
72.6K31 -
5:15:27
ThatStarWarsGirl
12 hours agoTSWG LIVE: Discussing STAR WARS News with Special Guest Star Wars Theory!
52.1K5 -
2:42:40
Laura Loomer
10 hours agoEP162: LIVE: President Trump Addresses The Nation
71.2K33 -
1:32:05
Adam Does Movies
15 hours ago $12.45 earnedRob Reiner Films + Movie News + AMA - Live!
46.9K2 -
47:57
Professor Nez
14 hours ago🚨LIVE NOW: President Trump Addresses the Nation from the Oval Office
50.1K42 -
28:17
The White House
10 hours agoPresident Trump Delivers an Address to the Nation
125K166 -
4:44:53
Drew Hernandez
1 day agoTRUMP ADDRESSES THE NATION & BONGINO ANNOUNCES FBI DEPARTURE?
79.4K34