bricasse/screens/game_screen.tscn

82 lines
2.1 KiB
Plaintext

[gd_scene load_steps=9 format=2]
[ext_resource path="res://screens/game_screen.gd" type="Script" id=1]
[ext_resource path="res://empty_level/empty_level.tscn" type="PackedScene" id=2]
[ext_resource path="res://paddle/paddle.tscn" type="PackedScene" id=3]
[ext_resource path="res://screens/NovaOval.ttf" type="DynamicFontData" id=4]
[ext_resource path="res://screens/jingle-end.ogg" type="AudioStream" id=5]
[ext_resource path="res://screens/bricasse-loop.ogg" type="AudioStream" id=6]
[sub_resource type="DynamicFont" id=1]
size = 24
font_data = ExtResource( 4 )
[sub_resource type="DynamicFont" id=2]
size = 50
font_data = ExtResource( 4 )
[node name="GameScreen" type="Node"]
script = ExtResource( 1 )
[node name="EmptyLevel" parent="." instance=ExtResource( 2 )]
[node name="Paddle" parent="." instance=ExtResource( 3 )]
position = Vector2( 512, 560 )
[node name="Score" type="Label" parent="."]
anchor_left = 1.0
anchor_right = 1.0
margin_left = -440.0
margin_right = -72.0
margin_bottom = 32.0
custom_fonts/font = SubResource( 1 )
custom_colors/font_color = Color( 0.552941, 0.960784, 0.505882, 1 )
text = "SCORE"
align = 2
valign = 1
__meta__ = {
"_edit_use_anchors_": false
}
[node name="EndLevelTimer" type="Timer" parent="."]
wait_time = 3.0
one_shot = true
[node name="LevelCleared" type="Label" parent="."]
visible = false
anchor_top = 0.5
anchor_right = 1.0
anchor_bottom = 0.5
margin_top = -44.0
margin_bottom = 52.0
custom_fonts/font = SubResource( 2 )
text = "Level cleared"
align = 1
valign = 1
__meta__ = {
"_edit_use_anchors_": false
}
[node name="JingleEnd" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 5 )
volume_db = -6.0
[node name="BGM" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 6 )
volume_db = -12.0
autoplay = true
[node name="LevelName" type="Label" parent="."]
margin_left = 72.0
margin_right = 440.0
margin_bottom = 32.0
custom_fonts/font = SubResource( 1 )
custom_colors/font_color = Color( 0.552941, 0.960784, 0.505882, 1 )
text = "NAME"
valign = 1
__meta__ = {
"_edit_use_anchors_": false
}
[connection signal="timeout" from="EndLevelTimer" to="." method="_on_EndLevelTimer_timeout"]