COLOR TV CLIP CATALOG + SEQUENCE FORMAT (colortv-seq/1) ======================================================== WHAT LIVES HERE index.json the list COLOR TV shuffles through: {format, updated, clips:[{id,title,author,mode,file}]} .json one clip each PUBLISHING A CLIP 1. Animation Studio > File > Publish to COLOR TV... downloads .json and an updated index.json. 2. Drop both files into site/catalog/ of the colortv-dev project (or send them to Grok Bot). 3. Redeploy. The clip goes on everyone's TV. (It goes on air in your own browser right away.) A CLIP IS A GB STUDIO-STYLE CUTSCENE mode "gb" = 160x144, 4-colour BG + 4-colour sprite palette, 8x8 tiles (default) "hi" = 256x224, 16 colours (PC-98 mood; not GB-exportable) palettes {bg:[hex x4|16], obj:[hex x4|16]} obj colour 0 is transparent tiles ["64 hex chars"] 8x8, one palette index per pixel backgrounds {name:{width,height (tiles), data:[tile index...]}} sprites {name:{width,height (px, multiple of 8), frames:["w*h hex chars"]}} actors {name:{sprite,x,y,frame,hidden,flipX}} scene {background} the background shown at frame 0 script [{id, command, args, children?:{true:[...]}}] runs at 60 ticks/s any event with args.__async=true runs on its own thread (parallel) EVENTS -> GB STUDIO 4 MAPPING (for a future export to a .gbsproj / ROM) EVENT_SWITCH_SCENE -> EVENT_SWITCH_SCENE (one GBS scene per background; tiles -> background PNG) EVENT_ACTOR_SET_POSITION -> EVENT_ACTOR_SET_POSITION (px / 8 -> tile units; GBS also allows px units) EVENT_ACTOR_MOVE_TO -> EVENT_ACTOR_MOVE_TO (speed px/frame -> GBS moveSpeed; collisions off) EVENT_ACTOR_SET_FRAME -> EVENT_ACTOR_SET_FRAME EVENT_ACTOR_SET_ANIMATE -> EVENT_ACTOR_SET_ANIMATE / sprite animation states (frames -> a GBS animation) EVENT_ACTOR_SET_FLIP -> EVENT_ACTOR_SET_DIRECTION (left/right) EVENT_ACTOR_SHOW / HIDE -> EVENT_ACTOR_SHOW / EVENT_ACTOR_HIDE EVENT_WAIT -> EVENT_WAIT (frames; GBS takes seconds or frames) EVENT_LOOP (times) -> EVENT_LOOP_FOR (times>0) / EVENT_LOOP (times=0), children.true kept as-is EVENT_FADE_OUT / FADE_IN -> EVENT_FADE_OUT / EVENT_FADE_IN (white fade -> GBS fade style setting) EVENT_CAMERA_MOVE_TO -> EVENT_CAMERA_MOVE_TO EVENT_CAMERA_SHAKE -> EVENT_CAMERA_SHAKE EVENT_PALETTE_SET -> EVENT_PALETTE_SET_BACKGROUND / EVENT_PALETTE_SET_SPRITE (GBC) EVENT_PALETTE_CYCLE -> no stock event: unrolled into PALETTE_SET + WAIT steps, or a small GBVM plugin EVENT_TEXT -> EVENT_TEXT (dialogue box; 18 chars x up to 4 lines here, GBS wraps similarly) EVENT_TEXT_DRAW / CLEAR -> overlay text: GBS EVENT_OVERLAY_* + text, or a background-tile font EVENT_SOUND_PLAY_EFFECT -> EVENT_SOUND_PLAY_EFFECT (beep/tone/crash are GBS's own three built-ins) EVENT_MUSIC_PLAY / STOP -> EVENT_MUSIC_PLAY / EVENT_MUSIC_STOP (note strings -> a generated hUGE/.uge track) __async (parallel) -> EVENT_THREAD_START with the event inside (or "actor update" scripts) Limits that already match GB Studio in "gb" mode: 160x144 screen, 4 colours per palette, 8x8 tiles, sprite sizes in 8 px steps. Not checked yet: GBS's 192 unique background tiles (the studio warns on PNG import), 10 sprites per scanline, sprite tile budget. SEEDED CLIPS sign-on, night-drive, dojo-bow, rain-city, koi-pond (gb) and ctv98-test-card (hi) come from tools/make-seeds.mjs, which writes this same format with the same event blocks. Open any of them in the studio (File > Open catalog > Published > Open a copy) to edit it.