This commit is contained in:
Dana 2025-08-26 14:31:27 +03:00
commit 784d5583b1
8 changed files with 84 additions and 0 deletions

23
scenes/blocks/block.tscn Normal file
View file

@ -0,0 +1,23 @@
[gd_scene load_steps=2 format=3 uid="uid://kwnkl36mvngk"]
[ext_resource type="Script" uid="uid://dody51xll2hpa" path="res://scripts/blocks_programm/block.gd" id="1_i1xsu"]
[node name="block" type="Label"]
anchors_preset = -1
anchor_right = 0.034
anchor_bottom = 0.033
offset_right = -0.280006
offset_bottom = 0.360001
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="."]
z_index = -1
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2

9
scenes/blocks/step.tscn Normal file
View file

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

9
scenes/blocks/turn.tscn Normal file
View file

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