This blog post is Part 17 of a series of blog posts about how the game Intervention was built. Parts 1 - 16 of the series are here: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16.
![]() |
| Tyhry (right) and Klaudy. Image by Leonardo. |
I'm rather amazed at how bad Chrome browser is at working with Playground. I was just playing a game of Intervention using Chrome and when I exited from Full Screen Mode, I saw a Playground pop-up message saying that the latest edit of the game had passed its review. I closed that pop-up message and that crashed the game. 😒
![]() |
| The new screen that was Added to Playground today. This is seen after "publishing" a new game edit. |
Today, there was a dramatic change in the way Playground behaves when a game edit is "published". It used to show a misleading "publish" button in the interface while it was reviewing the latest edit. Now a whole new window appears (see the image that is above this paragraph). This gives me hope that Jimmy the Google intern did not take off from work this Thanksgiving weekend and is still at work fixing bugs in Playground.
As seen above in Figure 1, I also noticed a change in the behavior of the game launch windows. Previously, all the text was to the left. It still is that way in Firefox browser, but now in Chrome the "Play now" button is more centered. I brightened the left hand side of the AI-generated image in Figure 1 to make it easier to see the "back room" of the spaceship HySy.
![]() |
| Tyhry and Klaudy and aliens. Image by Leonardo. |
![]() |
| The original Playground-generated image was modified by me to add Klaudy (left), Tyhry, Vythoth the Fru'wu, Manny the bumpha, the young Tyhry's replicoid (holding a book) and a Phari (right). |
![]() |
| Robot junkyard? |
AI: Updated the Level 1 1942 Biochemistry Research Laboratory viewer window (CasanayGreatRoomModal.tsx, FoundationReality1942Modal.tsx, App.tsx, and Entry #13 in src/data/manualEntries.tsx).
- Changed the window title to "Now Viewing the Foundation Reality 1942 Biochemistry Research Laboratory" and renamed the exit button to "View Other Realities".
- Added persistent hasVisited1942Simulation tracking so that once the player has entered the 1942 simulation, both "Enter Simulation" buttons stop flashing and the "View Other Realities" button flashes instead.
![]() |
| Image uploaded to Playground. |
- Tactical Agent Spawn. Moved both the initial spawn and return-from-Manny spawn vertically to the bottom of the game window (y = 755, extending walkable floor bounds to y = 768).
Return to the Reality Viewer Marker: Moved the "Return to the Reality Viewer" active marker and hotspot vertically to the bottom of the game window (y = 736).
- Avid Reader Sprite Spawn. Doubled the Avid Reader (Reader Sprite) spawn distance from the bottom (y = 462).
- Avid Reader Final End Position. Shifted the post-dialogue resting position 30% further from the left edge (x = 475, y = 520).
- Manager's Office Doorway Marker. Removed the wireframe doorway graphic and cluttered plaque, replaced it with a clean single-line "Doorway to Manager's Office" active marker, and lowered it to half its previous distance from the bottom (y = 647).
![]() |
| Altered positions of elements inside the bookstore. |
AI: Found and fixed the arrow-key movement lock bug when returning from Simulation of Manny the bumpha's Office to Simulation of a 1989 Bookstore (BookstoreSimulationModal.tsx, MannyManagerOfficeModal.tsx, and App.tsx).
- Root Cause & Fix. Early return; exits inside the requestAnimationFrame movement loops could terminate the loop during doorway transitions, leaving movement permanently unresponsive alongside stale focus/key state and clamp mismatches around the return spawn. Both animation loops now stay alive safely across transitions, capture-phase keyboard listeners cleanly reset held keys and focus on return, and the return spawn stays strictly within walkable floor bounds.
![]() |
| Flow-generated image used to make the Phari sprite. |
![]() |
| Klaudy at Pacific Deep. |
(3) The third clickable button is labeled "Exit from the Hierion Domain." In game Level 4, in the game window titled "Pacific Deep Hierozyme Research Laboratory", when the game player's walkable tactical sprite speaks to Klaudy the Robot, a pop-up window frame titled "Klaudy the Robot's Discourse" opens. If the game player clicks on the button that is labeled "Ask about working alongside Tyhry Watson at Pacific Deep Sieve", then a pop-up message appears saying that the game player has earned 10,000 game points for completing the Time Loop, iff the game player has also completed the first part of the Time Loop in game Level 1 by visiting the Hierion Domain. If the game player has earned the 10,000 game points by completing the Time Loop, then when the speech frame titled "Klaudy the Robot's Discourse" closes, then the Alien Phari Sprite spawns in the lower left hand corner of the game window and walks to the position of the tactical agent sprite. The Phari tells the tactical agent sprite: "With your help, our prediction of the future has been validated. With the help of Klaudy, Tyhry has learned how to use hierozymes to solve Earth's global warming problem." When that pop-up speech window frame closes, the Alien Phari Sprite disappears from the game window, having returned to the Hierion Domain.
AI: Added the new Level 1 ↔ Level 4 Phari Time Loop (+10,000 game points) across Casanay Basement Workshop, the new Meeting with the Phari window, and Pacific Deep Hierozyme Research Laboratory.
- Level 1 (CasanayBasementModal.tsx & src/components/MeetingWithPhariModal.tsx).
- In "Tyhry's Research Transmission", clicking "Ask Tyhry about her plans for college" displays "I may study ocean microbe carbon sequestration at the University of Hawaii." alongside a new clickable "Message from the Phari" button to the right of that text.
- Clicking "Message from the Phari" opens the new "Meeting with the Phari" window (bg_hierion_domain.png and Hierion Domain Music), where the Alien Phari Sprite spawns in the lower-right and explores, followed 5 seconds later by your walkable tactical agent spawning in the lower-left. Reaching the Phari opens "Speak to the Phari" with "Will Tyhry go to Hawaii?", "Will Tyhry perform research on carbon sequestration?", and "Exit from the Hierion Domain.".
- Level 4 (HierozymeLabModal.tsx, App.tsx, & src/data/manualEntries.tsx):
- In "Pacific Deep Hierozyme Research Laboratory", clicking "Ask about working alongside Tyhry Watson at Pacific Deep Sieve" inside "Klaudy the Robot's Discourse" awards +10,000 bonus points and shows the bonus pop-up iff you previously visited the Hierion Domain in Level 1.
- Closing "Klaudy the Robot's Discourse" after earning that bonus spawns the Alien Phari Sprite in the lower-left corner to walk to your tactical agent, deliver the validation speech, and vanish back to the Hierion Domain upon closing the message.
Me: Investigate the game code for the game Level 1 game window titled "Casanay Basement Workshop". When the pop-up speech window frame titled "Tyhry's Research Transmission" is closed after the game player's tactical agent sprite has already spoken to the Phari inside the Hierion Domain, a bug can cause the Future Visitor Sprite to spawn and then freeze at its spawn location in the game window while the actions of the arrow keys have changed from (1) normal: allowing control of the walking of the game player's tactical agent sprite to (2) abnormal: pressing the arrow keys causes selection and high-lighting of several of the clickable buttons that are in the upper window frame that holds the game window title and several clickable buttons such as the one labeled "Help". Repair the code that can cause the Future Visitor Sprite to fail to automatically walk after spawning. The arrow keys should always allow the the game player to walk of the game player's tactical agent sprite when the game player's tactical agent sprite is visible in a window.
- Future Visitor Sprite Freeze Fixed. Wrapped the animation loops with live state/draw refs and clamped timing (dt >= 0), unlocked tactical agent movement while Manny walks in, and updated Manny's walk destination dynamically so he walks smoothly to the agent without stalling at spawn and triggers his Time Travel dialogue reliably.
- Arrow-Key Header Highlighting Fixed. Disabled modal focus-navigation on walkable 2D interior MenuOverlay containers, added tabIndex={-1} and active-element blur guards on header buttons (Help, etc.), wired isMeetingWithPhariOpen so returning from Meeting with the Phari or closing Tyhry's Research Transmission clears stale keys and restores canvas focus, and enforced capture-phase preventDefault() on Arrow/WASD keys whenever the walkable agent is active. Me: Examine the game code for the game Level 4 game window titled "Pacific Deep Hierozyme Research Laboratory". When the game player's walkable tactical sprite speaks to Klaudy the Robot, a pop-up window frame titled "Klaudy the Robot's Discourse" opens. If the game player clicks on the first clickable button in that pop-up speech window frame, then subsequently clicking on the second clickable button can result in a failure of the game player to complete the Time Loop that links game Level 1 to game Level 2. Upon completing both the required game Level 1 and game level 4 actions for the Time Loop, the game player should receive the 10,000 game point bonus regardless of what order the buttons are clicked in the "Klaudy the Robot's Discourse" pop-up window frame. Check the game code for a bug that allows clicking on the first button in the "Klaudy the Robot's Discourse" pop-up speech frame to interfere with completing the Time Loop. AI: Fixed the button-order bug in "Klaudy the Robot's Discourse" inside Level 4's Pacific Deep Hierozyme Research Laboratory (HierozymeLabModal.tsx). Clicking the first dialogue button ("Ask Klaudy how Pseudoalteromonas barosyntexis nano-teleports CO2 to Venus") or any follow-up science prompt now updates Klaudy's response while keeping "Ask about working alongside Tyhry Watson at Pacific Deep Sieve" persistently available in position #2. Regardless of which order the buttons in Klaudy the Robot's Discourse are clicked, clicking "Ask about working alongside Tyhry Watson at Pacific Deep Sieve" reliably awards the +10,000 bonus points, opens the 10,000-point Time Loop bonus pop-up, and queues the Alien Phari Sprite validation sequence when Klaudy's discourse closes (provided you visited Meeting with the Phari in Level 1).
![]() |
| Image uploaded to Playground. |
AI: Fixed the Level 2 ↔ Level 3 Causal Time Loop completion bug in Dr. Marda Onway, Ph.D.'s Discourse (TyhryLabModal.tsx and VythothLabModal.tsx).
- Button-Order Fix (TyhryLabModal.tsx). Kept all topic buttons—including "Ask about her collaboration with Tyhry Watson and Elyrix"—persistently visible and clickable regardless of what order buttons are clicked inside Dr. Marda Onway, Ph.D.'s Discourse, and prevented [Return]/Enter from accidentally re-triggering a focused topic button instead of dismissing the modal.
- Bidirectional Bonus Pop-Up (VythothLabModal.tsx). Added the dedicated +10,000 Bonus Points pop-up window frame to Level 2's Dr. Vythoth's Robotics Research Laboratory as well, so completing the loop in either order always displays the bonus announcement.
| This image was uploaded to Playground. |
AI: Fixed the broken Planet Koly image display in Level 6's "Interstellar Exodus Achieved" victory window (constants.ts, src/constants.ts, HySyConstructionModal.tsx, and VictoryModal.tsx).
- Registered bg_planet_koly (assets/images/bg_planet_koly.png, 1024x1024) in constants.ts and src/constants.ts and added preloading with complete && naturalWidth > 0 validation.
- Updated the Planet Koly View container in "Interstellar Exodus Achieved" to match the 1:1 square aspect ratio and safely fall back on error so no broken image icon appears.
With all of the game point bonuses for Time Loops, it was possible to win the game with a higher point total than ever before (see the image to the left). The "RyllaOnway" game player is the account that I use for Playground with Firefox browser. The game runs better with Firefox in a 15-year-old Intel chip Macintosh running under macOS 10.13 than it does with Chrome running under macOS 10.15 on a 7-year-old Intel core i5. I'm still using the EddyCWatson "Creator" account to build the game in Chrome browser.
Next: adding the final Time Loop to the game Intervention.


























No comments:
Post a Comment