tetris
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
[gd_scene load_steps=6 format=2]

[ext_resource path="res://addons/remap/KeyPromptLabel.gd" type="Script" id=1]
[ext_resource path="res://addons/remap/KeySelector.gd" type="Script" id=2]
[ext_resource path="res://assets/remap.theme" type="Theme" id=3]
[ext_resource path="res://addons/remap/PromptFont.ttf" type="DynamicFontData" id=4]

[sub_resource type="DynamicFont" id=1]
size = 50
font_data = ExtResource( 4 )

[node name="KeySelector" type="CanvasLayer"]
script = ExtResource( 2 )

[node name="Background" type="ColorRect" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
theme = ExtResource( 3 )
color = Color( 0.160156, 0.160156, 0.160156, 0.705882 )

[node name="Center" type="CenterContainer" parent="Background"]
anchor_right = 1.0
anchor_bottom = 1.0

[node name="V" type="VBoxContainer" parent="Background/Center"]
margin_left = 13.0
margin_top = 75.0
margin_right = 167.0
margin_bottom = 168.0

[node name="Label" type="Label" parent="Background/Center/V"]
margin_right = 154.0
margin_bottom = 12.0
text = "type any key"
align = 1

[node name="KeyPrompter" type="Label" parent="Background/Center/V"]
unique_name_in_owner = true
margin_top = 16.0
margin_right = 154.0
margin_bottom = 77.0
rect_min_size = Vector2( 125, 0 )
custom_fonts/font = SubResource( 1 )
align = 1
script = ExtResource( 1 )

[node name="H" type="HBoxContainer" parent="Background/Center/V"]
margin_top = 81.0
margin_right = 154.0
margin_bottom = 93.0

[node name="ok" type="Button" parent="Background/Center/V/H"]
unique_name_in_owner = true
margin_right = 50.0
margin_bottom = 12.0
rect_min_size = Vector2( 50, 0 )
size_flags_horizontal = 3
disabled = true
text = "ok"

[node name="cancel" type="Button" parent="Background/Center/V/H"]
unique_name_in_owner = true
margin_left = 54.0
margin_right = 154.0
margin_bottom = 12.0
rect_min_size = Vector2( 100, 0 )
size_flags_horizontal = 3
text = "cancel"