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>
120 lines
2.0 KiB
JSON
120 lines
2.0 KiB
JSON
{
|
|
"strokes": [
|
|
{
|
|
"Rect": {
|
|
"x": 0,
|
|
"y": 0,
|
|
"w": 160,
|
|
"h": 168,
|
|
"color": 0,
|
|
"meaning": "None"
|
|
}
|
|
},
|
|
{
|
|
"Rect": {
|
|
"x": 6,
|
|
"y": 16,
|
|
"w": 148,
|
|
"h": 146,
|
|
"color": 8,
|
|
"meaning": "Floor"
|
|
}
|
|
},
|
|
{
|
|
"Rect": {
|
|
"x": 0,
|
|
"y": 0,
|
|
"w": 160,
|
|
"h": 16,
|
|
"color": 0,
|
|
"meaning": "Wall"
|
|
}
|
|
},
|
|
{
|
|
"Rect": {
|
|
"x": 0,
|
|
"y": 160,
|
|
"w": 65,
|
|
"h": 8,
|
|
"color": 0,
|
|
"meaning": "Wall"
|
|
}
|
|
},
|
|
{
|
|
"Rect": {
|
|
"x": 95,
|
|
"y": 160,
|
|
"w": 65,
|
|
"h": 8,
|
|
"color": 0,
|
|
"meaning": "Wall"
|
|
}
|
|
},
|
|
{
|
|
"Rect": {
|
|
"x": 0,
|
|
"y": 0,
|
|
"w": 6,
|
|
"h": 168,
|
|
"color": 0,
|
|
"meaning": "Wall"
|
|
}
|
|
},
|
|
{
|
|
"Rect": {
|
|
"x": 154,
|
|
"y": 0,
|
|
"w": 6,
|
|
"h": 168,
|
|
"color": 0,
|
|
"meaning": "Wall"
|
|
}
|
|
},
|
|
{
|
|
"Rect": {
|
|
"x": 58,
|
|
"y": 30,
|
|
"w": 44,
|
|
"h": 10,
|
|
"color": 13,
|
|
"meaning": "None"
|
|
}
|
|
}
|
|
],
|
|
"spawn": [
|
|
80,
|
|
138
|
|
],
|
|
"exits": [
|
|
null,
|
|
null,
|
|
1,
|
|
null
|
|
],
|
|
"objects": [
|
|
{
|
|
"name": "altar",
|
|
"sprite": "altar",
|
|
"x": 80,
|
|
"y": 98,
|
|
"look": "A stone altar humming with cold light. A book-shaped hollow waits in its surface.",
|
|
"takeable": false,
|
|
"synonyms": "shrine pedestal",
|
|
"use_text": "You lay the spellbook on the altar. Light pours up, a doorway tears open, and you step through. YOU ESCAPED — adventure complete. THE END.",
|
|
"needs": "spellbook",
|
|
"wins": true
|
|
},
|
|
{
|
|
"name": "torch",
|
|
"sprite": "torch",
|
|
"x": 30,
|
|
"y": 120,
|
|
"look": "A torch in a rusted bracket.",
|
|
"takeable": true,
|
|
"synonyms": "light flame",
|
|
"use_text": "",
|
|
"needs": "",
|
|
"wins": false
|
|
}
|
|
]
|
|
} |