The goal is to create a pixel art editor that can be used to create interactive pixel art. At this point, The interactive pixel art can be imported/exported as a binary file. Also, static pixel art can be exported as PNG.
The demo has no "Web" adaptation, which could be rough sometimes. Resizing window and such things are not handled at all. other than that everything works as intended. https://dkvilo.github.io/pixelsim/
- Water
- Sand
- Fire
- Eraser (Hold 'e' while drawing on canvas)
- Filled Cercle
- Cross
- Filled Quad
- Quad
- Mouse Left Button - Drawing on selected canvas
- E + Mouse Left Button - Erasing pixels from canvas (You need to Hold on E while drawing)
- [ - Zoom in on canvas
- ] - Zoom out on canvas
- Scroll wheel - change brush size (You can use dedicated buttons on the bottom of the panel as well to change the brush size)
- Loading PSB files can be done by just dragging and dropping them on the canvas
- Space - Will open Tileset viewer, You can hover over the specific cell to sample the coordinates
- Dynamic Drawing and Exporting Pixelart as PSB (Pixel Simulator Binary)
- Static Drawing and Exporting Pixelart as PNG
- Import/Export Interactive Frame (PSB)
- Import PNG as an Interactive Frame
- Export Buffer as PNG
- Multiple Frames/Canvas
- Multiple Brushes
- Copy/Paste Frames
- Canvas Zoom
- Tileviewer
- More pixel types / Custom Pixel Creation
- More brushes / Custom Brushe Creation
- Color picker
- Layering for frame
- Lua scripting to define different behaviors for pixels
- HTML5/Webassembly build support (for exported runtime)
- Tile editor
- Text editor for scripting
The application was developed and tested on Linux and Mac (Silicon) platforms. Windows build system support is coming soon.
The application is dynamically linked to SDL2, SDL2_image, and SDL2_ttf libraries.
For now, only Linux and Mac builds are supported. Windows build is coming soon.
If you want to modify the code and make your own software, I strongly recommend you use platform-specific IDEs like Visual Studio for Windows, Xcode for Mac, and CLion for Linux. And ship the application with the libraries included, or build the application with static linking.
Install dependencies (sdl2, sdl2_image, sdl2_ttf)
sudo apt install libsdl2-dev libsdl2-image-dev libsdl2-ttf-dev
make clean build_linux
brew install sdl2 sdl2_image sdl2_ttf
make clean build_macosx
Coming soon
Please Refer to the LICENSE.txt file in the assets folder.