Skip to content

Commit e89d4da

Browse files
committed
Various small changes
1 parent c0c4b46 commit e89d4da

File tree

20 files changed

+56
-37
lines changed

20 files changed

+56
-37
lines changed

Chapter 10.dtl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ Elina (plot): I'm not so sure yet, what do you think?
55
<Empty Text Event>
66
- No way
77
- Maybe...
8-
Alright let's do that then.
8+
Alright let's do that then.

FakeUnitTests/TC1_Simple.dch

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"_translation_id": "",
55
"color": Color(1, 1, 1, 1),
66
"custom_info": {
7+
"prefix": "",
78
"sound_mood_default": "",
89
"sound_moods": {
910
"Mood1": {
@@ -27,7 +28,8 @@
2728
"volume_variance": 0.4
2829
}
2930
},
30-
"style": ""
31+
"style": "",
32+
"suffix": ""
3133
},
3234
"default_portrait": "Default",
3335
"description": "",

FakeUnitTests/t0_overview.dtl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ Choose a timeline to test.
1212
- Various
1313
jump t5_various_events/
1414
- Audio
15-
jump t6_audio/
15+
jump t6_audio/

FakeUnitTests/t1_texts.dtl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,4 +89,4 @@ Lorem EN1 ipsum entry1 dolor entry_one sit amet.
8989
[i]Text that contains the \entry2 and it's alternatives (not all should count).
9090
Entry2 entry2 en2 EN2 entry_TWO entry_two entry_2 Entry_2
9191

92-
jump t0_overview/
92+
jump t0_overview/

FakeUnitTests/t2_characters.dtl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ leave TC3_BasicPortraits
4141
[i]Leave all characters (bounce out).
4242
leave --All-- [animation="Bounce Out" wait="true"]
4343

44-
jump t0_overview/
44+
jump t0_overview/

FakeUnitTests/t3_variables.dtl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,4 @@ Float\: {UnitTest.var_float} | String\: {UnitTest.var_string} | Array[0]\: {Unit
4949
set UnitTest.var_float += 10
5050
Float\: {UnitTest.var_float} | String\: {UnitTest.var_string} | Array[0]\: {UnitTest.var_array[0]}
5151

52-
jump t0_overview/
52+
jump t0_overview/

FakeUnitTests/t4_styles.dtl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ Some other text.
3737
Another text event.
3838

3939
[i]The end.
40-
jump t0_overview/
40+
jump t0_overview/

FakeUnitTests/t5_various_events.dtl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ label Wait
1515
label Wait Input
1616
[i]Wait input\: Will wait for a click.
1717
[wait_input]
18-
jump t0_overview/
18+
jump t0_overview/

FakeUnitTests/t6_audio.dtl

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -4,54 +4,54 @@ It will describe the desired effect, then do it.
44

55
label Music
66
[i]MP3 Music will play (click to end it). It will not fade in and out.
7-
[music path="res://FakeUnitTests/Assets/Music/Play Now Bridge Loop.ogg" fade="0" volume="-15"]
7+
audio music "res://FakeUnitTests/Assets/Music/Play Now Bridge Loop.ogg" [fade="0.0" volume="-15.0"]
88
[wait_input]
9-
[music fade="0"]
9+
audio music - [fade="0.0"]
1010

1111
[i]WAV Music will play (click to end it). It will not fade in and out.
12-
[music path="res://FakeUnitTests/Assets/Music/Play Now Bridge Loop.ogg" fade="0" volume="-15"]
12+
audio music "res://FakeUnitTests/Assets/Music/Play Now Bridge Loop.ogg" [fade="0.0" volume="-15.0"]
1313
[wait_input]
14-
[music fade="0"]
14+
audio music - [fade="0.0"]
1515

1616
[i]OGG Music will play (click to end it). It will not fade in and out.
17-
[music path="res://FakeUnitTests/Assets/Music/Play Now Bridge Loop.ogg" fade="0" volume="-15"]
17+
audio music "res://FakeUnitTests/Assets/Music/Play Now Bridge Loop.ogg" [fade="0.0" volume="-15.0"]
1818
[wait_input ]
19-
[music fade="0"]
19+
audio music - [fade="0.0"]
2020

2121

2222
label Music Looping
2323
[i]Looping OGG Music will play (click to end it). It will fade in and out (1s each).
24-
[music path="res://FakeUnitTests/Assets/Music/Play Now Bridge Loop.ogg" fade="1" loop="true" volume="-15"]
24+
audio music "res://FakeUnitTests/Assets/Music/Play Now Bridge Loop.ogg" [fade="1.0" volume="-15.0" loop="true"]
2525
[wait_input ]
26-
[music fade="1"]
26+
audio music - [fade="1.0"]
2727

2828
[i]Same file but with looping turned off (click to end it). It will fade in (and out if canceled early).
29-
[music path="res://FakeUnitTests/Assets/Music/Play Now Bridge Loop.ogg" fade="1" loop="false" volume="-15"]
29+
audio music "res://FakeUnitTests/Assets/Music/Play Now Bridge Loop.ogg" [fade="1.0" volume="-15.0" loop="false"]
3030
[wait_input ]
31-
[music fade="1"]
31+
audio music - [fade="1.0"]
3232

3333
label Music Channels
3434
[i]Play an ambient wind sound on a music channel. Then play music on another. On a click stop the music and on another click, stop the wind sound.
35-
[music path="res://FakeUnitTests/Assets/SFX/wind_ambiance.wav" channel="1"]
35+
audio music2 "res://FakeUnitTests/Assets/SFX/wind_ambiance.wav"
3636
[wait time="2"]
37-
[music path="res://FakeUnitTests/Assets/Music/Play Now.mp3" channel="2" volume="-22"]
37+
audio music3 "res://FakeUnitTests/Assets/Music/Play Now.mp3" [volume="-22.0"]
3838
[wait_input]
39-
[music channel="2"]
39+
audio music3 -
4040
[wait_input]
41-
[music channel="1"]
41+
audio music2 -
4242

4343

4444
label Sound
4545
[i]Play a bell sound effect.
46-
[sound path="res://FakeUnitTests/Assets/SFX/bell_03.ogg"]
46+
audio "res://FakeUnitTests/Assets/SFX/bell_03.ogg"
4747
[wait_input ]
4848

4949
[i]Play a bell sound effect with -15db volume.
50-
[sound path="res://FakeUnitTests/Assets/SFX/bell_03.ogg" volume="-15"]
50+
audio "res://FakeUnitTests/Assets/SFX/bell_03.ogg" [volume="-15.0"]
5151
[wait_input ]
5252

5353
[i]Play a bell sound effect with -15db volume on an audio bus with reverb.
54-
[sound path="res://FakeUnitTests/Assets/SFX/bell_03.ogg" volume="-15" bus="UnitTestBus" ]
54+
audio "res://FakeUnitTests/Assets/SFX/bell_03.ogg" [volume="-15.0" bus="UnitTestBus"]
5555
[wait_input ]
5656

57-
jump t0_overview/
57+
jump t0_overview/

MainMenu/Menu.gd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ func _on_about_pressed():
5353
fade_menu($MainMenu, $AboutScreen)
5454
%Back.grab_focus()
5555

56+
5657
func _on_back_pressed():
5758
display_button_ripple(%Back)
5859
fade_menu($AboutScreen, $MainMenu)

0 commit comments

Comments
 (0)