just reorganised files thats it

This commit is contained in:
2025-06-24 02:55:20 +10:00
parent 3c5c8f1a44
commit 2bfea6471c
198 changed files with 313 additions and 747 deletions

12
Scenes/Ladder/ladder.gd Normal file
View File

@@ -0,0 +1,12 @@
class_name Ladder
extends Area3D
func _on_body_entered(body: Node3D) -> void:
if body is Hero:
body.movement.enable_climbing()
func _on_body_exited(body: Node3D) -> void:
if body is Hero:
body.movement.disable_climbing()

View File

@@ -0,0 +1 @@
uid://7pd2edvb845w

10
Scenes/Ladder/ladder.tscn Normal file
View File

@@ -0,0 +1,10 @@
[gd_scene load_steps=2 format=3 uid="uid://cx8f6tsipvmls"]
[ext_resource type="Script" uid="uid://7pd2edvb845w" path="res://Scenes/Ladder/ladder.gd" id="1_cq4ai"]
[node name="Ladder" type="Area3D"]
collision_mask = 2
script = ExtResource("1_cq4ai")
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
[connection signal="body_exited" from="." to="." method="_on_body_exited"]