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

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