VersaTile icon indicating copy to clipboard operation
VersaTile copied to clipboard

Custom Sprite Sheet Files

Open ikskuh opened this issue 6 years ago • 4 comments

Allow the creation of custom sprite sheet files that store

  • the image
  • the minimal tile size
  • a preselection of tiles
  • predefined sprite groups

ikskuh avatar Jul 26 '17 11:07 ikskuh

The TSX format of Tiled is a good example what properties might be useful http://doc.mapeditor.org/reference/tmx-map-format/#tileset

aggsol avatar Jul 26 '17 12:07 aggsol

Good idea! Spacing and Margin are really useful, the name as well ^^

Maybe this feature can be made into some kind of "in program spritesheet database" with predefined objects per sprite sheet.

ikskuh avatar Jul 26 '17 12:07 ikskuh

people might want to distribute it, maybe something simple like having to files with the same name spritesheet.png and spritesheet.vss wher vss stands for VersaTile Sprite Sheet ;-P

aggsol avatar Jul 26 '17 13:07 aggsol

Yeah, sounds reasonable. Maybe it's possible to embed it into png metadata or something, this would be cool as well

ikskuh avatar Jul 26 '17 14:07 ikskuh