Skip to content

Commit

Permalink
Made lots of changes to improve experience for visually impaired user…
Browse files Browse the repository at this point in the history
…s, such as alt text for cutscene graphics, reading speaker names, a shortcut key to auto-place crops, and more alt text.
  • Loading branch information
qirien committed Sep 13, 2021
1 parent 0a40c59 commit 37d9c53
Show file tree
Hide file tree
Showing 60 changed files with 105 additions and 66 deletions.
Binary file modified game/01creator-defined.rpyc
Binary file not shown.
Binary file modified game/camera.rpyc
Binary file not shown.
4 changes: 4 additions & 0 deletions game/community.rpy
Original file line number Diff line number Diff line change
Expand Up @@ -7426,6 +7426,7 @@ label call_to_squid:
jump boat_capsized

label boat_capsized:
play sound "sfx/splash.ogg"
"The creature capsized my boat, and I fell into the water."
"We grabbed onto the boat and tried to turn it over."
if (ate_jellyfish) and (touched_jellystar_25):
Expand All @@ -7434,6 +7435,7 @@ label boat_capsized:
"[kid_name] slapped the jellysquid off with an oar."
kid yell "Come on Dad! Flip the boat with me!"
"After flinging away a few jellystars, we flipped the boat."
play sound "sfx/splash.ogg"
"I helped [kid_name] in."
kid angry "Just hang on the side while I try to get us away!"
him blush "I'm hanging on! Go for it!"
Expand Down Expand Up @@ -9053,6 +9055,8 @@ label community30:
"Explore other options.":
# else: #in this branch, you don't talk to pete or kid, so you don't know that Noel was receiving shipments of firegrass. you have talked to Oleg though, which so far isn't dependent on another variable.
# "I didn't think Pete would want to talk to me, and I didn't really have any way to contact him either."
scene farm_interior with fade
show him determined at center with dissolve
"Oleg said that he thought Brennan was the only one who could make deposits and withdrawals without the recipient's permission."
"But maybe [her_name] would also have this right?"
"I asked [her_name] if she could make deposits and withdrawals automatically."
Expand Down
Binary file modified game/community.rpyc
Binary file not shown.
Binary file modified game/credits.rpyc
Binary file not shown.
2 changes: 1 addition & 1 deletion game/crop-events.rpy
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ label garlic1:
bro surprised "Can I have some more?"
him happy "You like them? Sure! I made lots!"
kid surprised "Why would someone eat something that smells like that?"
her concerned "Garlic actually tastes really good, and it's has a lot of health benefits."
her concerned "Garlic actually tastes really good, and it has a lot of health benefits."
him normal "And it keeps vampires away."
kid annoyed "Vampires?"
him happy "That's what legends say, anyway!"
Expand Down
Binary file modified game/crop-events.rpyc
Binary file not shown.
2 changes: 1 addition & 1 deletion game/defines.rpy
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ init -100:
define chaco = Character("Chaco", who_color=blue_dusty_ice, image="chaco", ctc="ctc_blink", ctc_position="nestled-close")
define kevin = Character("Kevin", who_color=yellow, image="kevin", ctc="ctc_blink", ctc_position="nestled-close")
define zaina = Character("Zaina", who_color=yellow_gold, image="zaina", ctc="ctc_blink", ctc_position="nestled-close") #golden yellow
define jellysquid = Character("Jellysquid", kind=nvl, who_color="#614bb5", ctc="ctc_blink", ctc_position="nestled-close", what_font="fonts/KidZone.ttf") #purple
define jellysquid = Character("Jellysquid", kind=nvl, who_color="#614bb5", ctc="ctc_blink", ctc_position="nestled-close", what_font="fonts/KidZone.ttf", what_alt="Jellysquid: [text]") #purple

