While following the documentation on game metadata, I was experimenting with using animation.txt
in my card-highlighted
subdirectory of my launcher assets directory to customize the card highlighted animation, but discovered that pdc
thinks that animation.txt
is an unrecognized file type and will skip it if using pdc -k
. I had been using pdc -k
to avoid copying aseprite files into my packages and had to stop using it to keep using custom animation timing.
It feels like either pdc
should know that this particular txt file is blessed or otherwise have some way of letting it know it should still copy that particular file.
Repro Steps
- Define
imagePath
in yourpdxinfo
file - Inside the directory pointed at by
imagePath
, create acard-highlighted
subdirectory - In the
card-highlighted
subdirectory, put some sequentially numbered 400x240 pngs (1.png, 2.png etc) - In the
card-highlighted
subdirectory, createanimation.txt
and add a line to do something that would be obvious with the images you used, such as displaying them in reverse order withframes = 6, 5, 4, 3, 2, 1
- Compile with
pdc -k
flag enabled - Copy the resulting pdx into your simulator's Games folder so it appears on the simulator home screen
- Highlight the game on the simulator's home screen
Expected result
Game contains animation.txt
and displays the animation as defined
Actual result
pdc
gives a warning about skipping animation.txt
. Since the resulting pdx file does not contain it, the animation does not work as defined.
System info
- Windows 10
- PlayDate SDK 1.10.0