Art from any tool
MysteryForge does not care which program made a picture or a sound. Krita, Photoshop, Affinity, Aseprite, LibreSprite, Pixelorama, QxSprite, Blender, an image model, a camera: if the file is the right shape and format, the game plays it. This page is the list of shapes and formats. QxSprite and Blender have their own guides with helpers.
Where files go#
Everything lives under game/assets/<kind>/ and the game refers to it by its project path (game/assets/backgrounds/study.webp). The usual folders are backgrounds, panoramas, items, portraits, actors, voice, sfx, music and video; any other folder works too. After adding pictures or sounds, run ./mysteryforge import <game> (the MCP tools do it for you). To swap a placeholder for the real thing, use Assets → Replace… in the Studio or replace_asset over MCP: it keeps the place, rewrites every reference even when the format changes (a PNG for an SVG), and marks the asset final.
Pictures#
| What | Size | Format | Notes |
|---|---|---|---|
| Room background | 1920 × 1080 (the game's design size) | WebP (lossy, ~85) or PNG; JPG | another shape is cropped to fill the screen; narrower than ~90% looks soft |
| 360° room | 2:1, 4096 × 2048 for a full circle | WebP or PNG | equirectangular; a partial view is narrower, with h_span < 360 |
| Close-up (a view's picture) | the part of the room it shows × its zoom, ≤ 4096 long side | WebP or PNG | make handoff lists each one's size |
| State overlay | just the part that changes | PNG with transparency (or WebP) | placed with a rect in fractions of the room |
| Item icon | 256 × 256 | PNG/WebP with transparency, or SVG | |
| Portrait | 512 × 512 | PNG/WebP, or SVG | a living portrait can use a taller waist-up frame (e.g. 480 × 640) |
| Actor pose | the same canvas for every pose of a figure | PNG/WebP with transparency | never trimmed; feet at the same spot (default bottom-centre) |
| Animation | a sheet: equal cells, left to right, top to bottom | PNG/WebP | one animation per sheet, no spacing or border |
| Placeholder art | any of the above | SVG | see the SVG rules below |
Coordinates. Hotspots, overlays and markers are placed in fractions of the picture, 0 to 1, from the top-left: [x, y, w, h]. A picture painted at the right size can be swapped without moving anything.
Leave the picture clean. No text, no interface, no hotspot outlines painted in: the game draws its own interface (buttons top right, subtitles along the bottom), and everything on screen is translated. make handoff draws a layout guide per room showing where the hotspots will be clicked and which parts of the screen the interface covers.
SVG rules. Godot rasterizes SVG with ThorVG: <text> elements are not drawn, and hsl() colours and 8-digit hex colours come out solid black. Use 6-digit hex colours with fill-opacity or opacity, and draw lettering as paths.
Web builds. Pictures imported VRAM-compressed (big animation sheets usually are) must have both sides a multiple of 4, or WebGL draws them black. Backgrounds should be lossy WebP with lossy import, or Godot re-inflates them (a 23.9 MB game came down to 8.9 MB this way). The budget check reports video memory per room.
Animation sheets#
"sheet": { "image": "game/assets/actors/keeper_walk.png", "columns": 4, "rows": 1, "count": 4 },
"fps": 10,
"loop": true
The engine cuts the image into columns × rows equal cells and plays the first count (default: all), left to right then top to bottom, at fps. Most tools can export this: Aseprite, LibreSprite, Pixelorama and QxSprite (sprite sheet, one tag, no spacing, no border, untrimmed), TexturePacker (no trimming, no rotation, fixed grid), Blender frames joined with ffmpeg -i f_%04d.png -vf tile=4x1 sheet.png or ImageMagick montage. integrations/sprite_sheet.py turns an Aseprite-format JSON into this block and says when a sheet will not play as it is. Separate frame files work too ("frames": ["a.png", "b.png"]).
Sound#
| What | Format | Notes |
|---|---|---|
| Voice lines | OGG (or WAV while recording) | one file per line at game/assets/voice/…; lip-sync follows any recording |
| Music | OGG | a file, or a score.json track of stems that fade in and out with the story |
| Room tone / ambience | OGG, seamless loop | a second layer under the music |
| Sound effects | OGG or WAV | short; WAVs over ~1.5 MB are flagged |
Prefer OGG: it is about a tenth of a WAV. convert_audio (MCP) or the Studio's → OGG converts with ffmpeg. Loudness targets per kind (voice −20, music −24, ambience −26, effects −20 LUFS) are checked by check_loudness, and normalize_loudness brings files to them, always keeping the originals. Mouth tracks for more precise lip-sync come from Rhubarb Lip Sync (make lipsync).
Video#
Looping clips over a room, a talking-head portrait, cutscenes and transitions: WebM (VP9, with alpha) through the optional video extension, or Ogg Theora (.ogv) everywhere. Every video has a still to fall back on. See the format spec's "Video".
Generated art#
The Studio's Art panel (and the MCP art_* tools) plans every picture a game needs, writes a style bible, estimates the cost, and generates rooms, items and portraits through image models, then lets you accept, retry or edit each one. It calls paid providers with your own keys from the environment (OPENAI_API_KEY, BLOCKADE_API_KEY), never stored in the game. What worked and what it cost on a real game: the art pipeline findings.
This page as Markdown: /docs/art-tools.md · Engine 0.101.0