define tutorial = Character("Tutorial", who_color="#ededed", ctc="ctc_blink", ctc_position="nestled-close") #light gray
define note = Character("note", kind=nvl, ctc="ctc_blink", ctc_position="nestled-close")
Expand Down
Binary file modified game/defines.rpyc
Binary file not shown.
4 changes: 4 additions & 0 deletions game/endings.rpy
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,7 @@ label ending_ac:
"Ending 1/4: Bring Back My Baby."
window auto hide
show ending1_cg
alt "Image: [kid_name] sits on the shuttle, pouting, while [her_name] cries and [his_name] look on in dismay back on the planet."
$ renpy.pause(6.0)
$ renpy.pause()

Expand Down Expand Up @@ -369,6 +370,7 @@ label ending_aC:
"Ending 2/4: Proving Herself."
window auto hide
show ending2_cg
alt "Image: [kid_name] is in the clinic treating a patient, while [his_name] looks on with fondness."
$ renpy.pause(6.0)
$ renpy.pause()
return
Expand Down Expand Up @@ -450,6 +452,7 @@ label ending_Ac:
"Ending 3/4: Forever My Little Girl"
window auto hide
show ending3_cg
alt "Image: [kid_name] speeds down the hill on her bicycle with the delivery trailer attached, a carefree smile on her face."
$ renpy.pause(6.0)
$ renpy.pause()
return
Expand Down Expand Up @@ -599,6 +602,7 @@ label ending_AC:
else:
$ achievement_dict["The Stars are Bright"]["file"] = "ending4.png"
show ending4o_cg
alt "Image: [bro_name], [kid_name], [boyfriend_name] and [her_name] are all sitting at the kitchen table, chatting, while [his_name] brings out more food."
$ renpy.pause(6.0)
$ renpy.pause()

Expand Down
Binary file modified game/endings.rpyc
Binary file not shown.
3 changes: 2 additions & 1 deletion game/family.rpy
Original file line number Diff line number Diff line change
Expand Up @@ -7343,11 +7343,12 @@ label family25:
him normal "I'll go get that squash."

if (is_independent()):
kid normal "I can handle it by myself dad."
kid normal "I can handle it by myself, dad."
him surprised "Are you sure?"
kid shifty "Yes! I know you're trying to finish harvesting, so come back in an hour and I'll have it all ready for you."
him happy "Thanks, [kid_name], that'd be great."
hide him with moveoutleft
show kid normal with dissolve

if (is_competent()):
show him normal at midleft with moveinleft
Expand Down
Binary file modified game/family.rpyc
Binary file not shown.
Binary file modified game/farm.rpyc
Binary file not shown.
Binary file modified game/functions.rpyc
Binary file not shown.
Binary file modified game/gui.rpyc
Binary file not shown.
8 changes: 4 additions & 4 deletions game/images.rpy
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ init -10:

# CGs
image baby_cg:
"images/cgs/chapter-baby.png"
"images/cgs/chapter-baby.png"
xalign 0.0 yalign 0.5
linear 3.0 xalign 0.8 yalign 0.5
linear 3.0 zoom 0.5

image toddler_cg:
"images/cgs/chapter-toddler.png"
"images/cgs/chapter-toddler.png"
xalign 0.0 yalign 0.5
linear 3.0 xalign 0.6 yalign 0.2
linear 3.0 zoom 0.5
Expand All @@ -32,13 +32,13 @@ init -10:
linear 3.0 zoom 0.5

image tween_cg:
"images/cgs/chapter-tween.png"
"images/cgs/chapter-tween.png"
xalign 0.0 yalign 0.5
linear 3.0 xalign 0.5 yalign 0.3
linear 3.0 zoom 0.5

image yteen_cg:
"images/cgs/chapter-teen.png"
"images/cgs/chapter-teen.png"
xalign 0.0 yalign 0.6
linear 3.0 xalign 0.8 yalign 0.3
linear 3.0 zoom 0.5
Expand Down
Binary file modified game/images.rpyc
Binary file not shown.
52 changes: 26 additions & 26 deletions game/message-board.rpy
Original file line number Diff line number Diff line change
Expand Up @@ -809,64 +809,64 @@ label message30:

