added Credits Music

This commit is contained in:
Jan Schuffenhauer
2020-04-21 00:05:59 +02:00
parent a52d7f8106
commit a14172538b
4 changed files with 27 additions and 3 deletions

Binary file not shown.

View 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

View File

@@ -3,6 +3,7 @@ extends Node2D
export(String, FILE, "*.tscn,*.scn") var scene_to_load = ""
onready var animation_player = $AnimationPlayer
func _process(delta):
if Input.is_action_pressed("skip"):
animation_player.playback_speed = 8.0
@@ -10,5 +11,9 @@ func _process(delta):
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):
SoundControler.pub_stop_music()
get_tree().change_scene(scene_to_load)

View File

@@ -16,7 +16,7 @@ tracks/0/keys = {
"times": PoolRealArray( 0, 14 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ 200.0, -600 ]
"values": [ 200.0, -630 ]
}
[node name="Credits" type="Node2D"]
@@ -33,7 +33,7 @@ __meta__ = {
[node name="Label" type="Label" parent="."]
margin_left = 10.0
margin_top = -582.734
margin_top = -630.0
margin_right = 40.0
margin_bottom = 14.0
custom_fonts/font = ExtResource( 1 )
@@ -74,7 +74,11 @@ https://www.heartgamedev.com
Harmonic by Monkopus
https://monkopus.itch.io/
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__ = {
"_edit_use_anchors_": false
}