Cartouche is a dialogue box generator for GameMaker: it reads who is speaking and draws their own box in pure GML, from 40 materials and 26 corners. One commercial licence, unlimited games. It is also inside the GameMaker Library ($19.99), with 82 more GML assets and every new one.
Show full description...
5 traditions · 5 ranks · 40 materials · 28 frame constructions · 30 bands · 26 corners · 35 nameplates · 20 grounds · 15 carets · pure GML
- The kind of speaker picks the tradition: the party in leather, wood, brass and enamel, the town in limewash, rush, pine and slate, the enemy in lacquer, iron and obsidian on dark fields, the wild in hide, bone and horn, the numinous in stone, frost, glass and nacre.
- Rank picks how much work the box carries, from plain to sovereign: its material, one to three bands, and which corners and nameplates it can reach.
- The name and a slot number pick the rest, so six guards called Guard can get six boxes, and the same speaker gets the same box on every machine.
- A sunk portrait panel on request, its head square, arched or pointed after the speaker's crest; your sprite is fitted, clipped and faded into it.
- The text colour is solved per box to clear a 7:1 contrast ratio against its ground; read it with crt_ink.
- Your text stays yours: Cartouche draws the box and tells draw_text_ext, Scribble or any text code where to write.
One town, six speakers: standing picks the material, the construction, the corners and the bands, with nothing configured.
The portrait panel follows each speaker's crest; the faces here are drawn stand ins for your own sprites.
Works with
GameMaker 2024.14 or newer, built and tested against runtime 2024.14.4.268 (VM). Import Cartouche.yymps, open rm_crt_demo and press Play: a dialogue walks a cast of 24 speakers, P puts a portrait in the box and G shows a gallery and a street of six townsfolk. In your own game, call crt_read once per speaker and crt_draw where your dialogue box goes. Each box is baked into a sprite the first time it is drawn, and crt_prepare bakes a cast ahead of time on a loading screen.
Licence and how it was made
Use it in as many games as you like, commercial or free, with no royalties and no credit required. Do not resell or share the package itself. The nameplates use IM Fell DW Pica (SIL OFL 1.1) and the demo's help line Open Sans (Apache 2.0), with both notices included.
The code and the demo's sample dialogue were written with AI tools and tested in the engine. The cover, the GIF and every image on this page were rendered by Cartouche itself. No sprites: the only image files are the glyph sheets of its 4 fonts.
From the same studio
- Cartouche for RPG Maker MZ: the original, replacing MZ's message window ($14.99)
- Intertitle: a title card for every place and every boss, for GameMaker ($12.99)
- Frontispiece: the title screen, generated from the game itself, for GameMaker ($14.99)
- Missive: every letter, writ and note your game delivers, drawn as a document, for GameMaker ($14.99)
Need something we do not make yet? Post it on the Request Desk.
Made by Core Systems Asset Factory.