Refactored switches and chests and mapping

This commit is contained in:
Marco 2025-01-30 17:24:40 +01:00
commit cc5376e94e
14 changed files with 158 additions and 91 deletions

View file

@ -1,6 +1,6 @@
[gd_scene load_steps=4 format=3 uid="uid://crph24e6e0v0q"]
[ext_resource type="Script" path="res://Scenes/Interactable.cs" id="1_g3j01"]
[ext_resource type="Script" path="res://Scripts/Interactables/Switch.cs" id="1_alima"]
[ext_resource type="Texture2D" uid="uid://d24g1qb40t72l" path="res://Sprites/Button_Small.png" id="2_7m30w"]
[sub_resource type="CircleShape2D" id="CircleShape2D_vvpve"]
@ -8,7 +8,7 @@
[node name="ControlPad" type="Area2D" groups=["Interactable"]]
collision_layer = 4
collision_mask = 2
script = ExtResource("1_g3j01")
script = ExtResource("1_alima")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("CircleShape2D_vvpve")