56 lines
4.3 KiB
Plaintext
56 lines
4.3 KiB
Plaintext
[gd_scene load_steps=9 format=3 uid="uid://bsndq7rws8lru"]
|
|
|
|
[ext_resource type="Script" path="res://scripts/main.gd" id="1_lgqqv"]
|
|
[ext_resource type="PackedScene" uid="uid://ceqnn4bkdnnkg" path="res://tscn/plr.tscn" id="1_wgp3w"]
|
|
[ext_resource type="PackedScene" uid="uid://cab0u1jewvqun" path="res://tscn/lines.tscn" id="2_s78l6"]
|
|
[ext_resource type="Texture2D" uid="uid://qbyvdl153l58" path="res://assets/spritesheet01.png" id="3_umasy"]
|
|
[ext_resource type="Script" path="res://scripts/Area2D.gd" id="5_vkino"]
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_mfrv4"]
|
|
atlas = ExtResource("3_umasy")
|
|
region = Rect2(64, 4, 33, 47)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_5slll"]
|
|
atlas = ExtResource("3_umasy")
|
|
region = Rect2(7, 2, 34, 31)
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_dl0fy"]
|
|
size = Vector2(39, 20)
|
|
|
|
[node name="Node2D" type="Node2D"]
|
|
script = ExtResource("1_lgqqv")
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="."]
|
|
position = Vector2(327, 192)
|
|
texture = SubResource("AtlasTexture_mfrv4")
|
|
|
|
[node name="Sprite2D2" type="Sprite2D" parent="."]
|
|
position = Vector2(206, 179)
|
|
texture = SubResource("AtlasTexture_5slll")
|
|
|
|
[node name="Sprite2D3" type="Sprite2D" parent="."]
|
|
position = Vector2(274, 178)
|
|
texture = SubResource("AtlasTexture_5slll")
|
|
flip_h = true
|
|
|
|
[node name="TileMap" parent="." instance=ExtResource("2_s78l6")]
|
|
layer_0/name = "decoration"
|
|
layer_0/tile_data = PackedInt32Array(1376272, 131072, 4, 1376273, 65536, 0, 1376274, 327680, 4, 1376275, 65536, 2, 1376276, 327680, 4, 1376277, 327680, 4, 1376278, 196608, 2, 1376279, 0, 0, 1376280, 131072, 0, 1376281, 196608, 0, 1376282, 327680, 2, 1376283, 327680, 2, 1376284, 262144, 0, 1376285, 196608, 4, 1376286, 262144, 2, 1376287, 65536, 2, 1376288, 262144, 2, 1376289, 262144, 4, 1376290, 196608, 2, 1376291, 327680, 2)
|
|
layer_1/name = "lines"
|
|
layer_1/z_index = 1
|
|
layer_1/tile_data = PackedInt32Array(2097173, 0, 0, 2097174, 65536, 0, 2097175, 131072, 0, 2097176, 0, 0, 2097177, 65536, 0, 2097178, 131072, 0, 2097179, 0, 0, 2097180, 65536, 0, 2097181, 131072, 0, 2097182, 0, 0, 2097183, 65536, 0, 2097184, 131072, 0, 2097185, 196608, 0, 2097186, 262144, 0, 2097187, 327680, 0, 1900580, 131072, 1610612738, 1966116, 65536, 1610612738, 2031652, 0, 1610612738, 1703972, 131072, 1610612738, 1769508, 65536, 1610612738, 1835044, 0, 1610612738, 1507364, 131072, 1610612738, 1572900, 65536, 1610612738, 1638436, 0, 1610612738, 1310756, 131072, 1610612738, 1376292, 65536, 1610612738, 1441828, 0, 1610612738, 1114148, 131072, 1610612738, 1179684, 65536, 1610612738, 1245220, 0, 1610612738, 2097171, 0, 0, 2097172, 65536, 0, 2097168, 0, 0, 2097169, 65536, 0, 2097170, 65536, 2, 2097188, 0, 6, 2097167, 0, 268435462, 1900559, 131072, 1342177284, 1966095, 196608, 1342177284, 2031631, 262144, 1342177284, 1835023, 327680, 1342177284, 1638415, 65536, 1342177282, 1703951, 131072, 1342177282, 1769487, 196608, 1342177282, 1441807, 65536, 1342177280, 1507343, 131072, 1342177280, 1572879, 196608, 1342177280, 1310735, 65536, 1342177282, 1376271, 131072, 1342177282, 1114127, 65536, 1342177282, 1179663, 131072, 1342177282, 1245199, 196608, 1342177282, 720913, 196608, 536870914, 720914, 0, 536870916, 720915, 131072, 536870916, 720916, 327680, 536870916, 720917, 0, 536870914, 720918, 131072, 536870912, 720919, 131072, 536870914, 720920, 0, 536870916, 720921, 327680, 536870914, 720922, 327680, 536870912, 720923, 262144, 536870916, 720924, 196608, 536870916, 720925, 327680, 536870912, 720926, 327680, 536870916, 720927, 262144, 536870912, 720928, 262144, 536870916, 720929, 327680, 536870914, 720930, 327680, 536870916, 720931, 327680, 536870912, 852004, 262144, 1073741828, 917540, 196608, 1073741826, 983076, 327680, 1073741826, 1048612, 65536, 1073741824, 786468, 262144, 1073741824, 1048591, 327680, 1879048194, 983055, 131072, 1879048194, 917519, 262144, 1879048194, 851983, 262144, 1879048196, 786447, 327680, 1879048192, 720912, 131072, 536870914, 720932, 0, 1610612742, 720911, 0, 1879048198)
|
|
|
|
[node name="CharacterBody2D" parent="." instance=ExtResource("1_wgp3w")]
|
|
position = Vector2(266, 225)
|
|
moving = false
|
|
|
|
[node name="Area2D" type="Area2D" parent="."]
|
|
position = Vector2(313, 196)
|
|
script = ExtResource("5_vkino")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
|
|
position = Vector2(13, 17)
|
|
shape = SubResource("RectangleShape2D_dl0fy")
|
|
|
|
[connection signal="body_entered" from="Area2D" to="Area2D" method="_on_body_entered"]
|