Skip to content

Commit

Permalink
refactor(audio): play main menu music
Browse files Browse the repository at this point in the history
  • Loading branch information
remarkablemark committed Jun 16, 2024
1 parent 25772e0 commit 6c01e80
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 24 deletions.
Binary file added game/audio/sad_intro.ogg
Binary file not shown.
Binary file added game/audio/sad_verse.ogg
Binary file not shown.
11 changes: 5 additions & 6 deletions game/bad_ending.rpy
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
label bad_ending:
if affection < 0:
show teacher sadder at scale(0.6), center

show teacher sadder at scale(0.6), center

teacher "I don’t know how to say this, but unfortunately, one of our classmates took her own life last night."
Expand All @@ -18,8 +15,10 @@ label bad_ending:

scene black
with dissolve
#Put message on why it's important to listen. Add suicide facts, maybe suicide hotline.
#Ask the player if maybe they could have done something different.

# Put message on why it's important to listen. Add suicide facts, maybe suicide hotline.
# Ask the player if maybe they could have done something different.

"{b}Bad Ending{/b}."

return
return
19 changes: 7 additions & 12 deletions game/good_ending.rpy
Original file line number Diff line number Diff line change
@@ -1,18 +1,15 @@
label good_ending:
if affection > 0:
show teacher happy

show teacher sadder
show teacher sadder at scale(0.6), center

teacher "I don’t know how to say this, but unfortunately, one of our classmates took her own life last night."
player "{i}(thinking){/i} No, it can’t be her. Please don’t be her."
teacher "For the privacy of the individual, we’re currently not able to say who it was. But please be respectful for the time being."

stop music fadeout 4
queue music "tropical_house5_intro.ogg" fadein 4
queue music "tropical_house5_verse.ogg"
stop music fadeout 1
queue music "tropical_house1_intro.ogg" fadein 8
queue music "tropical_house1_verse.ogg"

show classmate smile at scale(0.6), left
show classmate smile at scale(0.6), left, flip

classmate "I’m sorry I’m late. I had an appointment with the counselor this morning."

Expand All @@ -21,23 +18,21 @@ label good_ending:
#put counselor/therapist's office background below
scene bg uni

queue music "tropical_house5_refrain.ogg"
queue music ["tropical_house1_intro.ogg", "tropical_house1_verse.ogg"]

"You and Alex visit the counselor together, talking openly about Alex’s struggles. The counselor provides resources and support."

show teacher happy at scale(0.6), right

teacher "It’s great to see friends supporting each other. Alex, we’re here for you. Let’s work together to help you through this."

show classmate smile at scale(0.6), left
show classmate smile at scale(0.8), left, flip

classmate "Thank you. I feel like I have a bit more hope now."

scene bg lecturehall
with dissolve

queue music ["tropical_house5_prechorus.ogg", "tropical_house5_chorus.ogg"]

"In the following days, you and Alex continue to support each other. Alex starts to feel more positive and engaged in class."

show classmate smile
Expand Down
2 changes: 1 addition & 1 deletion game/options.rpy
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ define config.has_voice = True
## the player is at the main menu. This file will continue playing into the
## game, until it is stopped or another file is played.

# define config.main_menu_music = "main-menu-theme.ogg"
define config.main_menu_music = ["tropical_house5_intro.ogg", "tropical_house5_refrain.ogg", "tropical_house5_prechorus.ogg", "tropical_house5_chorus.ogg", "tropical_house5_refrain.ogg"]


## Transitions #################################################################
Expand Down
10 changes: 5 additions & 5 deletions game/script.rpy
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,13 @@ label act_1:

stop music fadeout 4

queue music "sad_intro.ogg"
queue music "sad_verse.ogg"

scene bg club
with dissolve

play music ["dark_intro.ogg", "dark_verse.ogg"]

show classmate upset at scale(0.6), right
show classmate upset at scale(0.7), right

"Later, in the hallway, you overhear Alex talking to another student."
classmate "{i}(frustrated){/i} I don’t know what to do anymore. It just feels like everything is falling apart."
Expand All @@ -83,7 +84,7 @@ label act_1:

stop music fadeout 4

queue music ["tropical_house1_intro.ogg", "tropical_house1_verse.ogg"]
queue music ["dark_intro.ogg", "dark_verse.ogg"]

scene bg meadow
with dissolve
Expand Down Expand Up @@ -113,7 +114,6 @@ label act_1:
"You get to class the next day and notice that Alex is absent. The room feels tense."
player "{i}(thinking){/i} Where’s Alex? She said she’d be here today."


if affection > 0:
jump good_ending
else:
Expand Down

0 comments on commit 6c01e80

Please sign in to comment.