diff options
Diffstat (limited to 'Scenes/Maps/Alpha/House_Bomb.tscn')
-rw-r--r-- | Scenes/Maps/Alpha/House_Bomb.tscn | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/Scenes/Maps/Alpha/House_Bomb.tscn b/Scenes/Maps/Alpha/House_Bomb.tscn index 5a0b9f4..fc3eda2 100644 --- a/Scenes/Maps/Alpha/House_Bomb.tscn +++ b/Scenes/Maps/Alpha/House_Bomb.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=5 format=3 uid="uid://cmfsw4d51urde"] +[gd_scene load_steps=6 format=3 uid="uid://cmfsw4d51urde"] [ext_resource type="Script" path="res://Scenes/Maps/Alpha/House_Bomb.gd" id="1_lev28"] [ext_resource type="PackedScene" uid="uid://difwuijv2rlx5" path="res://Scenes/Components/MapArea.tscn" id="1_nmssj"] @@ -7,6 +7,9 @@ [sub_resource type="RectangleShape2D" id="RectangleShape2D_co4tp"] size = Vector2(240, 160) +[sub_resource type="RectangleShape2D" id="RectangleShape2D_os48k"] +size = Vector2(208, 8) + [node name="HouseBomb" type="Node2D"] script = ExtResource("1_lev28") @@ -23,6 +26,16 @@ layer_2/tile_data = PackedInt32Array(131078, 851973, 24, 196614, 851973, 25, 262 position = Vector2(120, 80) shape = SubResource("RectangleShape2D_co4tp") +[node name="Dialog" type="Area2D" parent="Areas" groups=["interactables"]] +position = Vector2(120, 120) +collision_layer = 64 +collision_mask = 2 +metadata/_edit_group_ = true + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Areas/Dialog"] +position = Vector2(0, 4) +shape = SubResource("RectangleShape2D_os48k") + [node name="Transitions" type="Node" parent="."] [node name="SceneTransition" parent="Transitions" instance=ExtResource("2_xjlax")] @@ -33,4 +46,7 @@ targetPlayerPositionNodePath = "Areas/Alpha/Transitions/PlayerPosition_House_Bom [node name="PlayerPosition" type="Node2D" parent="Transitions"] position = Vector2(120, 136) +[connection signal="body_entered" from="Areas/MapArea" to="." method="_on_map_area_body_entered"] +[connection signal="body_entered" from="Areas/Dialog" to="." method="_on_dialog_body_entered"] + [editable path="Areas/MapArea"] |