1
Fork 0
mirror of https://github.com/Steffo99/looping-for-loops.git synced 2024-11-21 23:54:23 +00:00
looping-for-loops/Objects/Win.tscn

76 lines
1.7 KiB
Text

[gd_scene load_steps=7 format=2]
[ext_resource path="res://Fonts/LiberationMono-Bold.ttf" type="DynamicFontData" id=1]
[ext_resource path="res://Sprites/victory.png" type="Texture" id=2]
[ext_resource path="res://Sprites/wall-clocks.png" type="Texture" id=3]
[sub_resource type="DynamicFont" id=1]
size = 40
font_data = ExtResource( 1 )
[sub_resource type="DynamicFont" id=2]
size = 120
font_data = ExtResource( 1 )
[sub_resource type="GDScript" id=3]
script/source = "extends Label
func _ready():
text = GLOBAL.loops_collected
"
[node name="Control" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
[node name="Background" type="Sprite" parent="."]
modulate = Color( 0.101961, 0.0627451, 0.027451, 1 )
position = Vector2( 640, 360 )
texture = ExtResource( 3 )
[node name="TextureRect" type="TextureRect" parent="."]
anchor_top = 1.0
anchor_bottom = 1.0
margin_top = -700.0
margin_right = 700.0
texture = ExtResource( 2 )
[node name="Label" type="Label" parent="."]
margin_left = 760.0
margin_top = 120.0
margin_right = 1200.0
margin_bottom = 200.0
custom_fonts/font = SubResource( 1 )
text = "You collected"
align = 1
valign = 1
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label3" type="Label" parent="."]
margin_left = 760.0
margin_top = 360.0
margin_right = 1200.0
margin_bottom = 440.0
custom_fonts/font = SubResource( 1 )
text = "lööps!"
align = 1
valign = 1
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label2" type="Label" parent="."]
margin_left = 760.0
margin_top = 200.0
margin_right = 1200.0
margin_bottom = 360.0
custom_fonts/font = SubResource( 2 )
text = "999"
align = 1
valign = 1
script = SubResource( 3 )
__meta__ = {
"_edit_use_anchors_": false
}