Tools & Scripts: Difference between revisions
From F256 Foenix
Jump to navigationJump to search
Line 4: | Line 4: | ||
{| class="wikitable" | {| class="wikitable" | ||
! Tool !! Link | ! Tool !! Link !! Notes | ||
|- | |- | ||
| style="white-space:nowrap;"| Aseprite | | style="white-space:nowrap;"| Aseprite | ||
| style="white-space:nowrap;"| https://www.aseprite.org/ | | style="white-space:nowrap;"| https://www.aseprite.org/ | ||
| style="white-space:nowrap;" |Aseprite can be used to create sprites animation or Tiles Sets. | | style="white-space:nowrap;" |Aseprite can be used to create sprites animation or Tiles Sets. | ||
|- | |- | ||
|f256_sprite_cutter | |f256_sprite_cutter | ||
|https://gist.github.com/digarok/57b096236a7fb1c76efef6cbb9f73a83 | |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: | |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 pip | ||
Line 28: | Line 25: | ||
|- | |- | ||
|Foenix Graphics Toolkit | |Foenix Graphics Toolkit | ||
| | |https://github.com/econtrerasd/F256-GraphicToolkit | ||
|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 | |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 | ||
|} | |} |
Revision as of 22:37, 16 April 2024
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 | https://github.com/econtrerasd/F256-GraphicToolkit | 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.