Logo: Old Adventure Game Draw

Old Adventure Game Draw

Communautéit
scpedicini
old-adventure-game-draw

Zeechent Szenen aus Retro-Adventure-Spiller am Stil vu Sierra / King's Quest (AGI, 160×168, 16-Faarwen-EGA) als Vektorzeechnungsinstruktiounen a PicScript, rendert se als PNG a füügt se dem kq-styles-Viewer bäi. Benotzt dëse Skill, wann Dir opgefuerdert gitt, eng al Adventure-Spillszen, en Hannergrond, e Bildschierm oder e Raum ze zeechnen, ze molen, ze gestalten oder nei ze erstellen – och Varianten fir Dag, Nuecht an Dämmerung – oder PicScript-Dateien (.pic) ze schreiwen oder ze debuggen. Wann de Benotzer e Bild fir d'Neierstelle liwwert, eng Layoutskizz, eng Hybrid-Skizz (Wierder plus faarweg Pinselstréch) oder en ASCII-Layout (Wierder op de Plazen, wou Saache solle sinn), benotzt amplaz old-adventure-game-from-image.

Iwwersiicht

Editeurscpedicini
Repositoryagi-stylist
Skill-Nummold-adventure-game-draw
Stären
35
Forks
0
Matgeliwwert Dateien
86
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 86 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    scpedicini huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Old Adventure Game Draw an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/scpedicini/agi-stylist/tree/main/skills/old-adventure-game-draw
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/scpedicini/agi-stylist.git /tmp/agi-stylist
mkdir -p .claude/skills
cp -r /tmp/agi-stylist/skills/old-adventure-game-draw .claude/skills/old-adventure-game-draw
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Old Adventure Game Draw an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Old Adventure Game Draw automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Old Adventure Game Draw net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Old Adventure Game draw

You write PicScript: a small, Logo-flavoured drawing language that compiles to the same kind of instructions Sierra's AGI engine used to paint King's Quest I screens (colour, lines, flood fills, brush plots). Scenes are text files. The app replays them stroke by stroke in the browser, and a CLI renders them to PNG so you can look at your own work.

Paths starting with references/ or examples/ are inside this skill's folder (skills/old-adventure-game-draw/). All other paths and commands are relative to the project root (the directory with package.json).

Read first (once per task)

  1. references/picscript.md: the language, the canvas (160×168, pixels twice as wide as tall) and the one rule that matters: fill only fills white pixels.
  2. references/style-guide.md: how KQ1 screens are composed and coloured, including the stage (up the screen is further away: sizes and ground paths shrink towards the horizon).
  3. references/stdlib.md: ready-made functions (horizon, sky, hills, ground, tree, pine, bush, rock, pond, river, path, cloud, fence, stonewall, flowers, fruit, sparkle, night()…). Each has a thumbnail PNG you can Read. There are also seed sheets (tree-seeds.png, rock-seeds.png, …) for choosing shapes.

