From 17975e243cadde549e8ccbbc7b4a66cc45548295 Mon Sep 17 00:00:00 2001 From: yyc12345 Date: Thu, 12 Sep 2024 16:18:51 +0800 Subject: [PATCH] add bgm resources --- game/branch_bad_chapter_3.rpy | 4 +++- game/branch_good_chapter_3.rpy | 2 ++ game/branch_normal_chapter_3.rpy | 2 ++ game/common_chapter_1.rpy | 9 +++++++-- game/common_chapter_2.rpy | 8 +++++++- game/common_chapter_3.rpy | 17 ++++++++++++++--- game/script.rpy | 21 ++++++++++++++++----- 7 files changed, 51 insertions(+), 12 deletions(-) diff --git a/game/branch_bad_chapter_3.rpy b/game/branch_bad_chapter_3.rpy index 6258dbc..b9b3edf 100644 --- a/game/branch_bad_chapter_3.rpy +++ b/game/branch_bad_chapter_3.rpy @@ -2,6 +2,8 @@ label branch_bad_chapter_3: label branch_bad_chapter_3_2: + play music bgm_astral_ability_pianover fadein 0.5 fadeout 0.5 + scene bg pedestrian_street dawn with fade @@ -12,7 +14,7 @@ label branch_bad_chapter_3_2: 每周要上6天班,老板心情不好的时候得上7天。 - 每天从早上七点做工到晚上10点。拿到的工资也只够维持房租和日常的基本开销,没有任何盈余。 + 每天从早上7点做工到晚上10点。拿到的工资也只够维持房租和日常的基本开销,没有任何盈余。 虽然只是在办公室坐着,工作内容也都是些重复的枯燥的东西。但这么长时间的工作也压得我喘不过气。 diff --git a/game/branch_good_chapter_3.rpy b/game/branch_good_chapter_3.rpy index f899f4a..15c74f4 100644 --- a/game/branch_good_chapter_3.rpy +++ b/game/branch_good_chapter_3.rpy @@ -2,6 +2,8 @@ label branch_good_chapter_3: label branch_good_chapter_3_2: + play music bgm_happy_days fadein 0.5 fadeout 0.5 + scene bg street dawn with fade diff --git a/game/branch_normal_chapter_3.rpy b/game/branch_normal_chapter_3.rpy index e98888d..95bcd3c 100644 --- a/game/branch_normal_chapter_3.rpy +++ b/game/branch_normal_chapter_3.rpy @@ -2,6 +2,8 @@ label branch_normal_chapter_3: label branch_normal_chapter_3_2: + play music bgm_morning_light fadein 0.5 fadeout 0.5 + scene bg street dawn with fade diff --git a/game/common_chapter_1.rpy b/game/common_chapter_1.rpy index 8d22a6f..816b786 100644 --- a/game/common_chapter_1.rpy +++ b/game/common_chapter_1.rpy @@ -2,7 +2,8 @@ label common_chapter_1: label common_chapter_1_1: - #play music main + play music bgm_constant_daily fadein 0.5 fadeout 0.5 + scene bg classroom dusk with fade @@ -38,7 +39,7 @@ label common_chapter_1_1: 我事实上是在对着手机屏幕发呆而已。心里一直在思考些事情,但这会又完全记不起我思考了些什么。 """ - w "想去校园里走走。。。" + w "(想去校园里走走。。。)" """ 不经意间,我突然嘀咕出这么一句话来。 @@ -51,6 +52,8 @@ label common_chapter_1_1: play sound se_walking "说罢,我动了动身子,起身离开教室" + play music bgm_common_scenery fadein 0.5 fadeout 0.5 + scene bg lake dusk with fade @@ -110,6 +113,8 @@ label common_chapter_1_1: label common_chapter_1_2: + play music bgm_emotion fadein 0.5 fadeout 0.5 + scene bg dorm night with fade diff --git a/game/common_chapter_2.rpy b/game/common_chapter_2.rpy index c3d25be..1e92884 100644 --- a/game/common_chapter_2.rpy +++ b/game/common_chapter_2.rpy @@ -2,6 +2,8 @@ label common_chapter_2: label common_chapter_2_1: + play music bgm_constant_daily fadein 0.5 fadeout 0.5 + scene bg office noon with fade #scene overlay another view @@ -28,6 +30,8 @@ label common_chapter_2_1: label common_chapter_2_2: + play music bgm_take_into_account fadein 0.5 fadeout 0.5 + scene bg interview_room with fade @@ -383,6 +387,8 @@ label common_chapter_2_2: label common_chapter_2_3: + play music bgm_constant_daily fadein 0.5 fadeout 0.5 + scene bg office dusk with fade #scene overlay another view @@ -407,7 +413,7 @@ label common_chapter_2_3: 编译日志为什么要去改C++的输出? - 唯一勉强说得过去的是还知道wq的w是写入的意思。 + 唯一勉强说得过去的是还知道:wq的w是写入的意思。 """ if is_wrong_switch_online_search: bl """ diff --git a/game/common_chapter_3.rpy b/game/common_chapter_3.rpy index 8d0efd3..57c0008 100644 --- a/game/common_chapter_3.rpy +++ b/game/common_chapter_3.rpy @@ -2,6 +2,8 @@ label common_chapter_3: label common_chapter_3_1: + play music bgm_tender_wrap fadein 0.5 fadeout 0.5 + scene bg office_building dusk with fade @@ -30,6 +32,8 @@ label common_chapter_3_1: scene bg apartment_room night closed_window with fade + play music bgm_bravado_adult_secret_labo_quietver fadein 0.5 fadeout 0.5 + """ 回到住处,洗漱一番,关闭屋中灯光后,我钻进了被窝。 @@ -66,13 +70,20 @@ label common_chapter_3_1: 大家似乎都成为了各自四年里的一个过客。 抱着这样的想法,我的意识也逐渐模糊起来。 - + """ + + scene bg apartment_room night closed_window + with fade + + """ 我拉上窗帘,屋内重回黑暗。 回到了床上,带着深深的疲倦,渐渐在等待中睡着了。 """ - scene apartment_room dawn + play music bgm_astral_ability_guitarver fadein 0.5 fadeout 0.5 + + scene bg apartment_room dawn with fade """ @@ -118,7 +129,7 @@ label common_chapter_3_1: if is_entering_branch_good(): play sound se_phone_ring - + """ 叮咚。一声意外的提示音响起。邮箱里又多了一封邮件。 diff --git a/game/script.rpy b/game/script.rpy index 74bc656..7200f04 100644 --- a/game/script.rpy +++ b/game/script.rpy @@ -8,11 +8,22 @@ define rm4 = Character('舍友4', color="#ffc8c8") define rm5 = Character('舍友5', color="#ffc8c8") define rm6 = Character('舍友6', color="#ffc8c8") -define audio.se_walking = "walking.ogg" -define audio.se_keyboard_typing = "keyboard_typing.ogg" -define audio.se_writing = "writing.ogg" -define audio.se_phone_ring = "phone_ring.ogg" -define audio.se_knock_door = "knock_door.ogg" +define audio.bgm_morning_light = "bgm/01.Morning Light.ogg" +define audio.bgm_constant_daily = "bgm/02.変わらない日常.ogg" +define audio.bgm_happy_days = "bgm/03.Happy Days.ogg" +define audio.bgm_common_scenery = "bgm/04.Common Scenery.ogg" +define audio.bgm_tender_wrap = "bgm/07.優しさにつつまれて.ogg" +define audio.bgm_bravado_adult_secret_labo_quietver = "bgm/13.強がるオトナのSecretLabo (QuietVer.).ogg" +define audio.bgm_emotion = "bgm/23.Emotion.ogg" +define audio.bgm_take_into_account = "bgm/24.Take into Account.ogg" +define audio.bgm_usability_of_ability = "bgm/25.Usability of Ability.ogg" +define audio.bgm_astral_ability_guitarver = "bgm/38.astral ability (GuitarVer.).ogg" +define audio.bgm_astral_ability_pianover = "bgm/42.astral ability (PianoVer.).ogg" +define audio.se_walking = "soundeffect/walking.ogg" +define audio.se_keyboard_typing = "soundeffect/keyboard_typing.ogg" +define audio.se_writing = "soundeffect/writing.ogg" +define audio.se_phone_ring = "soundeffect/phone_ring.ogg" +define audio.se_knock_door = "soundeffect/knock_door.ogg" default is_open_source_project = False default open_source_switch_counter = 0