# NVL mode characters for chat rooms, etc
define her_c = Character("her_name", dynamic=True, who_suffix = " {image=images/icons/her-icon.png} ",
color=rose, kind=nvl, ctc="ctc_blink", ctc_position="nestled-close")
color=rose, kind=nvl, ctc="ctc_blink", ctc_position="nestled-close", what_alt="[her_name]: [text]")
define him_c = Character("his_name", dynamic=True, who_suffix = " {image=images/icons/him-icon.png} ",
color=red_med, kind=nvl, ctc="ctc_blink", ctc_position="nestled-close")
color=red_med, kind=nvl, ctc="ctc_blink", ctc_position="nestled-close", what_alt="[his_name]: [text]")
define kid_c = Character("kid_name", dynamic=True,
who_suffix = " {image=images/icons/kid-icon.png} ",
color=magenta, kind=nvl, ctc="ctc_blink", ctc_position="nestled-close")
color=magenta, kind=nvl, ctc="ctc_blink", ctc_position="nestled-close", what_alt="[kid_name]: [text]")
define naomi_c = Character("Naomi", who_suffix = " {image=images/icons/naomi-icon.png} ",
color=lavendar_gray, kind=nvl, ctc="ctc_blink", ctc_position="nestled-close")
color=lavendar_gray, kind=nvl, ctc="ctc_blink", ctc_position="nestled-close", what_alt="Naomi: [text]")
define pavel_c = Character("Pavel", who_suffix = " {image=images/icons/pavel-icon.png} ",
color=tan_dark, kind=nvl, ctc="ctc_blink", ctc_position="nestled-close")
color=tan_dark, kind=nvl, ctc="ctc_blink", ctc_position="nestled-close", what_alt="Pavel: [text]")
define lily_c = Character("Dr. Lily", who_suffix = " {image=images/icons/lily-icon.png} ",
color=lavendar, kind=nvl, ctc="ctc_blink", ctc_position="nestled-close")
color=lavendar, kind=nvl, ctc="ctc_blink", ctc_position="nestled-close", what_alt="Dr. Lily: [text]")
define sara_c = Character("Sara", who_suffix = " {image=images/icons/sara-icon.png} ",
color=rose_dark, kind=nvl, ctc="ctc_blink", ctc_position="nestled-close")
color=rose_dark, kind=nvl, ctc="ctc_blink", ctc_position="nestled-close", what_alt="Sara: [text]")
define thuc_c = Character("Thuc", who_suffix = " {image=images/icons/thuc-icon.png} ",
color=green_sage, kind=nvl, ctc="ctc_blink", ctc_position="nestled-close")
color=green_sage, kind=nvl, ctc="ctc_blink", ctc_position="nestled-close", what_alt="Thuc: [text]")
define ilian_c = Character("Ilian", who_suffix = " {image=images/icons/ilian-icon.png} ",
color=yellow_light, kind=nvl, ctc="ctc_blink", ctc_position="nestled-close")
color=yellow_light, kind=nvl, ctc="ctc_blink", ctc_position="nestled-close", what_alt="Ilian: [text]")
define brennan_c = Character("Brennan", who_suffix = " {image=images/icons/brennan-icon.png} ",
color=green_med, kind=nvl, ctc="ctc_blink", ctc_position="nestled-close")
color=green_med, kind=nvl, ctc="ctc_blink", ctc_position="nestled-close", what_alt="Brennan: [text]")
define pete_c = Character("Pete", who_suffix = " {image=images/icons/pete-icon.png} ",
color=brown_light, kind=nvl, ctc="ctc_blink", ctc_position="nestled-close")
color=brown_light, kind=nvl, ctc="ctc_blink", ctc_position="nestled-close", what_alt="Pete: [text]")
define natalia_c = Character("Natalia", who_suffix = " {image=images/icons/natalia-icon.png} ",
color=orange_you_glad, kind=nvl, ctc="ctc_blink", ctc_position="nestled-close")
color=orange_you_glad, kind=nvl, ctc="ctc_blink", ctc_position="nestled-close", what_alt="Natalia: [text]")
define helen_c = Character("Helen", who_suffix = " {image=images/icons/helen-icon.png} ",
color=gray_med, kind=nvl, ctc="ctc_blink", ctc_position="nestled-close")
color=gray_med, kind=nvl, ctc="ctc_blink", ctc_position="nestled-close", what_alt="Helen: [text]")
define julia_c = Character("Julia", who_suffix = " {image=images/icons/julia-icon.png} ",
color=blue_ice, kind=nvl, ctc="ctc_blink", ctc_position="nestled-close")
color=blue_ice, kind=nvl, ctc="ctc_blink", ctc_position="nestled-close", what_alt="Julia: [text]")
define martin_c = Character("Martín", who_suffix = " {image=images/icons/martin-icon.png} ",
color=dust_of_the_earth, kind=nvl, ctc="ctc_blink", ctc_position="nestled-close")
color=dust_of_the_earth, kind=nvl, ctc="ctc_blink", ctc_position="nestled-close", what_alt="XXX: [text]")
define anya_c = Character("Anya",
color="#53b5ab", kind=nvl, ctc="ctc_blink", ctc_position="nestled-close") #cyan
color="#53b5ab", kind=nvl, ctc="ctc_blink", ctc_position="nestled-close", what_alt="Anya: [text]") #cyan
define lewis_c = Character("Mr. Lewis",
color="#be4a25", kind=nvl, ctc="ctc_blink", ctc_position="nestled-close") #red-orange
color="#be4a25", kind=nvl, ctc="ctc_blink", ctc_position="nestled-close", what_alt="Mr. Lewis: [text]") #red-orange
define zaina_c = Character ("Zaina",
who_suffix = " {image=images/icons/zaina-icon.png} ",
color=yellow_gold, kind=nvl, ctc="ctc_blink", ctc_position="nestled-close")
color=yellow_gold, kind=nvl, ctc="ctc_blink", ctc_position="nestled-close", what_alt="Zaina: [text]")
define kevin_c = Character ("Kevin",
who_suffix = " {image=images/icons/kevin-icon.png} ",
color=yellow, kind=nvl, ctc="ctc_blink", ctc_position="nestled-close")
color=yellow, kind=nvl, ctc="ctc_blink", ctc_position="nestled-close", what_alt="Kevin: [text]")
define oleg_c = Character("Oleg",
who_suffix = " {image=images/icons/oleg-icon.png} ",
color=blue_mako, kind=nvl, ctc="ctc_blink", ctc_position="nestled-close")
color=blue_mako, kind=nvl, ctc="ctc_blink", ctc_position="nestled-close", what_alt="Oleg: [text]")
define travis_c = Character("Travis",
who_suffix = " {image=images/icons/travis-icon.png} ",
color=red_light, kind=nvl, ctc="ctc_blink", ctc_position="nestled-close")
color=red_light, kind=nvl, ctc="ctc_blink", ctc_position="nestled-close", what_alt="Travis: [text]")
define bro_c = Character("[bro_name]",
who_suffix = " {image=images/icons/bro-icon.png} ",
color=blue_med, kind=nvl, ctc="ctc_blink", ctc_position="nestled-close")
color=blue_med, kind=nvl, ctc="ctc_blink", ctc_position="nestled-close", what_alt="[bro_name]: [text]")
define van_c = Character("Van",
color="#1c30a1", kind=nvl, ctc="ctc_blink", ctc_position="nestled-close") #dark blue
define chaco_c = Character("Chaco", color=blue_dusty_ice, kind=nvl, ctc="ctc_blink", ctc_position="nestled-close")
color="#1c30a1", kind=nvl, ctc="ctc_blink", ctc_position="nestled-close", what_alt="Van: [text]") #dark blue
define chaco_c = Character("Chaco", color=blue_dusty_ice, kind=nvl, ctc="ctc_blink", ctc_position="nestled-close", what_alt="Chaco: [text]")
define ret_c = Character("RET",
#who_suffix = " {image=images/icons/ret-icon.png} ",
color="555555", kind=nvl, ctc="ctc_blink", ctc_position="nestled-close") #gray
color="555555", kind=nvl, ctc="ctc_blink", ctc_position="nestled-close", what_alt="RET: [text]") #gray