Worked examples: examples/*.pic in this skill are small and focused:

  • minimal
  • outline-then-fill
  • turtle-tree
  • day-night-cottage
  • feature-object (a glowing golden apple)

scenes/handmade/lakeside.pic is a full recreation of a KQ1 screen.

Workflow

  1. Plan the scene as layers, back to front: sky → distant hills → far treeline → ground → far objects → near objects → small details → lighting (variants) → frame().
    • Decide the horizon row (KQ1 median: sky to ~row 14, hills to ~25, grass below ~30). horizon(y) paints that whole standard backdrop in one call with no gaps.
    • Decide where the big framing element goes and keep the walkable middle open.
    • Size things by depth: groundscale(base_y, horizon); paths, roads and rivers on the ground with trail(...), stands of trees with forest(...).
    • List the variants the user asked for (e.g. variants day, night).
  2. Write scenes/custom/<slug>.pic (kebab-case slug). Start with scene "<Title>" and variants …. Use stdlib functions for standard motifs. Write your own fns for anything specific to the request (a golden apple, a signpost, a well). Use polygon / rect / ellipse / shape() for shapes painted over other things. Use line for thin details in a contrasting partner colour.
  3. Render every variant and look at them:
    bash
    pnpm render scenes/custom/<slug>.pic --variant all --scale 3
    This writes out/<slug>-<variant>.png. Open each PNG with the Read tool and check it against the request and the style guide:
    • Is every requested element present and recognisable at this resolution?
    • Any white specks or bands (unpainted canvas)? Any leaked fills?
    • Do the colours follow KQ1 conventions? Are outlines visible against their background?
    • Does each variant read correctly (night is dark, lights stand out, …)? Add --steps 6 to see the painting order if layering looks wrong. Small details are hard to judge at full size, so zoom in with pnpm render <scene> --crop x1,y1,x2,y2 --scale 8.
  4. Lint:
    bash
    pnpm lint:pic scenes/custom/<slug>.pic
    Fix every error and warning. A fill that floods more than 40% of the picture is flagged as a possible leak. If a big background fill is intended, end its line with # lint: ok. Notes about never-painted canvas usually mean a gap: extend a band or add a backdrop rect.
  5. Iterate on steps 2-4 until it looks right. Usually 2-4 rounds. Small details (fruit, windows, flowers) are only a pixel or two, so make important ones at least 2×2.
  6. Report: the file path, the variants, the PNGs in out/, and the viewer link. Any .pic under scenes/ appears in the viewer automatically, at http://localhost:5250/#/scene/custom/<slug>?variant=<name>. The link only works while pnpm dev is running; say so instead of starting a server if you were asked not to. Mention anything you approximated.

Rules of thumb

  • Paint back to front. Solid shapes (rect, polygon, ellipse, stdlib) cover anything below them. fill only works on a white canvas, so use it for big areas painted first or in outline-then-fill sections.
  • The 2:1 pixel aspect: round things need rx ≈ ry / 2.
  • Use seed: arguments to get a different but repeatable shape for each tree or rock. Pick seeds from the seed sheets rather than guessing.
  • Make things that must be noticed (a golden apple, a key, a door) bigger than their neighbours, outline them in black, and give them a highlight pixel. examples/feature-object.pic shows how.
  • stars paint over anything, so keep their bottom above the mountain peaks.
  • Put variant-specific drawing after the shared scene. Call night() / dusk() (or your own remap) before drawing the moon, stars, lit windows and anything that should glow, so those keep their colours. night() darkens every colour at once (see its entry in stdlib.md).
  • Things may run off the picture: shape, polygon, outline and stroke are clipped at the edge. line bends off-picture points onto the edge and warns, so use stroke for lines that leave the picture.
  • Finish with frame(), the black 1-pixel border every KQ1 screen has.
  • Keep it bold and simple. Ten strong shapes beat a hundred specks.

Working from someone else's picture or layout

If the user gives you an image to recreate (a photo, painting, illustration, screenshot, or a tile from a sheet of game backgrounds), use the sibling skill ../old-adventure-game-from-image/SKILL.md. It reframes the image, grids it for measuring, and explains how to translate colours and simplify detail by eye. Don't convert it automatically.

The same skill handles layout sketches: an image or an ASCII box of words placed where things go (SUN top right, TREE1 bottom left), usually with a description of each, and hybrids that add rough coloured brushstrokes for areas and paths. Its sketch mode turns the layout into measured picture positions (exact ones for ASCII) and checks the result with an overlay.

Matching a KQ1 reference screen

To match a reference image (e.g. one of reference/kq1/*.png), add # @reference kq1/rRR-cCC to the scene header. Then:

  • pnpm render <scene> --compare --confusion prints the % match and the biggest "wanted X, got Y" mismatches.
  • pnpm regions kq1/rRR-cCC lists the major colour regions as polygons.
  • pnpm regions kq1/rRR-cCC --lines black extracts line art as polylines.

Troubleshooting

symptomcause / fix
fill did nothingseed pixel was already painted. Use polygon/rect, or fill before painting over
everything turned one coloura fill leaked through a gap in its outline. Close it, or use polygon
a parenthesised value can't contain ','write calls as tree(80, 120) or tree 80, 120, not tree (80, 120)
line 10 -5 drew the wrong thinga spaced minus starts a new argument. Write 10 - 5 or use commas
'variant' is built invariants are chosen at render time. Use if variant == "night" { … }
a detail disappearedit's the same colour as its background, or a later layer covered it

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

An nach 26 weider Dateien.

Heefeg gestallte Froen

Wat mécht de KI-Skill Old Adventure Game Draw?

Zeechent Szenen aus Retro-Adventure-Spiller am Stil vu Sierra / King's Quest (AGI, 160×168, 16-Faarwen-EGA) als Vektorzeechnungsinstruktiounen a PicScript, rendert se als PNG a füügt se dem kq-styles-Viewer bäi. Benotzt dëse Skill, wann Dir opgefuerdert gitt, eng al Adventure-Spillszen, en Hannergrond, e Bildschierm oder e Raum ze zeechnen, ze molen, ze gestalten oder nei ze erstellen – och Varianten fir Dag, Nuecht an Dämmerung – oder PicScript-Dateien (.pic) ze schreiwen oder ze debuggen. Wann de Benotzer e Bild fir d'Neierstelle liwwert, eng Layoutskizz, eng Hybrid-Skizz (Wierder plus fa...

Firwat Old Adventure Game Draw op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Old Adventure Game Draw besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Old Adventure Game Draw an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/scpedicini/agi-stylist/tree/main/skills/old-adventure-game-draw an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Old Adventure Game Draw benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Old Adventure Game Draw benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Old Adventure Game Draw domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Old Adventure Game Draw gratis?

Jo. scpedicini huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