A new-school reimagining of Sierra's 1980s AGI interpreter in Rust + macroquad: - Dual-buffer (visual + priority) room model with hand-painted walkability - In-engine room editor: brush/line/rect/fill/pick/erase/oval/image/spawn/object tools - Sprite pipeline (PNG -> EGA quantize), multi-room worlds with edge exits - Objects with look/use/needs/keys/win conditions (no code) - Forgiving text parser + optional local-LLM lane (Ollama / OpenRouter) - Branching NPC dialogue trees, chiptune SFX, per-room ambient music - Content kit: 61 archetypes across fantasy/scifi/monsters/saucy/horror - Full docs: README, EDITOR_GUIDE, MANUAL, art manifesto + Gemini prompts Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
154 lines
2.7 KiB
JSON
154 lines
2.7 KiB
JSON
{
|
|
"strokes": [
|
|
{
|
|
"Rect": {
|
|
"x": 0,
|
|
"y": 0,
|
|
"w": 160,
|
|
"h": 168,
|
|
"color": 6,
|
|
"meaning": "None"
|
|
}
|
|
},
|
|
{
|
|
"Rect": {
|
|
"x": 6,
|
|
"y": 16,
|
|
"w": 148,
|
|
"h": 146,
|
|
"color": 7,
|
|
"meaning": "Floor"
|
|
}
|
|
},
|
|
{
|
|
"Rect": {
|
|
"x": 0,
|
|
"y": 0,
|
|
"w": 65,
|
|
"h": 16,
|
|
"color": 6,
|
|
"meaning": "Wall"
|
|
}
|
|
},
|
|
{
|
|
"Rect": {
|
|
"x": 95,
|
|
"y": 0,
|
|
"w": 65,
|
|
"h": 16,
|
|
"color": 6,
|
|
"meaning": "Wall"
|
|
}
|
|
},
|
|
{
|
|
"Rect": {
|
|
"x": 0,
|
|
"y": 160,
|
|
"w": 160,
|
|
"h": 8,
|
|
"color": 6,
|
|
"meaning": "Wall"
|
|
}
|
|
},
|
|
{
|
|
"Rect": {
|
|
"x": 0,
|
|
"y": 0,
|
|
"w": 6,
|
|
"h": 168,
|
|
"color": 6,
|
|
"meaning": "Wall"
|
|
}
|
|
},
|
|
{
|
|
"Rect": {
|
|
"x": 154,
|
|
"y": 0,
|
|
"w": 6,
|
|
"h": 168,
|
|
"color": 6,
|
|
"meaning": "Wall"
|
|
}
|
|
},
|
|
{
|
|
"Rect": {
|
|
"x": 40,
|
|
"y": 122,
|
|
"w": 80,
|
|
"h": 28,
|
|
"color": 4,
|
|
"meaning": "None"
|
|
}
|
|
},
|
|
{
|
|
"Rect": {
|
|
"x": 20,
|
|
"y": 24,
|
|
"w": 8,
|
|
"h": 8,
|
|
"color": 14,
|
|
"meaning": "None"
|
|
}
|
|
}
|
|
],
|
|
"spawn": [
|
|
80,
|
|
138
|
|
],
|
|
"exits": [
|
|
0,
|
|
null,
|
|
null,
|
|
null
|
|
],
|
|
"objects": [
|
|
{
|
|
"name": "villager",
|
|
"sprite": "villager",
|
|
"x": 60,
|
|
"y": 112,
|
|
"look": "A nervous barkeep. 'Heading to the cave? Take the key — and my prayers.'",
|
|
"takeable": false,
|
|
"synonyms": "barkeep person npc",
|
|
"use_text": "'Be careful in there,' the barkeep says, sliding you nothing useful.",
|
|
"needs": "",
|
|
"wins": false
|
|
},
|
|
{
|
|
"name": "key",
|
|
"sprite": "key",
|
|
"x": 44,
|
|
"y": 140,
|
|
"look": "An iron key hanging by the door. The barkeep nods at you to take it.",
|
|
"takeable": true,
|
|
"synonyms": "ironkey",
|
|
"use_text": "",
|
|
"needs": "",
|
|
"wins": false
|
|
},
|
|
{
|
|
"name": "potion",
|
|
"sprite": "potion",
|
|
"x": 112,
|
|
"y": 132,
|
|
"look": "A complimentary vial of bubbling red liquid. Probably fine.",
|
|
"takeable": true,
|
|
"synonyms": "vial elixir flask",
|
|
"use_text": "",
|
|
"needs": "",
|
|
"wins": false
|
|
},
|
|
{
|
|
"name": "barrel",
|
|
"sprite": "barrel",
|
|
"x": 122,
|
|
"y": 120,
|
|
"look": "A barrel of inn ale. Smells like courage and mistakes.",
|
|
"takeable": false,
|
|
"synonyms": "ale keg",
|
|
"use_text": "",
|
|
"needs": "",
|
|
"wins": false
|
|
}
|
|
]
|
|
} |