feat(credits): add music

This commit is contained in:
2024-11-12 23:06:24 +01:00
parent 36457cf3f9
commit 64c28e0387
2 changed files with 24 additions and 17 deletions

View File

@@ -9,6 +9,6 @@ func _process(_delta):
var size = self.get_global_rect().size
if escoria.globals_manager.get_global("turno_credits_rolling"):
self.set_position(self.get_position() + Vector2(0, -0.5))
if self.get_position().y < 0 - size.y:
if self.get_position().y < -20 - size.y:
escoria.globals_manager.set_global("turno_credits_rolling", false)
emit_signal("finished")

View File

@@ -26,17 +26,17 @@ fit_content_height = true
[node name="LabelContainer" type="HBoxContainer" parent="."]
margin_top = 34.0
margin_right = 600.0
margin_bottom = 439.0
margin_bottom = 507.0
[node name="margin" type="MarginContainer" parent="LabelContainer"]
margin_right = 296.0
margin_bottom = 337.0
margin_right = 288.0
margin_bottom = 405.0
size_flags_horizontal = 3
size_flags_vertical = 0
[node name="Titles" type="Label" parent="LabelContainer/margin"]
margin_right = 296.0
margin_bottom = 337.0
margin_right = 288.0
margin_bottom = 405.0
size_flags_horizontal = 3
size_flags_vertical = 0
text = "Creado por
@@ -53,6 +53,9 @@ Cámara
Música
Gente hambrienta
@@ -64,21 +67,22 @@ align = 2
uppercase = true
[node name="spacer" type="Label" parent="LabelContainer"]
margin_left = 289.0
margin_right = 399.0
margin_bottom = 405.0
text=" "
margin_left = 292.0
margin_top = 229.0
margin_right = 308.0
margin_bottom = 243.0
text = " "
[node name="margin2" type="MarginContainer" parent="LabelContainer"]
margin_left = 304.0
margin_left = 312.0
margin_right = 600.0
margin_bottom = 405.0
margin_bottom = 473.0
size_flags_horizontal = 3
size_flags_vertical = 0
[node name="Names" type="Label" parent="LabelContainer/margin2"]
margin_right = 296.0
margin_bottom = 405.0
margin_right = 288.0
margin_bottom = 473.0
size_flags_horizontal = 3
size_flags_vertical = 0
text = "Eneko
@@ -90,9 +94,12 @@ Niko
Urtzi
Ebru
Leo
Piko
Ebru
Encuentros de música Uli 2023
Bazyl
@@ -108,7 +115,7 @@ A la comunidad detrás de Godot y Escoria
por hacer posible este juego"
[node name="TextureRect" type="TextureRect" parent="."]
margin_top = 443.0
margin_top = 511.0
margin_right = 600.0
margin_bottom = 738.0
margin_bottom = 806.0
texture = ExtResource( 1 )