define computer = Character(None, kind=nvl, ctc="ctc_blink", ctc_position="nestled-close", what_font="fonts/FreeMono.ttf")

define legalese = Character(None, kind=nvl, ctc="ctc_blink", ctc_position="nestled-close")
define bandile_c = Character("Bandile", color=tan_dark, kind=nvl, ctc="ctc_blink", ctc_position="nestled-close")
define bandile_c = Character("Bandile", color=tan_dark, kind=nvl, ctc="ctc_blink", ctc_position="nestled-close", what_alt="Bandile: [text]")
define note_c = Character(None, kind=nvl, ctc="ctc_blink", ctc_position="nestled-close")
Binary file modified game/message-board.rpyc
Binary file not shown.
Binary file modified game/nutrition.rpyc
Binary file not shown.
Binary file modified game/omake.rpyc
Binary file not shown.
2 changes: 1 addition & 1 deletion game/options.rpy
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
define config.name = _("Space to Grow")

## The version of the game.
define config.version = "1.2"
define config.version = "1.3"
# Uncomment if you want the cheat/developer console enabled.
#define config.console = True

Expand Down
Binary file modified game/options.rpyc
Binary file not shown.
Binary file modified game/other-events.rpyc
Binary file not shown.
Binary file modified game/plugin-poetry.rpyc
Binary file not shown.
5 changes: 4 additions & 1 deletion game/poetry-display.rpy
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ screen poetry_display(board, call_return=False):
style_prefix "pp"
xfill True
yfill True
modal True
background "#000"
use p_display(board, call_return)

