No description
- Pascal 76.4%
- PowerShell 9.5%
- Liquid 9.5%
- Python 2.3%
- Batchfile 1.1%
- Other 1.1%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .gitea/workflows | ||
| assets | ||
| docs | ||
| installer | ||
| release | ||
| shopify | ||
| src | ||
| test | ||
| tools | ||
| webbuild | ||
| .gitattributes | ||
| .gitignore | ||
| AGENTS.md | ||
| bg.pal | ||
| build.zig | ||
| EULA.md | ||
| font.p1xfont | ||
| logo.txt | ||
| project-koro-v4.p1x | ||
| project.p1x | ||
| README.md | ||
| THIRD_PARTY_NOTICES.md | ||
P1Xel Editor
A Game Boy / Game Boy Color pixel editor in C11 + raylib: tiles, sprites, fonts, screens, full-screen art windows and the asset registry of a game, in one window. Windows and Linux, plus a browser (shareware) build.
Features
- Tiles, Sprites, Font Edit (F2–F4): draw, fill, line and select on 8×8 / 16×16 canvases or a W×H painter block, in 8 BG + 8 OBJ palettes.
- Font (F5): map glyphs to characters, share them as
.p1xfontpacks. - Screen (F6): 20×18 or 32×32 maps with per-cell palettes and flips, up to 40 sprites, meta-tiles and meta-sprites.
- Screens (F7): a gallery of every screen; sketch screens stay out of the export.
- Art Windows (F8): full-screen art on banked tiles with automatic, flip-aware tiling and a live tile budget.
- Registry (F9): named tiles, meta-tiles, sprites and meta-sprites for
your engine (
catalog.toml). - Sketchpad (P): a floating 8×8 / 16×16 / 32×32 scratch canvas above every view. It is never saved.
- Keyboard Shortcuts (F1): every key and mouse gesture in one sheet.
- Simple mode: a Paint-style editor for a single PNG / BMP image.
- Real-size 3D handheld preview, CGB / DMG / DMG-reversed palettes, game data export for asm projects, image export, ROM / 2bpp / BMP import, tablet pen pressure, undo / redo, 10 s autosave with crash recovery.
![]() |
|
| Tiles (F2) | Sprites (F3) |
![]() |
![]() |
| Screens (F7) | Art Windows (F8) |
![]() |
![]() |
| Registry (F9) | Sketchpad (P) |
![]() |
![]() |
| Keyboard Shortcuts (F1) | Real-size preview |
![]() |
|
| Simple mode |
Screenshots are real renders of project-koro-v4.p1x
(./p1xel --shot <dir> project-koro-v4.p1x renders every view).
Build
One entry point on every OS: zig build (zig 0.17.0). raylib 6.2 is
fetched at a pinned commit and linked statically, so only zig + git are
needed (Windows: winget install zig.zig; Linux: zig + the X11/GL headers
listed in build.zig).
zig build editor + format tests + headless selftest
zig build editor ./p1xel (Windows: p1xel.exe)
zig build test .p1x format tests (raylib-free)
zig build selftest headless gate (no window)
zig build fuzz -Dseconds=60 loader / saver mutation fuzzer
zig build filc Fil-C memory-safe run of the format core
zig build shareware ./p1xel-shareware
zig build html5 browser shareware build -> HTML5/editor/
zig build release gates + every package -> release/
zig build run
Layout
src/p1x.h, p1x_load.c, p1x_save.c .p1x format (docs/P1XFORMAT.md is the referee)
src/p1x_dup.c, rom_ops.c undo copies, ROM move / copy / clear
src/main.c window shell, --selftest, --shot
src/theme.h, ui_kit.c colour tokens and the shared widget kit
src/ui_rom.c, ui_clip.c shared tile atlas, selection + clipboard
src/ui_pixedit.c Tiles / Sprites / Font Edit
src/ui_font.c, ui_screen.c Font map, Screen designer
src/ui_screenmgr.c, ui_artwin.c Screens gallery, Art Windows
src/ui_registry.c, ui_sketch.c Registry, floating Sketchpad
src/ui_menu.c, ui_keys.c menus + dialogs, shortcut sheet
src/ui_simple.c Simple (Paint) mode
src/engine_export.c, io_extra.c game data export, imports, bitmap export
test/p1x_test.c, test/p1x_fuzz.c format gate and fuzzer
Conventions, gates and release steps for contributors are in AGENTS.md; the user guide that ships with the editor is release/README.md.








