1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Playdate Package Info
# doc: https://github.com/boozook/playdate/blob/main/support/build/README.md#metadata
# official doc: https://sdk.play.date/#pdxinfo
[]
= "{name}"
= "{author}"
= "{version}"
= "com.yourcompany.{bundle_id}"
= "{description}"
= "This game contains mild realistic, violence and bloodshed."
= "Really scary game."
= "img/system"
= "sfx/jump"
# Assets Rules
# doc: https://github.com/boozook/playdate/blob/main/support/build/README.md#assets
[]
= "${{PLAYDATE_SDK_PATH}}/Examples/Game Template/Source/SystemAssets/*.png"
= "${{PLAYDATE_SDK_PATH}}/Examples/Level 1-1/Source/sfx/jump.wav"
# This is a complex way of specifying what assets should be included.
# Left hand is a path where asset should be in the package,
# Right hand is the path where source(s) should be found.
# Also this way supports simple include and exclude instructions:
# "rel-to-crate-root/file-to-include" = true # left hand is a local path, relative to crate-root,
# "file-to-exclude" = false # OR resulting path that where asset will be in the resulting package.
# Another way to declare assets is much simpler:
# [package.metadata.playdate]
# assets = ["assets/**/*.wav", "assets/**/*.png"]
# That means "just include all of this".
# Assets Configuration
[]
= true # allow to build assets for dependencies (default is `true`)
= true # overwrite existing (default is `true`)
= "link" # "copy" or "link" (default is `link`)
= true # follow symlinks (default is `true`)