game-builder2.45 KB
View saved version →
---
name: game-builder
description: Game Builder — Build and ship browser games with PopNow. Use when the user wants a small game that runs in the browser, with pictures, music or sound made by PopNow, put online at a link they can share.
---
# Game Builder: build and ship browser games
PopNow hosts static browser games at a play link anyone can open. Use this flow when the user asks for a game.
## What PopNow can host
- Static files only: HTML, JavaScript, CSS, JSON, SVG and shaders as text, up to 2 MB of text, with `index.html` at the top level.
- Pictures, audio, video and 3D models come from PopNow results (popnow:// links) and are copied into the game.
- The game runs in a sandbox on its own domain. It can load scripts and fonts from cdn.jsdelivr.net, cdnjs.cloudflare.com, unpkg.com, esm.sh and Google Fonts. It can't call other servers, use cookies, open pop-ups or register service workers. localStorage works for the session; create Web Workers from blob: URLs.
- No server code, logins, payments or multiplayer backends. If the user needs those, say PopNow game hosting can't do it.
## Steps
1. Agree on the idea in a sentence or two: what the player does, how to win or lose, and controls for keyboard and touch.
2. Write the game yourself, as a single `index.html` when it fits (more files are fine). Use relative paths such as `assets/background.png`.
3. Art and sound, only if the user wants them: make each piece with a PopNow tool (`create_image`, `remove_background` for sprites, `create_music`, `create_sound_effects`, `create_3d`). Every paid call quotes first: tell the user the price, wait for a yes, then call again with `max_credits` and `confirmation`. Group several pictures with `run_batch` for one quote.
4. Put it online: call `deploy_game` with every text file in `files` and each path your code loads mapped to its popnow:// link in `assets` (match the extension to the kind of file: .png or .webp for pictures, .mp3 for audio, .mp4 for video, .glb for 3D). Deploying uses no credits.
5. Give the user the play link. To ship a fix or an update, call `deploy_game` again with the same `game_id`; the new version replaces the one at the link, so check with the user first.
6. Only if the user asks to list it publicly: call `publish_game` with a title, a one- or two-sentence description and a cover picture (a popnow:// image or a picture inside the game). It is reviewed before it appears in the PopNow game market; until then it stays playable by its link.
popnow6.41 KB
View saved version →
---
name: popnow
description: Route PopNow requests and presets. Use when the user wants pictures, video, music, voiceovers, sound, 3D, ads or studio pieces made with PopNow, or types a shortcut such as /image, /video, /music, /voice, /effect, /style, /ad, /film, /game or /canvas.
---
# Route PopNow requests
Pick the PopNow tool that fits the request, check the options first when the user wants a specific look or model, and always get the user's yes to the price before anything paid runs.
## Shortcuts and intents
| The user says | Call |
| --- | --- |
| /image, "make a picture", a poster, a product shot | `create_image` (add `style` for a ready-made look, `character_id` for a saved character) |
| "change this photo", new outfit or background | `edit_image`; one-step fixes have their own tools: `remove_background`, `upscale`, `erase_object`, `expand_image`, `change_camera_angle`, `change_pose`, `relight_photo`, `remove_shadow`, `anime_to_real`, `split_layers` |
| /style, "what looks do you have" | `list_presets` (kind `styles`), then `create_image` with `style` |
| /effect, "zombie", "tiny planet", "make my photo dance" | `list_presets` (kind `effects`), then `apply_effect` |
| /video, "bring this photo to life" | `create_video`; several reference pictures: `create_video_from_references`; longer: `extend_video`; change a clip: `edit_video` or `edit_video_region`; copy a dance: `copy_motion`; a sketch: `draw_to_video` |
| /music, a song or a jingle | `create_music` (pass `lyrics` only when the user wrote them) |
| /voice, a voiceover or narration | `list_voices`, then `create_speech` with the user's exact words; design a new voice: `design_voice`; two-host podcast: `make_podcast` |
| sound effects or audio stems | `create_sound_effects`; sound that matches a video: `add_sound`; split vocals/music or clean speech: `separate_stems` |
| a talking presenter, dubbing, lip-sync, a new voice | `make_talking_avatar`, `translate_video`, `lip_sync`, `change_voice` |
| a 3D model | `create_3d` |
| /ad, a UGC or creator-style ad | `list_ad_options` (optional), then `make_ugc_ad` |
| /film, a brand film or TVC | `make_brand_film`; a short narrated explainer: `make_explainer` |
| an interactive web page (3D explainer, product launch page, kinetic loop, poster) | `make_page` (plan first, then build and publish with `plan_id`) |
| a marketing template with the user's product | `list_studio_templates` (studio `marketing`), then `recreate_template` |
| a story ad from a studio template | `list_studio_templates`, `create_project`, `add_project_material`, `get_project_plan`, `produce_project`, `get_project` |
| a whole multi-step piece | `list_playbooks`, then `use_playbook`; `run_playbook_step` when a step says PopNow makes it |
| "in a particular style" (launch video, deck, landing page) | `find_skills`, let the user pick, then `use_skill` |
| prompt inspiration or picking a model | `search_prompts` for inspiration; `find_model` or `list_models` to pick a model |
| /game, a browser game | follow the Game Builder skill (`deploy_game`, then `publish_game` if asked) |
| /canvas, "put it on my board" | `list_canvases`, `get_canvas`, `add_to_canvas`, `open_canvas` |
| library, collections, trash | `search_assets`, `organize_assets`, `save_collection`, `delete_collection`, `trash_assets`, `restore_assets`, `purge_assets` |
| sharing, community, challenges | `share_link`, `revoke_share_link`, `browse_community`, `publish_to_community`, `like_post`, `withdraw_post`, `list_challenges`, `enter_challenge`, `withdraw_challenge_entry`, `list_published` |
| account, defaults, feedback, slash shortcuts | `get_profile`, `get_settings`, `update_settings`, `send_feedback`, `resolve_command` |
| finish an edit from several pieces | `compose_video` (no credits); new shape for another platform: `reframe_video` |
| many versions at once | `run_batch` with the same tool, then `get_batch` |
| a popnow.ai/h/ link | `open_handoff` first |
## Before choosing a model o
Preview of the first 4,000 characters. Read full instructions →