tetris-mobile/Main.tscn

60 lines
1.6 KiB
Plaintext
Raw Normal View History

[gd_scene load_steps=6 format=2]
2021-11-17 16:30:13 +01:00
[ext_resource path="res://GameBoard.tscn" type="PackedScene" id=1]
2021-11-21 13:47:38 +01:00
[ext_resource path="res://UI.gd" type="Script" id=2]
[ext_resource path="res://Main.gd" type="Script" id=3]
[ext_resource path="res://Resources/Kenney Future.ttf" type="DynamicFontData" id=4]
[sub_resource type="DynamicFont" id=1]
size = 128
font_data = ExtResource( 4 )
2021-11-17 16:30:13 +01:00
2021-11-21 13:47:38 +01:00
[node name="Main" type="Node"]
script = ExtResource( 3 )
2021-11-17 16:30:13 +01:00
[node name="GameBoard" parent="." instance=ExtResource( 1 )]
position = Vector2( 540, 1000 )
2021-11-21 13:47:38 +01:00
[node name="UI" type="Control" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
script = ExtResource( 2 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="VBoxContainer" type="VBoxContainer" parent="UI"]
anchor_right = 1.0
anchor_bottom = 1.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="HBoxContainer" type="HBoxContainer" parent="UI/VBoxContainer"]
margin_right = 1080.0
margin_bottom = 150.0
[node name="Score" type="Label" parent="UI/VBoxContainer/HBoxContainer"]
margin_top = 3.0
margin_right = 107.0
margin_bottom = 147.0
custom_fonts/font = SubResource( 1 )
2021-11-21 13:47:38 +01:00
text = "0"
[node name="Spacer" type="Control" parent="UI/VBoxContainer/HBoxContainer"]
margin_left = 111.0
2021-11-21 13:47:38 +01:00
margin_right = 926.0
margin_bottom = 150.0
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="NextShape" type="PanelContainer" parent="UI/VBoxContainer/HBoxContainer"]
margin_left = 930.0
margin_right = 1080.0
margin_bottom = 150.0
rect_min_size = Vector2( 150, 150 )
[node name="Origin" type="Node2D" parent="UI/VBoxContainer/HBoxContainer/NextShape"]
position = Vector2( 67, 100 )
scale = Vector2( 0.5, 0.5 )