slimsag / pixi-tmp

Pixel art editor made with Zig.

Home Page:https://foxnne.github.io/pixi/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pixi is an cross-platform open-source pixel art editor and animation editor written in Zig.

Pixi is currently undergoing a full rewrite, and will hopefully be a more useful and less buggy program soon.

Screen Shot 2022-10-18 at 12 56 53 AM

Screenshot 2022-11-12 at 11 56 09 PM

ko-fi

Features planned for 0.1

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

User Interface

  • The user interface is driven by Dear 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
  • Palettes
  • Tiles
  • Possibly much more

Compilation

  • [Linux] Ensure gtk+3-devel or similar is installed (for native file dialogs).
  • Download the latest Zig master from here and add to PATH.
  • Clone pixi.
  • Build.
    • git clone https://github.com/foxnne/pixi.git --recursive
    • cd pixi
    • zig build run

Credits

  • The wonderful Dear Imgui used for almost all of the user interface.
  • michal-z for all the help and zig-gamedev which does all the heavy lifting.
  • prime31 for all the help.
  • Any and all contributors

About

Pixel art editor made with Zig.

https://foxnne.github.io/pixi/

License:MIT License


Languages

Language:C 56.9%Language:C++ 23.1%Language:Objective-C 15.8%Language:Zig 2.6%Language:R 1.6%Language:HLSL 0.0%Language:WGSL 0.0%