2024-04-14 13:21:54 +00:00
|
|
|
[gd_scene load_steps=9 format=3 uid="uid://b55f770t7xs6a"]
|
2024-04-13 07:16:11 +00:00
|
|
|
|
|
|
|
[ext_resource type="Texture2D" uid="uid://npjqgc3tdgs1" path="res://gimp/DungeonEntrance.png" id="1_vo6aq"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://nocjsuuft8qx" path="res://gimp/DungeonGuard.png" id="2_nujkm"]
|
2024-04-14 13:21:54 +00:00
|
|
|
[ext_resource type="Script" path="res://DungeonGuard.gd" id="3_hisk5"]
|
2024-04-13 07:16:11 +00:00
|
|
|
|
2024-04-14 13:21:54 +00:00
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_fey6x"]
|
|
|
|
size = Vector2(30.4094, 31.5789)
|
|
|
|
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_0v5y2"]
|
|
|
|
size = Vector2(30.4094, 31.5789)
|
2024-04-13 07:16:11 +00:00
|
|
|
|
2024-04-13 10:07:54 +00:00
|
|
|
[sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_ocep5"]
|
|
|
|
normal = Vector2(1, 0)
|
|
|
|
|
|
|
|
[sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_gq7j0"]
|
|
|
|
|
|
|
|
[sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_xvl4y"]
|
|
|
|
normal = Vector2(-1, 0)
|
|
|
|
|
2024-04-13 07:16:11 +00:00
|
|
|
[node name="Node2D" type="Node2D"]
|
|
|
|
|
|
|
|
[node name="DungeonEntrance" type="Sprite2D" parent="."]
|
|
|
|
texture_filter = 1
|
2024-04-14 06:31:39 +00:00
|
|
|
position = Vector2(0, -784)
|
2024-04-13 10:07:54 +00:00
|
|
|
scale = Vector2(1.995, 1.995)
|
2024-04-13 07:16:11 +00:00
|
|
|
texture = ExtResource("1_vo6aq")
|
|
|
|
|
|
|
|
[node name="StaticBody2D" type="StaticBody2D" parent="DungeonEntrance"]
|
2024-04-13 10:07:54 +00:00
|
|
|
visible = false
|
2024-04-13 07:16:11 +00:00
|
|
|
|
|
|
|
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="DungeonEntrance/StaticBody2D"]
|
2024-04-13 10:07:54 +00:00
|
|
|
visible = false
|
2024-04-13 07:16:11 +00:00
|
|
|
polygon = PackedVector2Array(-160, 127, -159, -129, 160, -126, 161, 127, 21, 127, 21, 79, -19, 79, -19, 127)
|
|
|
|
|
|
|
|
[node name="DungeonGuard" type="Sprite2D" parent="."]
|
|
|
|
texture_filter = 1
|
2024-04-14 06:31:39 +00:00
|
|
|
position = Vector2(0, -552)
|
2024-04-13 10:07:54 +00:00
|
|
|
scale = Vector2(1.71, 1.71)
|
2024-04-13 07:16:11 +00:00
|
|
|
texture = ExtResource("2_nujkm")
|
2024-04-14 13:21:54 +00:00
|
|
|
script = ExtResource("3_hisk5")
|
2024-04-13 07:16:11 +00:00
|
|
|
|
2024-04-14 13:21:54 +00:00
|
|
|
[node name="DungeonGuardBody" type="StaticBody2D" parent="DungeonGuard"]
|
2024-04-13 07:16:11 +00:00
|
|
|
|
2024-04-14 13:21:54 +00:00
|
|
|
[node name="DungeonGuardCollider" type="CollisionShape2D" parent="DungeonGuard/DungeonGuardBody"]
|
|
|
|
shape = SubResource("RectangleShape2D_fey6x")
|
|
|
|
|
|
|
|
[node name="Area2D" type="Area2D" parent="DungeonGuard"]
|
|
|
|
collision_layer = 3
|
|
|
|
collision_mask = 0
|
|
|
|
input_pickable = false
|
|
|
|
monitoring = false
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="DungeonGuard/Area2D"]
|
|
|
|
shape = SubResource("RectangleShape2D_0v5y2")
|
|
|
|
debug_color = Color(0.643137, 0.341176, 0.988235, 0.419608)
|
2024-04-13 10:07:54 +00:00
|
|
|
|
|
|
|
[node name="StaticBody2D" type="StaticBody2D" parent="."]
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"]
|
|
|
|
position = Vector2(-307, -1)
|
|
|
|
shape = SubResource("WorldBoundaryShape2D_ocep5")
|
|
|
|
|
|
|
|
[node name="CollisionShape2D2" type="CollisionShape2D" parent="StaticBody2D"]
|
2024-04-14 06:31:39 +00:00
|
|
|
position = Vector2(0, 243)
|
2024-04-13 10:07:54 +00:00
|
|
|
shape = SubResource("WorldBoundaryShape2D_gq7j0")
|
|
|
|
|
|
|
|
[node name="CollisionShape2D3" type="CollisionShape2D" parent="StaticBody2D"]
|
|
|
|
position = Vector2(314, 5)
|
|
|
|
shape = SubResource("WorldBoundaryShape2D_xvl4y")
|
|
|
|
|
|
|
|
[node name="Label" type="Label" parent="."]
|
|
|
|
z_index = 5
|
2024-04-14 06:31:39 +00:00
|
|
|
offset_left = -110.0
|
|
|
|
offset_top = 208.0
|
|
|
|
offset_right = 112.0
|
|
|
|
offset_bottom = 231.0
|
2024-04-13 10:07:54 +00:00
|
|
|
text = "The Dungeon is to the north!"
|