Skip to content

Commit 4d5b737

Browse files
author
brentru
committed
adding modified CYOA.json to make cave example playable on smaller screens like the pygamer
1 parent 82c7627 commit 4d5b737

File tree

1 file changed

+39
-27
lines changed

1 file changed

+39
-27
lines changed

examples/cave/cyoa.json

Lines changed: 39 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"text": "Welcome adventurer. Your adventure begins, as many do, in Ye Olde Inn.",
66
"text_color": "0x000001",
77
"button01_text": "Continue",
8-
"button01_goto_card_id": "inn",
8+
"button01_goto_card_id": "inn"
99
},
1010
{
1111
"card_id": "inn",
@@ -14,10 +14,10 @@
1414
"sound_repeat": "True",
1515
"text": "This is a peaceful, happy inn with plentiful drink, tasty food, and friendly staff.",
1616
"text_color": "0x000001",
17-
"button01_text": "Stay here",
17+
"button01_text": "Stay",
1818
"button01_goto_card_id": "inn",
19-
"button02_text": "Adventure!",
20-
"button02_goto_card_id": "cave entrance",
19+
"button02_text": "Go!",
20+
"button02_goto_card_id": "cave entrance"
2121
},
2222
{
2323
"card_id": "cave entrance",
@@ -26,9 +26,9 @@
2626
"text_color": "0x000001",
2727
"sound": "cave.wav",
2828
"sound_repeat": "True",
29-
"button01_text": "Go inside",
29+
"button01_text": "Enter",
3030
"button01_goto_card_id": "entry",
31-
"button02_text": "Run away",
31+
"button02_text": "Run",
3232
"button02_goto_card_id": "inn"
3333
},
3434
{
@@ -39,7 +39,7 @@
3939
"text": "You are in a dark, narrow tunnel.",
4040
"text_color": "0x000001",
4141
"button01_text": "Next",
42-
"button01_goto_card_id": "side opening",
42+
"button01_goto_card_id": "side opening"
4343
},
4444
{
4545
"card_id": "side opening",
@@ -50,8 +50,8 @@
5050
"text_color": "0x000001",
5151
"button01_text": "Continue",
5252
"button01_goto_card_id": "skeleton room",
53-
"button02_text": "Side Tunnel",
54-
"button02_goto_card_id": "treasure room",
53+
"button02_text": "Side T.",
54+
"button02_goto_card_id": "treasure room"
5555
},
5656
{
5757
"card_id": "treasure room",
@@ -61,7 +61,7 @@
6161
"text": "There is a pile of treasure here. Congratulations!",
6262
"text_color": "0x000001",
6363
"button01_text": "Next",
64-
"button01_goto_card_id": "maze 1",
64+
"button01_goto_card_id": "maze 1"
6565
},
6666
{
6767
"card_id": "skeleton room",
@@ -71,7 +71,7 @@
7171
"text": "There is a skeleton on the floor. From the items around it, it seems to be that of an unfortunate adventurer.",
7272
"text_color": "0x000001",
7373
"button01_text": "Next",
74-
"button01_goto_card_id": "maze 2",
74+
"button01_goto_card_id": "maze 2"
7575
},
7676
{
7777
"card_id": "maze 1",
@@ -95,7 +95,7 @@
9595
"button01_text": "Left",
9696
"button01_goto_card_id": "maze 1",
9797
"button02_text": "Right",
98-
"button02_goto_card_id": "maze 4",
98+
"button02_goto_card_id": "maze 4"
9999
},
100100
{
101101
"card_id": "maze 3",
@@ -107,7 +107,7 @@
107107
"button01_text": "Left",
108108
"button01_goto_card_id": "maze 5",
109109
"button02_text": "Right",
110-
"button02_goto_card_id": "maze 2",
110+
"button02_goto_card_id": "maze 2"
111111
},
112112
{
113113
"card_id": "maze 4",
@@ -119,7 +119,7 @@
119119
"button01_text": "Left",
120120
"button01_goto_card_id": "maze 1",
121121
"button02_text": "Right",
122-
"button02_goto_card_id": "maze 6",
122+
"button02_goto_card_id": "maze 6"
123123
},
124124
{
125125
"card_id": "maze 5",
@@ -131,7 +131,7 @@
131131
"button01_text": "Left",
132132
"button01_goto_card_id": "maze 4",
133133
"button02_text": "Right",
134-
"button02_goto_card_id": "creaking",
134+
"button02_goto_card_id": "creaking"
135135
},
136136
{
137137
"card_id": "maze 6",
@@ -143,7 +143,7 @@
143143
"button01_text": "Left",
144144
"button01_goto_card_id": "creaking",
145145
"button02_text": "Right",
146-
"button02_goto_card_id": "maze 3",
146+
"button02_goto_card_id": "maze 3"
147147
},
148148
{
149149
"card_id": "creaking",
@@ -152,30 +152,42 @@
152152
"sound_repeat": "True",
153153
"text": "You hear an ominuous creaking from around the corner",
154154
"text_color": "0x000001",
155-
"button01_text": "Continue",
156-
"button01_goto_card_id": "bridge room",
157-
"button02_text": "Turn back",
158-
"button02_goto_card_id": "inn",
155+
"button01_text": "Cont.",
156+
"button01_goto_card_id": "bridge room 1",
157+
"button02_text": "Go back",
158+
"button02_goto_card_id": "inn"
159159
},
160160
{
161-
"card_id": "bridge room",
161+
"card_id": "bridge room 1",
162162
"background_image": "page01.bmp",
163163
"sound": "creak.wav",
164164
"sound_repeat": "True",
165-
"text": "There is a creaking, rickity wooded bridge leading across a gaping chasm. At the other end is a large treasure chest. There is also a short tunnel with daylight at the end.",
165+
"text": "There is a creaking, rickity wooded bridge leading across a gaping chasm.",
166166
"text_color": "0x000001",
167-
"button01_text": "Treasure!",
168-
"button01_goto_card_id": "die",
169-
"button02_text": "Leave",
170-
"button02_goto_card_id": "inn",
167+
"button01_text": "Cont.",
168+
"button01_goto_card_id": "bridge room 2"
169+
},
170+
171+
{
172+
"card_id": "bridge room 2",
173+
"background_image": "page01.bmp",
174+
"sound": "creak.wav",
175+
"sound_repeat": "True",
176+
"text": "At the other end is a large treasure chest. There is also a short tunnel with daylight at the end.",
177+
"text_color": "0x000001",
178+
"button01_text": "Treasure!",
179+
"button01_goto_card_id": "die",
180+
"button02_text": "Leave",
181+
"button02_goto_card_id": "inn"
171182
},
183+
172184
{
173185
"card_id": "die",
174186
"background_image": "page01.bmp",
175187
"sound": "scream.wav",
176188
"text": "The bridge gives way and you fall to a painful death.",
177189
"text_color": "0x000001",
178190
"button01_text": "Next",
179-
"button01_goto_card_id": "inn",
191+
"button01_goto_card_id": "inn"
180192
}
181193
]

0 commit comments

Comments
 (0)