Expand All @@ -63,10 +64,12 @@ screen poetry_display(board, call_return=False):
style_prefix "pps"
xfill True
yfill True
modal True
background "#000"
use p_display(board, call_return)

screen p_display(board, call_return=False):
key "x" action Hide("poetry_display")
frame:
#background None
left_padding 100
Expand All @@ -91,7 +94,7 @@ screen p_display(board, call_return=False):
spacing 5
imagebutton auto "gui/twitter_%s.png" action TweetPoem(board.poems[count]) tooltip "Share this poem on Twitter"
alt "Tweet Poem"
textbutton " × " action Confirm("Delete this poem?", DeletePoem(board, count)) tooltip "Delete this poem" xalign 0.5
textbutton " × " action Confirm("Delete this poem?", DeletePoem(board, count)) tooltip "Delete this poem" alt "Delete Poem" xalign 0.5
vbox:
spacing 5
for i in range(0, board.MAX_LINES):
Expand Down
Binary file modified game/poetry-display.rpyc
Binary file not shown.
Binary file modified game/poetry-styles.rpyc
Binary file not shown.
Binary file modified game/poetry-wordboard.rpyc
Binary file not shown.
Binary file modified game/poetry-wordpack.rpyc
Binary file not shown.
5 changes: 3 additions & 2 deletions game/screen-bios.rpy
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ screen biographies(name):
modal True
zorder 1
style_prefix "bio"
key "x" action Hide("biographies")

frame:
xalign 0.5
Expand Down Expand Up @@ -33,9 +34,9 @@ screen biographies(name):
if (active):
hbox:
showif (not read):
text " {b}!{/b} " xalign 1.0 yalign 0.0 style "alert_text" at tiny_bounce
text " {b}!{/b} " xalign 1.0 yalign 0.0 alt "" style "alert_text" at tiny_bounce
else:
text "" xalign 0.0
text "" xalign 0.0 alt ""
textbutton fname action SetVariable("show_person", name)

null width 10
Expand Down
Binary file modified game/screen-bios.rpyc
Binary file not shown.
Loading

0 comments on commit 37d9c53

Please sign in to comment.