mirror of
https://github.com/creyD/ludum_dare_46.git
synced 2026-06-16 15:10:20 +02:00
added Credits Music
This commit is contained in:
BIN
src/Menus/Credits/Chad_Crouch_-_Algorithms.ogg
Normal file
BIN
src/Menus/Credits/Chad_Crouch_-_Algorithms.ogg
Normal file
Binary file not shown.
15
src/Menus/Credits/Chad_Crouch_-_Algorithms.ogg.import
Normal file
15
src/Menus/Credits/Chad_Crouch_-_Algorithms.ogg.import
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="ogg_vorbis"
|
||||||
|
type="AudioStreamOGGVorbis"
|
||||||
|
path="res://.import/Chad_Crouch_-_Algorithms.ogg-0b5876f6436c5da97190209f2766cd3c.oggstr"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Menus/Credits/Chad_Crouch_-_Algorithms.ogg"
|
||||||
|
dest_files=[ "res://.import/Chad_Crouch_-_Algorithms.ogg-0b5876f6436c5da97190209f2766cd3c.oggstr" ]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
loop=true
|
||||||
|
loop_offset=0
|
||||||
@@ -3,6 +3,7 @@ extends Node2D
|
|||||||
export(String, FILE, "*.tscn,*.scn") var scene_to_load = ""
|
export(String, FILE, "*.tscn,*.scn") var scene_to_load = ""
|
||||||
onready var animation_player = $AnimationPlayer
|
onready var animation_player = $AnimationPlayer
|
||||||
|
|
||||||
|
|
||||||
func _process(delta):
|
func _process(delta):
|
||||||
if Input.is_action_pressed("skip"):
|
if Input.is_action_pressed("skip"):
|
||||||
animation_player.playback_speed = 8.0
|
animation_player.playback_speed = 8.0
|
||||||
@@ -10,5 +11,9 @@ func _process(delta):
|
|||||||
animation_player.playback_speed = 1.0
|
animation_player.playback_speed = 1.0
|
||||||
|
|
||||||
|
|
||||||
|
func _ready():
|
||||||
|
SoundControler.pub_play_music("res://Menus/Credits/Chad_Crouch_-_Algorithms.ogg",false)
|
||||||
|
|
||||||
func _on_AnimationPlayer_animation_finished(anim_name):
|
func _on_AnimationPlayer_animation_finished(anim_name):
|
||||||
|
SoundControler.pub_stop_music()
|
||||||
get_tree().change_scene(scene_to_load)
|
get_tree().change_scene(scene_to_load)
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ tracks/0/keys = {
|
|||||||
"times": PoolRealArray( 0, 14 ),
|
"times": PoolRealArray( 0, 14 ),
|
||||||
"transitions": PoolRealArray( 1, 1 ),
|
"transitions": PoolRealArray( 1, 1 ),
|
||||||
"update": 0,
|
"update": 0,
|
||||||
"values": [ 200.0, -600 ]
|
"values": [ 200.0, -630 ]
|
||||||
}
|
}
|
||||||
|
|
||||||
[node name="Credits" type="Node2D"]
|
[node name="Credits" type="Node2D"]
|
||||||
@@ -33,7 +33,7 @@ __meta__ = {
|
|||||||
|
|
||||||
[node name="Label" type="Label" parent="."]
|
[node name="Label" type="Label" parent="."]
|
||||||
margin_left = 10.0
|
margin_left = 10.0
|
||||||
margin_top = -582.734
|
margin_top = -630.0
|
||||||
margin_right = 40.0
|
margin_right = 40.0
|
||||||
margin_bottom = 14.0
|
margin_bottom = 14.0
|
||||||
custom_fonts/font = ExtResource( 1 )
|
custom_fonts/font = ExtResource( 1 )
|
||||||
@@ -74,7 +74,11 @@ https://www.heartgamedev.com
|
|||||||
Harmonic by Monkopus
|
Harmonic by Monkopus
|
||||||
https://monkopus.itch.io/
|
https://monkopus.itch.io/
|
||||||
https://twitter.com/monkopus
|
https://twitter.com/monkopus
|
||||||
https://www.instagram.com/monkopusgames/"
|
https://www.instagram.com/monkopusgames/
|
||||||
|
|
||||||
|
---- Music ----
|
||||||
|
Algorithms by Chad Crouch
|
||||||
|
https://freemusicarchive.org/music/Chad_Crouch/Arps/Algorithms"
|
||||||
__meta__ = {
|
__meta__ = {
|
||||||
"_edit_use_anchors_": false
|
"_edit_use_anchors_": false
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user