Skip to content

Typo fix #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 21, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added examples/cave/Mystery.wav
Binary file not shown.
Binary file added examples/cave/creak.wav
Binary file not shown.
31 changes: 30 additions & 1 deletion examples/cave/cyoa.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
{
"card_id": "inn",
"background_image": "page01.bmp",
"sound": "pub.wav",
"sound_repeat": "True",
"text": "This is a peaceful, happy inn with plentiful drink, tasty food, and friendly staff.",
"text_color": "0x000001",
"button01_text": "Stay here",
Expand All @@ -22,6 +24,8 @@
"background_image": "page01.bmp",
"text": "There is a dark cave in the hillside before you.",
"text_color": "0x000001",
"sound": "Mystery.wav",
"sound_repeat": "True",
"button01_text": "Go inside",
"button01_goto_card_id": "entry",
"button02_text": "Run away",
Expand All @@ -30,6 +34,8 @@
{
"card_id": "entry",
"background_image": "page01.bmp",
"sound": "Mystery.wav",
"sound_repeat": "True",
"text": "You are in a dark, narrow tunnel.",
"text_color": "0x000001",
"button01_text": "Next",
Expand All @@ -38,6 +44,8 @@
{
"card_id": "side opening",
"background_image": "page01.bmp",
"sound": "Mystery.wav",
"sound_repeat": "True",
"text": "You are in a small room, one tunnel leads ahead and another to the side. Do you continue on or explore the side tunnel?",
"text_color": "0x000001",
"button01_text": "Continue",
Expand All @@ -48,6 +56,8 @@
{
"card_id": "treasure room",
"background_image": "page01.bmp",
"sound": "Mystery.wav",
"sound_repeat": "True",
"text": "There is a pile of treasure here. Congratulations!",
"text_color": "0x000001",
"button01_text": "Next",
Expand All @@ -56,6 +66,8 @@
{
"card_id": "skeleton room",
"background_image": "page01.bmp",
"sound": "Mystery.wav",
"sound_repeat": "True",
"text": "There is a skeleton on the floor. From the items around it, it seems to be that of an unfortunate adventurer.",
"text_color": "0x000001",
"button01_text": "Next",
Expand All @@ -64,6 +76,8 @@
{
"card_id": "maze 1",
"background_image": "page01.bmp",
"sound": "Mystery.wav",
"sound_repeat": "True",
"text": "There are passages to the left and right.",
"text_color": "0x000001",
"button01_text": "Left",
Expand All @@ -74,6 +88,8 @@
{
"card_id": "maze 2",
"background_image": "page01.bmp",
"sound": "Mystery.wav",
"sound_repeat": "True",
"text": "There are passages to the left and right.",
"text_color": "0x000001",
"button01_text": "Left",
Expand All @@ -84,6 +100,8 @@
{
"card_id": "maze 3",
"background_image": "page01.bmp",
"sound": "Mystery.wav",
"sound_repeat": "True",
"text": "There are passages to the left and right.",
"text_color": "0x000001",
"button01_text": "Left",
Expand All @@ -94,6 +112,8 @@
{
"card_id": "maze 4",
"background_image": "page01.bmp",
"sound": "Mystery.wav",
"sound_repeat": "True",
"text": "There are passages to the left and right.",
"text_color": "0x000001",
"button01_text": "Left",
Expand All @@ -104,6 +124,8 @@
{
"card_id": "maze 5",
"background_image": "page01.bmp",
"sound": "Mystery.wav",
"sound_repeat": "True",
"text": "There are passages to the left and right.",
"text_color": "0x000001",
"button01_text": "Left",
Expand All @@ -114,6 +136,8 @@
{
"card_id": "maze 6",
"background_image": "page01.bmp",
"sound": "Mystery.wav",
"sound_repeat": "True",
"text": "There are passages to the left and right.",
"text_color": "0x000001",
"button01_text": "Left",
Expand All @@ -124,6 +148,8 @@
{
"card_id": "creaking",
"background_image": "page01.bmp",
"sound": "creak.wav",
"sound_repeat": "True",
"text": "You hear an ominuous creaking from around the corner",
"text_color": "0x000001",
"button01_text": "Continue",
Expand All @@ -134,7 +160,9 @@
{
"card_id": "bridge room",
"background_image": "page01.bmp",
"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 hort tunnel with daylight at the end.",
"sound": "creak.wav",
"sound_repeat": "True",
"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.",
"text_color": "0x000001",
"button01_text": "Treasure!",
"button01_goto_card_id": "die",
Expand All @@ -144,6 +172,7 @@
{
"card_id": "die",
"background_image": "page01.bmp",
"sound": "scream.wav",
"text": "The bridge gives way and you fall to a painful death.",
"text_color": "0x000001",
"button01_text": "Next",
Expand Down
Binary file added examples/cave/pub.wav
Binary file not shown.
Binary file added examples/cave/scream.wav
Binary file not shown.