block
This commit is contained in:
parent
3cbdc58a72
commit
784d5583b1
8 changed files with 84 additions and 0 deletions
BIN
assets/blocks_programm/beatle.png
Normal file
BIN
assets/blocks_programm/beatle.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 212 B |
34
assets/blocks_programm/beatle.png.import
Normal file
34
assets/blocks_programm/beatle.png.import
Normal 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
|
|
@ -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
23
scenes/blocks/block.tscn
Normal 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
9
scenes/blocks/step.tscn
Normal 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
9
scenes/blocks/turn.tscn
Normal 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)
|
2
scripts/blocks_programm/block.gd
Normal file
2
scripts/blocks_programm/block.gd
Normal file
|
@ -0,0 +1,2 @@
|
|||
extends Label
|
||||
@onready var block_name = $"."
|
1
scripts/blocks_programm/block.gd.uid
Normal file
1
scripts/blocks_programm/block.gd.uid
Normal file
|
@ -0,0 +1 @@
|
|||
uid://dody51xll2hpa
|
Loading…
Add table
Add a link
Reference in a new issue