Skip to content
LordFilu edited this page May 30, 2022 · 5 revisions

Specifications and conventions

naming convention of grafics

aseprite: the aseprite file
png: the exported png of the aseprite file. This file will be referenced in the gfx.yml file
Tileset name: in Tiled the naming convention of the tileset ist gfx_name. This name must be the same as in the gfx.yml file
object type in tiled: the type is used to create the corresponding sprite in the code. The types are listed in the pnk_globals.h
gfx.yml, code: the name in the gfx.yml and thus in the code.

aseprite png Tileset name object type in tiled gfx.yml, code
king.aseprite king.png gfx_king king gfx_king
bubble.aseprite bubble.png gfx_bubble bubble gfx_bubble
pig.aseprite pig.png gfx_pig normal_pig
better_pig
hiding_pig
gfx_pig
TBD TBD TBD shooting pig
grenade pig
flying pig
TBD

Sprite types

Zone layer

Waypoint layer

Clone this wiki locally