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, 327681, 0, 1376273, 262145, 0, 1376274, 196609, 0, 1376275, 65537, 0, 1376276, 65537, 0, 1376277, 196609, 0, 1376278, 196609, 0, 1376279, 196609, 0, 1376280, 327681, 0, 1376281, 1, 0, 1376282, 1, 0, 1376283, 1, 0, 1376284, 196609, 0, 1376285, 327681, 0, 1376286, 65537, 0, 1376287, 327681, 0, 1376288, 196609, 0, 1376289, 1, 0, 1376290, 131073, 0, 1376291, 262145, 0)
|
|
layer_1/name = "lines"
|
|
layer_1/z_index = 1
|
|
layer_1/tile_data = PackedInt32Array(2097173, 262145, 2, 2097174, 196609, 0, 2097175, 196609, 0, 2097176, 327681, 0, 2097177, 65537, 2, 2097178, 1, 2, 2097179, 327681, 2, 2097180, 327681, 2, 2097181, 327681, 0, 2097182, 131073, 2, 2097183, 327681, 2, 2097184, 131073, 0, 2097185, 262145, 2, 2097186, 131073, 0, 2097187, 65537, 2, 1900580, 65537, 1610612736, 1966116, 1, 1610612738, 2031652, 196609, 1610612738, 1703972, 196609, 1610612736, 1769508, 262145, 1610612736, 1835044, 196609, 1610612736, 1507364, 196609, 1610612738, 1572900, 1, 1610612736, 1638436, 1, 1610612736, 1310756, 1, 1610612738, 1376292, 65537, 1610612738, 1441828, 196609, 1610612736, 1114148, 196609, 1610612738, 1179684, 196609, 1610612736, 1245220, 196609, 1610612738, 2097171, 65537, 0, 2097172, 196609, 0, 2097168, 262145, 2, 2097169, 327681, 2, 2097170, 131073, 2, 2097188, 1, 6, 2097167, 1, 1342177286, 1900559, 196609, 1342177280, 1966095, 196609, 1342177282, 2031631, 131073, 1342177284, 1835023, 262145, 1342177284, 1638415, 1, 1342177282, 1703951, 262145, 1342177280, 1769487, 65537, 1342177282, 1441807, 327681, 1342177282, 1507343, 262145, 1342177282, 1572879, 1, 1342177284, 1310735, 131073, 1342177280, 1376271, 131073, 1342177280, 1114127, 1, 1342177282, 1179663, 131073, 1342177280, 1245199, 65537, 1342177282, 720913, 196609, 805306372, 720914, 196609, 805306370, 720915, 196609, 805306368, 720916, 65537, 805306372, 720917, 327681, 805306370, 720918, 327681, 805306368, 720919, 196609, 805306368, 720920, 131073, 805306368, 720921, 131073, 805306372, 720922, 327681, 805306368, 720923, 327681, 805306370, 720924, 327681, 805306368, 720925, 131073, 805306370, 720926, 262145, 805306372, 720927, 65537, 805306372, 720928, 262145, 805306368, 720929, 196609, 805306368, 720930, 327681, 805306372, 720931, 1, 805306370, 852004, 327681, 1610612738, 917540, 327681, 1610612738, 983076, 1, 1610612738, 1048612, 1, 1610612738, 786468, 262145, 1610612736, 1048591, 262145, 1342177280, 983055, 196609, 1342177282, 917519, 1, 1342177282, 851983, 1, 1342177284, 786447, 196609, 1342177282, 720912, 262145, 805306370, 720932, 1, 1610612742, 720911, 1, 805306374)
|
|
|
|
[node name="plr" 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"]
|