base level

This commit is contained in:
Dana 2025-08-27 15:02:47 +03:00
commit 807902b7fc
7 changed files with 86 additions and 8 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 598 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://c6p5jv6qlgjp5"
path="res://.godot/imported/tile_set.png-654177e0ba33d4274d15e48a8e2b1c29.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/blocks_programm/tile_set.png"
dest_files=["res://.godot/imported/tile_set.png-654177e0ba33d4274d15e48a8e2b1c29.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

@ -2,7 +2,7 @@
[ext_resource type="Script" uid="uid://dody51xll2hpa" path="res://scripts/blocks_programm/block.gd" id="1_i1xsu"]
[node name="block" type="TextureButton"]
[node name="Block" type="TextureButton"]
z_index = 1
anchors_preset = -1
anchor_right = 0.034

View file

@ -2,7 +2,11 @@
[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="Step" instance=ExtResource("1_2lap5")]
anchor_right = 0.042
anchor_bottom = 0.05
offset_right = 0.239998
offset_bottom = 0.0
[node name="Label" parent="." index="0"]
text = "Шаг"

View file

@ -2,7 +2,11 @@
[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="Turn" instance=ExtResource("1_1mv7a")]
anchor_right = 0.087
anchor_bottom = 0.05
offset_right = 0.639992
offset_bottom = 0.0
[node name="Label" parent="." index="0"]
text = "Поворот"

View file

@ -1,15 +1,16 @@
[gd_scene load_steps=3 format=3 uid="uid://bv4rxfc4hm6t7"]
[ext_resource type="PackedScene" uid="uid://bv27o64fwb1l1" path="res://scenes/blocks/step.tscn" id="1_0rak5"]
[ext_resource type="PackedScene" uid="uid://r3u4855s3sbq" path="res://scenes/blocks/turn.tscn" id="2_4khj1"]
[ext_resource type="PackedScene" uid="uid://bv27o64fwb1l1" path="res://scenes/blocks/step.tscn" id="1_n7yau"]
[ext_resource type="PackedScene" uid="uid://r3u4855s3sbq" path="res://scenes/blocks/turn.tscn" id="2_i14ye"]
[node name="level" type="Control"]
[node name="LevelHandler" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
[node name="ColorRect2" type="ColorRect" parent="."]
layout_mode = 1
@ -59,10 +60,10 @@ grow_vertical = 2
mouse_filter = 2
theme_override_constants/separation = 50
[node name="step" parent="ColorRect/ColorRect/VBoxContainer" instance=ExtResource("1_0rak5")]
[node name="step" parent="ColorRect/ColorRect/VBoxContainer" instance=ExtResource("1_n7yau")]
layout_mode = 2
[node name="turn" parent="ColorRect/ColorRect/VBoxContainer" instance=ExtResource("2_4khj1")]
[node name="turn" parent="ColorRect/ColorRect/VBoxContainer" instance=ExtResource("2_i14ye")]
layout_mode = 2
[node name="VBoxContainer" type="VBoxContainer" parent="ColorRect"]

View file

@ -0,0 +1,35 @@
[gd_scene load_steps=4 format=3 uid="uid://qtbj61yxud26"]
[ext_resource type="Texture2D" uid="uid://c6p5jv6qlgjp5" path="res://assets/blocks_programm/tile_set.png" id="1_v4bdw"]
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_yi2kq"]
texture = ExtResource("1_v4bdw")
0:0/size_in_atlas = Vector2i(2, 2)
0:0/0 = 0
2:2/size_in_atlas = Vector2i(2, 2)
2:2/0 = 0
6:0/size_in_atlas = Vector2i(2, 2)
6:0/0 = 0
8:0/size_in_atlas = Vector2i(2, 2)
8:0/0 = 0
6:2/size_in_atlas = Vector2i(2, 2)
6:2/0 = 0
8:2/size_in_atlas = Vector2i(2, 2)
8:2/0 = 0
0:6/size_in_atlas = Vector2i(2, 2)
0:6/0 = 0
2:6/size_in_atlas = Vector2i(2, 2)
2:6/0 = 0
0:8/size_in_atlas = Vector2i(2, 2)
0:8/0 = 0
2:8/size_in_atlas = Vector2i(2, 2)
2:8/0 = 0
[sub_resource type="TileSet" id="TileSet_ishh6"]
sources/0 = SubResource("TileSetAtlasSource_yi2kq")
[node name="base_level" type="Node2D"]
[node name="TileMap" type="TileMap" parent="."]
tile_set = SubResource("TileSet_ishh6")
format = 2