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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
### Nano-9 Config
## Info
# name = "My Nano-9 Game"
# description = "A first-person pixeler"
# author = "Jane Doe <jane.doe@blah.com>"
# license = "MIT"
# frames-per-second = 30
= "pico8"
= [ "main.lua" ]
## Pico-8 key bindings
[]
= ["ArrowLeft"]
= ["ArrowRight"]
= ["ArrowUp"]
= ["ArrowDown"]
= ["KeyZ", "KeyC", "KeyN", "NumpadSubtract"]
= ["KeyX", "KeyV", "KeyM", "Numpad8"]
[]
= ["KeyS"]
= ["KeyF"]
= ["KeyE"]
= ["KeyD"]
= ["ShiftLeft", "Tab"]
= ["KeyA", "KeyQ"]
## Screen
# [screen]
# canvas-size = [128, 128]
# screen-size = [512, 512]
## Defaults
# [defaults]
# font-size = 5
# initial-pen-color = 6
# initial-transparent-color = 7
# clear-color = 8
## Fonts
# [[font]] # 0
# path = "embedded://nano9/pico8/pico-8.ttf"
# [[font]] # 1
# path = "font.tff"
# [[font]] # 2
# default = true # The default Bevy font
## Palettes
# [[palette]] # 0
# path = "1bit-palette.png"
# [[palette]] # 1
# path = "dawn-palette.png"
## Images and sprite sheets
# [[sprite-sheet]] # 0
# path = "sprite-sheet.png"
# sprite-size = [8, 8]
# indexed = true # An indexed image
# [[sprite-sheet]] # 1
# path = "main-character.png"
# sprite-counts = [13, 1]
## Audio banks
# [[audio-bank]] #0
# paths = ["boop.ogg", #0
# "beep.ogg", #1
# "bonk.ogg", #2
# ]
# Use the first 10 sfx from sounds.p8.
# [[audio-bank]]
# p8 = "sounds.p8"
# count = 10
## Maps
# [[map]] # 0
# path = "map0.p8"
# [[map]] # 1
# path = "map1.p8"