Tools & Scripts
From F256 Foenix
F256 Machines Game Development Tools
Sprite Creation Tools & Scripts
Tool | Link | --- | Notes |
---|---|---|---|
Aseprite | https://www.aseprite.org/ | Aseprite can be used to create sprites animation or Tiles Sets. | |
f256_sprite_cutter | https://gist.github.com/digarok/57b096236a7fb1c76efef6cbb9f73a83 | Sprite cutter that cuts a PNG according to line-by-line instructions in a text file. Requires python and the PIL library, install with:
python -m pip install --upgrade pip python -m pip install --upgrade Pillow Run with: python f256_sprite_cutter.py myimage.png mylist.txt sprites.s where mylist.txt contains a series of lines containing x, y offset, width, name, where it's assumed the width is the same as the height since it's for square sprites supported for the F256xx, such as 8,16, or 32. The output (named sprites.s in this above example) is a series of hex instructions with a list of hex values of a color picked from the CLUT. In order to make it compatible with 64tass, I search replaced hex-> .byte and replaced every value I could find by swapping in a $ in front (ie 00 -> $00 and 01 -> $01, etc.) | |
Foenix Graphics Toolkit | The Sprite Editor module in the Graphics Toolkit can help you draw sprites of different sizes in the F256 platform and save them as Spr files. The file format is documented in the manual |
Scripts
Sprite & Tile Creation Tools & Scripts
If you use Aseprite, you can convert your tile drawings to tilesets and tilemaps using the following scripts:
- Export Aseprite Tilemap
- Export Aseprite Tileset
- Export Aseprite Sprites - Will convert sprites to 64tass compatible text file.