Gridwright Store
1 / 5

What's in the pack

Your UI panel looks right at one size and smeared or cut at every other. The Gridwright 9-Slice Previewer shows the panel at any size the way Godot 4 draws it, marks the stretch bands that would smear, finds clean margins for you, and saves the Godot scene, StyleBoxTexture, CSS and the margins for every major engine. One HTML file, offline.

Licence in one line: what you make with it is yours, for any game, commercial too.

What it does for your game

  • No more smeared panels in game: stretch bands turn red where they would smear, and a tiled middle gets the nearest sizes that hold whole tiles.
  • See it at every size first: drag the corner and the panel redraws as Godot 4 draws a NinePatchRect or StyleBoxTexture, next to a small box, a wide bar, a tall window and a big panel.
  • Margins for every engine: a Godot scene and StyleBoxTexture, CSS border-image, JSON, and the margins written out for Unity, GameMaker, Phaser, Ren'Py, Defold and Unreal; whole sheets in one ZIP.

Exactly what is inside

  • Guides, typed margins or "Find margins"; Stretch, Tile or Tile Fit, across and down apart; middle drawn or clear.
  • Smear warnings on stretch bands; whole-tile sizes for tiled middles.
  • Sheets with our JSON, other JSON, or pieces found on the sheet; drag a box round a piece.
  • ZIP: piece PNG, Godot .tscn and .tres, CSS, JSON, panel PNG, engine margins; every piece at once.
  • Nothing is uploaded: your UI stays on your computer.

Files it saves

  • The piece as a PNG, cut from its sheet
  • Godot 4 NinePatchRect scene (.tscn) and StyleBoxTexture (.tres)
  • CSS border-image classes and a JSON of every piece's margins
  • The panel drawn at your size, as a PNG
  • Margins for Unity, GameMaker, Phaser, Ren'Py, Defold and Unreal

Engines

Godot 4 (NinePatchRect .tscn, StyleBoxTexture .tres), the web (CSS border-image), and margins for Unity, GameMaker, Phaser, Ren'Py, Defold and Unreal.

Runs offline, no install

One HTML file for a current browser on Windows, macOS, Linux or a Chromebook. No install, no account, no internet. Nothing you open leaves your computer. Tested in Microsoft Edge on Windows; Chrome uses the same engine, and Firefox and Safari should work but weren't tested.

Try before you buy: the free demo

The free demo is the same tool: every feature works, on our example and on your own files. It saves 3 files; the full edition saves without a limit.

Missing something? Tell us in the comments.

At a glance

Shelf
Tools
Files
PNG, JSON, Godot scenes and resources, HTML (runs in a browser)
Engine files or notes
Godot, Unity, Tiled, GameMaker, Ren'Py
Full pack
0.2 MB
Free sample
0.2 MB
Licence
Use it in your games, commercial ones too; the files themselves can't be resold or shared

Use it in Godot, Unity, Tiled or GameMaker

Godot

  1. Copy the pack's folder into your project.
  2. Keep the pixels sharp: Project Settings › Rendering › Textures › Canvas Textures › Default Texture Filter: Nearest.
  3. Its Godot files or notes, named in the README, set up the rest.

Unity

  1. Drop the PNGs into Assets.
  2. In each texture's Inspector: Filter Mode Point (no filter), Compression None.
  3. Slice the sheets in the Sprite Editor.

Tiled

  1. Add a tileset from the sheet (File › New › New Tileset…).
  2. Use the pack's own Tiled files where its README names them.

GameMaker

  1. Import each sheet as a Sprite (Import Strip Image for strips).
  2. Turn off Interpolate colours between pixels in Game Options › Graphics, so the pixels stay sharp.

Goes well with