You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: client/assets/localization.csv
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -637,3 +637,4 @@ mod_manage_music,Label for music in mod management,Music,Musique,Música,音楽,
637
637
mod_manage_submods,Label for submods in mod management,Sub Mods,Sous-mods,Submods,サブMOD,Submods,Submods,Submod,ซับม็อด
638
638
mod_manage_enabled,Label for enabled in mod management,Enabled,Activé,Ativado,有効,Activado,Aktiviert,Abilitato,เปิดใช้งาน
639
639
mm_2_time,,2P time attack,2J contre la montre,2J contra o tempo,2P スコアアタック,2J Contrareloj,2P Time Attack,2P a tempo,2P time attack
640
+
op_about_puzzles,,About custom puzzles,À propos des puzzles personnalisés,Sobre quebra-cabeças personalizados,カスタムパズルについて,Acerca de rompecabezas personalizados,How to: Eigene Puzzles erstellen,A proposito dei puzzle personalizzabili,เกี่ยวกับ custom puzzles
Copy file name to clipboardExpand all lines: docs/puzzles.md
+19-5Lines changed: 19 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ Each puzzle file can contain as many puzzle sets as you like. Each set within a
13
13
14
14
The contents of each puzzle file should be formatted something like this:
15
15
16
-
```json
16
+
```jsonc
17
17
{
18
18
"Version":3,
19
19
"Puzzle Sets": [
@@ -24,7 +24,7 @@ The contents of each puzzle file should be formatted something like this:
24
24
"Puzzle Type":"chain",
25
25
"StartTiming":"countdown",
26
26
"Moves":0,
27
-
"Stack":
27
+
"Stack":
28
28
"040000
29
29
111440",
30
30
"CursorStartLeft":
@@ -36,7 +36,7 @@ The contents of each puzzle file should be formatted something like this:
36
36
{
37
37
"Puzzle Type":"clear",
38
38
"Moves":0,
39
-
"Stack":
39
+
"Stack":
40
40
"
41
41
[====]
42
42
[====]
@@ -81,7 +81,9 @@ Version 3 is the current version it allows "Puzzle Sets" to have recursive "Puzz
81
81
-**"clear"** - all garbage on the field needs to be cleared before health runs out
82
82
83
83
#### Other Fields
84
-
-**"Moves"** - the number of moves, can be zero to not have a limit
84
+
-**"Moves"** - the number of moves allowed to complete the puzzle
85
+
- Set to 0 for unlimited moves (no move limit)
86
+
-**Important**: "moves" type puzzles must have a value greater than 0
85
87
-**"Stack"** - the starting arrangement of the panels, see below
86
88
87
89
#### Start Timing
@@ -100,6 +102,14 @@ If no start timing is given, a suitable start timing is selected based on puzzle
100
102
-**"Shake"** - specifies how many frames of shake time are initially granted to the player
101
103
-**"CursorStartLeft"** - specifies where the left part of the cursor should start the puzzle
102
104
- Format: `{ "Row": 1, "Column": 1 }`
105
+
- Valid ranges: Row must be 1-12, Column must be 1-5
106
+
-**"Solution"** - a compressed input string representing the solution to the puzzle
107
+
- Format: String of encoded inputs (swap directions and timing)
108
+
- Used by the game to verify solutions or provide hints
109
+
- The best way to add this is to solve your puzzle in game, and it will be added to the puzzle.
110
+
-**"Help Description"** - optional text that explains the puzzle pattern or provides hints to the player
111
+
- Format: String describing the puzzle mechanic or strategy
112
+
- Displayed when the player requests help for the puzzle
103
113
104
114
#### Panel Buffers
105
115
**"PanelBuffer"** specifies the panels that should appear if the player is raising the stack.
@@ -174,4 +184,8 @@ Carriage returns are allowed in the middle of the panel maps for each individual
174
184
-**]** = bottom right corner of a combo / chain garbage block
175
185
-**{** = left end of a shock garbage block
176
186
-**}** = right end of a shock garbage block
177
-
-**=** = filler space to determine the size of the garbage block indicated by the surrounding `[]{}`
187
+
-**=** = filler space to determine the size of the garbage block indicated by the surrounding `[]{}`
188
+
189
+
## More Examples
190
+
191
+
For additional examples, check out the [default puzzles included with the game](https://github.com/panel-attack/panel-game/blob/beta/client/assets/default_data/puzzles/) on GitHub. This file contains a variety of puzzle types and demonstrates many of the features described in this guide.
0 commit comments