![]() |
| Intervention - game victory conditions. |
In this blog post, I continue a series of posts documenting how I have used Google's Playground software to vibe-code a science fiction time travel game called Intervention. This blog post is Part 14 of a series of blog posts about how the game Intervention was built. Parts 1 - 13 of the series are here: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13.
Is there anything more frustrating than computer software that confuses its user? While building the came Intervention, I included an Instruction Manual. However, I wanted to have "Help" buttons on the game pages that could link the game player to the most relevant part of the Instruction Manual. On this blog page I describe several edits that added "Help" buttons to pages in the game Intervention, but first I provide a look at the rules for awarding game players with game points.
Point System. When the game Intervention was first begun by Playground's AI agent, the player earned points by blasting aliens 👽. I never suggested to Playground's AI agent that my game should include blasting aliens; that's just what the AI spontaneously decided to do. I've begun the process of making new ways for the game player to earn points by taking actions that actually involve time travel (see the Time Loop). Below, in Figure 1, is the Playground AI agent's description of how the game player can earn points in Intervention...
![]() |
| Figure 1. Intervention points system. |
![]() |
| This image was uploaded to Playground. |
Me: In the main "Future Earth" gameplay window there is a grouped palette of three buttons along the left side of the game window that is labeled "COMMANDS" (see the attached screenshot). In that grouped palette of buttons, increase the font sizes of the text labels, "COMMANDS", "SPEED", "Manual", "Technology" and "Tree" so as to fill the available blank space in that button palette. Remove the horizontal line between the text "Technology" and "Tree". Move the text "Tree" slightly to the right so that the letter "T" in the word "Tree" is directly under the letter "T" in the word "Technology". Add a forth clickable button to the bottom of that button palette and label it "Help". If the "Help" button is clicked by the game player, then a pop-up window frame opens that contains the following text: "The only way you can lose the game is by leaving the sector nodes understaffed. Sequentially click on each of the six sector nodes and while each node is selected, press the [E] key to position a tactical agent at the node. Tactical agents are teleported to nodes and each teleportation event requires energy. If you run out of energy, teleportation of additional tactical agents will pause until more energy accumulates." Also in that pop-up window frame, include an image showing the appearance of a sector node. While the "Help" pop-up window frame is open, gameplay is paused. Include in the "Help" pop-up window frame a button that closes the "Help" pop-up window frame and re-starts the gameplay.
![]() |
| New "Help" pop-up window frame. Tyhry (left) and Manny (right) added by me. |
![]() |
| Image uploaded to Playground. |
AI: Updated the left-side COMMANDS palette in Future Earth (App.tsx) with larger typography for COMMANDS, SPEED, MANUAL, Technology, and Tree, removed the horizontal divider line while aligning the T in Tree directly beneath the T in Technology, and added a fourth Help button that pauses gameplay and opens a pop-up displaying the Sector Node image (icon_sector_node.png), staffing/teleportation instructions, and a close button to resume gameplay.
Me: Modify the left-side COMMANDS palette in the "Future Earth" main gameplay window with larger typography for the numerical feature that is included in the button that is labeled "Technology Tree" (see the attached screenshot). Double the font text side for the numbers that indicate what fraction of the 34 available technologies have already been researched.
AI: Updated the Technology Tree button in the left-side COMMANDS palette (App.tsx) to double the font size of the researched-technology fraction badge ({researchedTechs.length}/34) cleanly alongside Tree, while keeping the T in Tree aligned beneath Technology with zero clipping or wrapping. The updated build passed QA verification and has been published.Me: In the previous edit, there was an increase (to 133% of its previous size) in the width of the COMMANDS palette, and now the COMMANDS palette extends too far to the right into the "Future Earth" gameplay window. Return the width of the COMMANDS palette to its previous, narrower width. In the "Technology Tree" button, move the numerical feature that is included in the button (that indicates what fraction of the 34 available technologies have already been researched) to a new position in the lower left corner of that button, below the word "Tree".
![]() |
| Tyhry and one of her replicoid copies. Image generated by Leonardo. |
Me. For over a week, every time I saved ("published") a new version of the game Intervention, a new launch-screen image was generated. This no longer happens, but there is a button I can press that allows for generation of a new image. Today, the newly-generated images started having speech bubbles for Dr. Vance, as seen in the image below.
![]() |
| The main image was generated by Playground. I added Tyhry, Manny and the speech bubble inset image. |
Me: At the bottom of the game window titled "Eddy's Reality Viewer" there is a set of four clickable buttons labeled: "Open 1942 Biochem Lab", "Open 1989 Bookstore", "Enter Ekcolir Reality", and "End Viewing". Move the "End Viewing" button to the top header window frame of the game window. Delete the three redundant "Open 1942 Biochem Lab", "Open 1989 Bookstore", "Enter Ekcolir Reality" buttons from the bottom buttons window frame, while retaining the other copies of those buttons that are higher up in the game window.
AI: Updated Eddy's Reality Viewer (CasanayGreatRoomModal.tsx) to move the "End Viewing" button into the top header bar and remove the bottom footer frame containing the redundant "Open 1942 Biochem Lab", "Open 1989 Bookstore", and "Enter Ekcolir Reality" buttons while retaining those primary buttons inside the upper Reality cards. The updated build passed QA verification and has been published.Me: In the game window titled "Eddy's Reality Viewer", there is this text: "16:9 Showcase Ready". Change that text to: "1989 Bookstore."
AI: Updated "Eddy's Reality Viewer" (CasanayGreatRoomModal.tsx) by replacing "16:9 Showcase Ready" with "1989 Bookstore.", verified the build with QA, and published the updated game.
![]() |
| Tyhry and her robot. |
AI: Updated Eddy Watson's speech pop-up frame inside the Casanay Great Room (CasanayGreatRoomModal.tsx) to double its width (to 760px/840px, safely bounded to the viewport) and enlarged the typography across the speaker caption, headers, spoken dialogue, topic buttons, and close button for easier reading. The build passed QA verification and has been published.
Me: Add a "Help" button in the top header window frame in the game window titled "Simulation of the 1942 Biochemistry Laboratory". When that "Help" button is clicked, it opens a pop-up help window frame that has this text: "Sequentially move your Tactical Agent to the position of each of the three alien technology devices on the lab bench. After Vance explains each device, Manny the bumpha will arrive inside the Simulation."
![]() |
| Uploaded to Playground. |
Me: In some cases, game text is shown backwards. In the attached screenshot, the text "CASANAY ARCHIVES" has a backwards orientation when displayed in the Casanay great room game window. This text is associated with the game player's tactical agent sprite. When the sprite faces to the left side of the game window, the text is backwards. All game text should be displayed in the normal orientation, NOT backwards.
AI: Fixed the horizontally mirrored canvas text across all scenes (CasanayGreatRoomModal.tsx, CasanayBasementModal.tsx, VythothLabModal.tsx, TyhryLabModal.tsx, HierozymeLabModal.tsx, TimeVaultModal.tsx, and App.tsx) by drawing "CASANAY ARCHIVES" and all companion holographic/telemetry labels outside the ctx.scale(-1, 1) transform so all game text always reads left-to-right regardless of sprite facing direction. The updated build passed QA verification and has been published.
| This image was uploaded to Playground. |
AI: Unified the walkable tactical agent in "Simulation of the 1942 Biochemistry Laboratory" (FoundationReality1942Modal.tsx) so both standing and moving poses render from the same spritesheet_agent_tactical_idle asset at consistent dimensions—freezing on frame 0 when stationary and animating smoothly when moving with no change in height, jumpsuit, or hairstyle. The updated build passed QA verification and has been published.
![]() |
| Zeta Gohrlay and the tactical agent. |
![]() |
| Updated speech window frame. |
![]() |
| Uploaded to Playground. |
![]() |
| The avid science fiction reader (left). |
- Simulation of Manny the bumpha's Office. (MannyManagerOfficeModal.tsx) Doubled the tactical agent sprite's on-screen height (400x400, preserving the 1:1 512x512 frame ratio and stationary frame-0 freeze) with updated walkable vertical floor bounds so she matches the executive office backdrop cleanly.
- Simulation of a 1989 Bookstore. (BookstoreSimulationModal.tsx). Removed the static doorway-adjacent Avid Science Fiction Reader hotspot and added the animated Reader Sprite (new_asset_1795718907578_idle / new_asset_1795718907578_walk) onto the central bookstore floor—standing idle until your tactical agent begins walking, then wandering across the visible bookstore floor and opening the existing Avid Science Fiction Reader speech pop-up when approached. Me: In the game window titled "Simulation of a 1989 Bookstore", only open the speech pop-up window frame for the Avid Science Fiction Reader one time. After the game player's tactical agent has spoken to the Avid Reader, automatically walk the "Reader Sprite" to the most upper left hand part of the game window that still corresponds to Bookstore floor area in the game window's background image. AI: Updated "Simulation of a 1989 Bookstore" (BookstoreSimulationModal.tsx, CasanayGreatRoomModal.tsx, and App.tsx) so the Avid Science Fiction Reader speech pop-up opens only once (persisted across Manny's office and room transitions until a new game). After your tactical agent finishes speaking with the Avid Reader, the Reader Sprite stops wandering and automatically walks along the bookstore floor to the upper-leftmost bookstore floor area ({ x: 365, y: 520 } in bookstore_1989_fullbleed_interior.png), then switches to its idle pose. The updated build passed QA verification and has been published.
Me: In the game window titled "Simulation of Manny the bumpha's Office", make two changes. (1) Change the spawning position of the tactical agent sprite to the extreme lower left hand corner of the game window. (2) Move the position of the on-screen active area titled "ENTRANCE DOORWAY" to the extreme lower left hand corner of the game window.
![]() |
| Tyhry and Manny the bumpha added manually. |
Me: In the game there are are several of the numbered entries in the game Instruction Manual (also known as the "Intervention Field Manual") that refer to one specific game window. Create pop-up "Help" window frames for all such game Instruction Manual entries. Example: entry #10 in the game Instruction Manual is titled: "The Hierion Domain & Phari Telepathy Resonance Test". Entry #10 in the game Instruction Manual refers specifically to the game window that is titled: "The Hierion Domain". Edit the game so as to add a new clickable button labeled "Help" to the top header window frame of game window that is titled: "The Hierion Domain". When the game player clicks on that "Help" button, the action is to open a new pop-up window frame that displays for the game player the contents of entry #10 from the game Instruction Manual. That pop-up window frame has both a "Close" (X) button and a "Return to Gameplay" button.
![]() |
| Tyhry making the companion robot. |
Note: that last edit, above, took about 20 minutes. The Playground AI agent seemingly added new "Help" buttons to about 15 game windows during that single edit. The image below shows the "Help" pop-up for the 1942 Biochemistry Laboratory Simulation, which correctly incorporated the help text that I provided in an earlier edit:
![]() |
| "Help" pop-up window frame for the 1942 Biochemistry Laboratory Simulation. |
Next: finding new ways to build time travel adventure into the game Intervention.
![]() |
| The Playground AI generated an image that depicts sending a message back through time during the game Intervention in order to help guide Tyhry Watson into the future, earning the game player 10,000 bonus points. I modified the AI-generated image to include Tyhry and Manny the bumpha and the text in red. |























No comments:
Post a Comment