Skip to content

Commit 6ae57ea

Browse files
committed
fix intro melody
1 parent dc3fab1 commit 6ae57ea

File tree

3 files changed

+9
-10
lines changed

3 files changed

+9
-10
lines changed

scenes/newgame.gd

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,11 @@ func _ready():
1414
$FourColorsCheckBox.pressed = Global.useFourColors
1515
$AutoCritCheckBox.pressed = Global.useAutoCrits
1616
get_current_highscore()
17-
17+
$Music/StartPlayer.connect("finished", $Music/LoopPlayer, "play")
18+
1819
func _process(delta):
19-
fade_music_if_needed(delta)
20+
# fade_music_if_needed(delta)
21+
pass
2022

2123
func get_current_highscore():
2224
var http_request = HTTPRequest.new()

scenes/newgame.tscn

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
[ext_resource path="res://scenes/newgame.gd" type="Script" id=2]
55
[ext_resource path="res://fonts/audiowide-large.tres" type="DynamicFont" id=3]
66
[ext_resource path="res://fonts/audiowide.tres" type="DynamicFont" id=4]
7-
[ext_resource path="res://sounds/intro_loop.wav" type="AudioStream" id=5]
8-
[ext_resource path="res://sounds/intro_start.wav" type="AudioStream" id=6]
7+
[ext_resource path="res://sounds/intro_start.wav" type="AudioStream" id=5]
8+
[ext_resource path="res://sounds/intro_loop.wav" type="AudioStream" id=6]
99

1010
[node name="newgame" type="Node2D"]
1111
script = ExtResource( 2 )
@@ -86,11 +86,8 @@ __meta__ = {
8686
[node name="Music" type="Node" parent="."]
8787

8888
[node name="StartPlayer" type="AudioStreamPlayer" parent="Music"]
89-
stream = ExtResource( 6 )
89+
stream = ExtResource( 5 )
9090
autoplay = true
91-
bus = "Music"
9291

9392
[node name="LoopPlayer" type="AudioStreamPlayer" parent="Music"]
94-
stream = ExtResource( 5 )
95-
volume_db = -80.0
96-
bus = "Music"
93+
stream = ExtResource( 6 )

sounds/intro_start.wav.import

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ force/max_rate=false
1717
force/max_rate_hz=44100
1818
edit/trim=false
1919
edit/normalize=false
20-
edit/loop=true
20+
edit/loop=false
2121
compress/mode=0

0 commit comments

Comments
 (0)