mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-07-07 16:51:17 +00:00
Auto Pickup
This commit is contained in:
parent
e56b896365
commit
488d02ef81
24 changed files with 148 additions and 19 deletions
|
|
@ -1,8 +1,7 @@
|
|||
[gd_scene load_steps=8 format=3 uid="uid://sjxkj5jdndxb"]
|
||||
[gd_scene load_steps=7 format=3 uid="uid://sjxkj5jdndxb"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://b3h7b30kerf60" path="res://Scripts/Interactables/ItemPickup.cs" id="1_o42iv"]
|
||||
[ext_resource type="Resource" uid="uid://diqm2ju0xakkt" path="res://Resources/Items/Yin_Yang_Ammo.tres" id="2_o42iv"]
|
||||
[ext_resource type="Script" uid="uid://epnwjptvks3t" path="res://Scripts/Resources/LootItem.cs" id="2_q76u6"]
|
||||
[ext_resource type="Texture2D" uid="uid://b61po207ggn63" path="res://Sprites/Items/Yin_Ammo.png" id="3_o42iv"]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_6vv2s"]
|
||||
|
|
@ -26,10 +25,12 @@ animations = [{
|
|||
collision_layer = 4
|
||||
collision_mask = 2
|
||||
script = ExtResource("1_o42iv")
|
||||
LootTable = Array[ExtResource("2_q76u6")]([ExtResource("2_o42iv")])
|
||||
LootTable = [ExtResource("2_o42iv")]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
shape = SubResource("CircleShape2D_6vv2s")
|
||||
|
||||
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
||||
sprite_frames = SubResource("SpriteFrames_8gvnj")
|
||||
|
||||
[connection signal="area_entered" from="." to="." method="_on_area_entered"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue