usagi dev watches your code and assets; saves apply without losing game state. Tweak a sprite in your editor and see it update instantly.usagi export packages your game for Linux, macOS, Windows, and the web.sprites.png for textures.Bring your own sound effects, sprite editor, and music tools.
Bootstrap a project and start it in dev mode:
usagi init my_game
cd my_game
usagi dev
init writes main.lua (with _init / _update / _draw stubs), .luarc.json for Lua LSP support, .gitignore, meta/usagi.lua (API type stubs), and USAGI.md (a copy of these docs).
Edit main.lua, save, and the running game picks up the change without restarting or losing state. Drawing "Hello, Usagi!" looks like:
function _draw(_dt)
gfx.clear(gfx.COLOR_BLACK)
gfx.text("Hello, Usagi!", 10, 10, gfx.COLOR_WHITE)
end
Last modified 21 June 2026