JavaScript on the outside
Curly braces, familiar operators, type annotations you already know. If you've written a little JavaScript, you can read Munos on day one.
Read game memory, draw overlays, and go multiplayer — all from one file that runs in the browser and on the server.
Here is a complete, working Munos mod. It draws a magenta square on top of the running game, every frame:
on client {
// A 32×32 solid block of palette index 1.
var block: image = image_literal(32, 32, "AQEB…")
// Index 0 is transparent; index 1 is bright magenta.
var palette: u32[] = [0x00000000, 0xFFFF00FF]
event frame(frame_num: i32) {
drawImage(block, palette, 40, 40)
}
}That's the whole program. No build config, no imports, no main. The on client block runs in the player; event frame fires once per emulator frame; drawImage paints onto the framebuffer.
Ready to write your own? Start the tutorial →
Already program and just want the surface area? Jump to the reference →