blocks level

This commit is contained in:
Dana 2025-08-27 13:46:22 +03:00
commit 0bc952900a
6 changed files with 112 additions and 12 deletions

View file

@ -2,18 +2,26 @@
[ext_resource type="Script" uid="uid://dody51xll2hpa" path="res://scripts/blocks_programm/block.gd" id="1_i1xsu"]
[node name="block" type="Label"]
[node name="block" type="TextureButton"]
z_index = 1
anchors_preset = -1
anchor_right = 0.034
anchor_bottom = 0.033
offset_right = -0.280006
offset_bottom = 0.360001
offset_bottom = 12.24
grow_vertical = 2
script = ExtResource("1_i1xsu")
[node name="Label" type="Label" parent="."]
layout_mode = 1
anchors_preset = 9
anchor_bottom = 1.0
offset_right = 1.0
grow_vertical = 2
theme_override_colors/font_color = Color(0, 0, 0, 1)
theme_override_font_sizes/font_size = 26
script = ExtResource("1_i1xsu")
[node name="ColorRect" type="ColorRect" parent="."]
[node name="ColorRect" type="ColorRect" parent="Label"]
z_index = -1
layout_mode = 1
anchors_preset = 15
@ -21,3 +29,5 @@ anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[connection signal="pressed" from="." to="." method="_on_pressed"]

View file

@ -3,7 +3,9 @@
[ext_resource type="PackedScene" uid="uid://kwnkl36mvngk" path="res://scenes/blocks/block.tscn" id="1_2lap5"]
[node name="step" instance=ExtResource("1_2lap5")]
[node name="Label" parent="." index="0"]
text = "Шаг"
[node name="ColorRect" parent="." index="0"]
color = Color(0.743766, 0.427688, 0.505481, 1)
[node name="ColorRect" parent="Label" index="0"]
color = Color(0.749863, 0.458329, 0.573161, 1)

View file

@ -3,7 +3,9 @@
[ext_resource type="PackedScene" uid="uid://kwnkl36mvngk" path="res://scenes/blocks/block.tscn" id="1_1mv7a"]
[node name="turn" instance=ExtResource("1_1mv7a")]
[node name="Label" parent="." index="0"]
text = "Поворот"
[node name="ColorRect" parent="." index="0"]
color = Color(0.351402, 0.701966, 0.379117, 1)
[node name="ColorRect" parent="Label" index="0"]
color = Color(0.488761, 0.618423, 0.534197, 1)