Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/foxnne/pixi

Pixel art editor made with Zig.
https://github.com/foxnne/pixi

2d animation cross-platform editor gamedev imgui mit-license pixelart zig ziglang

Last synced: about 1 month ago
JSON representation

Pixel art editor made with Zig.

Awesome Lists containing this project

README

        



#
**Pixi** is an cross-platform open-source pixel art editor and animation editor written in [Zig](https://github.com/ziglang/zig).

#### Check out the [user guide](https://github.com/foxnne/pixi/wiki/User-Guide)!

![pixi_explanatory_workflow](https://github.com/foxnne/pixi/assets/49629865/51e16f4d-634e-461d-ba5e-41cc4fa8229e)

Screenshot 2023-08-09 at 1 15 03 AM

Screenshot 2023-08-09 at 1 12 48 AM

[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/R5R4LL2PJ)

## Features planned for 0.1
- [x] Typical pixel art operations. (draw, erase, color select)
- [x] Create animations and preview easily, edit directly on the preview.
- [x] View previous and next frames of the animation.
- [x] Set sprite origins for drawing sprites easily in game frameworks.
- [x] Import and slice existing .png spritesheets.
- [x] Intuitive and customizeable user interface.
- [x] Sprite packing

## User Interface
- The user interface is driven by [Dear Imgui](https://github.com/ocornut/imgui) which should be familiar to many.
- The general layout takes many ideas from VSCode, as well as general project setup using folders.

## Planned Features

- Export/import options.
- Possibly .pyxel and .asesprite import
- Export to .zig to directly use in Zig frameworks
- .gif support
- [x] Palettes
- Tiles
- Possibly much more

## Compilation
- [Linux] Ensure `gtk+3-devel` or similar is installed (for native file dialogs).
- Install zig using [zigup](https://github.com/marler8997/zigup) `zigup 0.13.0-dev.351+64ef45eb0` or manually and add to PATH.
- Zig version required is latest mach nominated version, find [here.](https://machengine.org/about/nominated-zig/#202450-mach)
- Clone pixi.
- Build.
- ```git clone https://github.com/foxnne/pixi.git```
- ```cd pixi```
- **Dawn** ```zig build run```
- **sysgpu** ```zig build run -Duse_sysgpu=true```

## Credits
- The wonderful [Dear Imgui](https://github.com/ocornut/imgui) used for almost all of the user interface.
- [michal-z](https://github.com/michal-z) for all the help and [zig-gamedev](https://github.com/michal-z/zig-gamedev).
- [slimsag](https://github.com/slimsag) for all the help and [mach-core](https://github.com/hexops/mach-core).
- [prime31](https://github.com/prime31) for all the help.
- Any and all contributors