-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #31 from ligen131/dev-cutekibry
添加 BGM
- Loading branch information
Showing
8 changed files
with
57 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
[remap] | ||
|
||
importer="wav" | ||
type="AudioStreamWAV" | ||
uid="uid://cr3nkhf0fejm5" | ||
path="res://.godot/imported/bgm.wav-5645fcab8b652fa4aadb063a7a671992.sample" | ||
|
||
[deps] | ||
|
||
source_file="res://levels/base_level/bgm.wav" | ||
dest_files=["res://.godot/imported/bgm.wav-5645fcab8b652fa4aadb063a7a671992.sample"] | ||
|
||
[params] | ||
|
||
force/8_bit=false | ||
force/mono=false | ||
force/max_rate=false | ||
force/max_rate_hz=44100 | ||
edit/trim=false | ||
edit/normalize=false | ||
edit/loop_mode=0 | ||
edit/loop_begin=0 | ||
edit/loop_end=-1 | ||
compress/mode=0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,25 @@ | ||
[gd_scene load_steps=4 format=3 uid="uid://c17fbsiogbgo1"] | ||
[gd_scene load_steps=5 format=3 uid="uid://c17fbsiogbgo1"] | ||
|
||
[ext_resource type="Script" path="res://main.gd" id="1_d0et0"] | ||
[ext_resource type="PackedScene" uid="uid://c07co5p46apu7" path="res://objects/main_menu/main_menu.tscn" id="1_fk6j6"] | ||
[ext_resource type="Script" path="res://main.gd" id="1_nb6uf"] | ||
[ext_resource type="PackedScene" uid="uid://d3geq38s5fjc6" path="res://bg/dynamic_bg/dynamic_bg.tscn" id="2_8k4il"] | ||
[ext_resource type="AudioStream" uid="uid://cr3nkhf0fejm5" path="res://levels/base_level/bgm.wav" id="3_n81it"] | ||
|
||
[node name="Main" type="Node"] | ||
script = ExtResource("1_d0et0") | ||
script = ExtResource("1_nb6uf") | ||
|
||
[node name="MainMenu" parent="." instance=ExtResource("1_fk6j6")] | ||
|
||
[node name="Bg" type="Node" parent="."] | ||
|
||
[node name="DynamicBg" parent="Bg" instance=ExtResource("2_8k4il")] | ||
|
||
[node name="BGMPlayer" type="AudioStreamPlayer2D" parent="."] | ||
position = Vector2(234, 150) | ||
stream = ExtResource("3_n81it") | ||
volume_db = -4.685 | ||
attenuation = 0.0001 | ||
|
||
[connection signal="enter_level" from="MainMenu" to="." method="_on_main_menu_enter_level"] | ||
[connection signal="finished" from="BGMPlayer" to="." method="_on_bgm_player_finished"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters