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

Binary file not shown.

After

Width:  |  Height:  |  Size: 212 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://crq58656204me"
path="res://.godot/imported/beatle.png-923424679573846032e35291040a7ef5.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/blocks_programm/beatle.png"
dest_files=["res://.godot/imported/beatle.png-923424679573846032e35291040a7ef5.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View file

@ -14,10 +14,16 @@ config/name="DD"
config/features=PackedStringArray("4.4", "Mobile")
config/icon="res://icon.svg"
[display]
window/size/viewport_width=1920
window/size/viewport_height=1080
[dotnet]
project/assembly_name="DD"
[rendering]
textures/canvas_textures/default_texture_filter=0
renderer/rendering_method="mobile"

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)

View file

@ -0,0 +1,2 @@
extends Label
@onready var block_name = $"."

View file

@ -0,0 +1 @@
uid://dody51xll2hpa