1
Fork 0
mirror of https://github.com/Steffo99/hella-farm.git synced 2024-11-25 17:44:24 +00:00

Re-add layer to Collectable

This commit is contained in:
Steffo 2024-04-14 23:08:58 +02:00
parent 7a4680a928
commit 05a0f84b70
Signed by: steffo
GPG key ID: 5ADA3868646C3FC0
3 changed files with 17 additions and 1 deletions

View file

@ -9,7 +9,6 @@ radius = 16.0
script = ExtResource("1_p0pc3") script = ExtResource("1_p0pc3")
[node name="MouseArea" type="Area2D" parent="."] [node name="MouseArea" type="Area2D" parent="."]
collision_layer = 0
collision_mask = 0 collision_mask = 0
monitorable = false monitorable = false

View file

@ -0,0 +1,11 @@
extends Node2D
# 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,6 @@
[gd_scene load_steps=2 format=3 uid="uid://dv7ea2y0l46e"]
[ext_resource type="Script" path="res://behaviours/drop_on_free.gd" id="1_4xihn"]
[node name="DropOnFree" type="Node2D"]
script = ExtResource("1_4xihn")