You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/docs/prompts/shape-spinner-custom.md
+93Lines changed: 93 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -309,3 +309,96 @@ new Phaser.Game(config);
309
309
***Rotating box**: first half fill; second half `rotateAround(cx, cy, angle)`.
310
310
311
311
> This document provides **all authority information GPT needs**—no external files required.
312
+
313
+
---
314
+
315
+
## 10) Build a Live Demo (drop-in `.html` that runs immediately)
316
+
317
+
> **Goal**: In addition to `Add<SpinnerName>Spinner(...)` and the minimal scene, include a **complete HTML file** in the reply. Save as `demo.html` and open in a browser to see the spinner.
318
+
319
+
**Rules (bake these into your reply template):**
320
+
321
+
1. Load Phaser 3 from the official CDN.
322
+
2. In `preload()`, load the rexSpinner scene plugin using `this.load.scenePlugin(...)` (GitHub raw URL).
323
+
3. In `create()`, call the just-generated `Add<SpinnerName>Spinner(...)`.
324
+
4. Emit the HTML below and replace the `<Add...>` call, its parameters, and colors to match the user’s request.
> When delivering, replace the `AddOrbitDotsSpinner(...)` call and the function body above with the spinner you generated for the user, and the demo will run instantly.
0 commit comments