beta-1.3/restructure-files (#2)

Reviewed-on: #2
This commit was merged in pull request #2.
This commit is contained in:
2026-03-17 13:45:35 -06:00
parent 86e3198645
commit bfe4f7d6a9
156 changed files with 369 additions and 163 deletions

View File

@@ -0,0 +1,8 @@
extends Area2D
signal TargetHit
func _on_body_entered(body: Node2D) -> void:
if body is not CharacterBody2D:
return
TargetHit.emit()

View File

@@ -0,0 +1 @@
uid://6jls1eokv2to

View File

@@ -0,0 +1,15 @@
extends Area2D
signal PressurePlateTripped
@onready var animated_sprite_2d: AnimatedSprite2D = $AnimatedSprite2D
var activated := false
func _on_body_entered(body: Node2D) -> void:
if activated:
return
activated = true
animated_sprite_2d.play("activated")
PressurePlateTripped.emit()

View File

@@ -0,0 +1 @@
uid://cxt7ht66jiac8

View File

@@ -0,0 +1,13 @@
extends Area2D
class_name ShopItem
@export var check_location: Enums.CheckLocations
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(_delta: float) -> void:
pass

View File

@@ -0,0 +1 @@
uid://cggyjxrk4qqfm