Added berries
This commit is contained in:
1 parent
0f1d574da3
commit
bee846c3ba
10 files changed
+145
-1
No files matched your search
@@ -0,0 +1,22 @@
|
||||
[gd_scene load_steps=4 format=3 uid="uid://cuxasb6eg47gw"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://byjsgr18ieauy" path="res://Scripts/BerryLogic.cs" id="1_0wwwo"]
|
||||
[ext_resource type="Texture2D" uid="uid://keupgfuijdl7" path="res://Textures/Berries/Berry.png" id="1_g0wxr"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_7lihs"]
|
||||
size = Vector2(183, 203)
|
||||
|
||||
[node name="Berry" type="Node2D"]
|
||||
script = ExtResource("1_0wwwo")
|
||||
|
||||
[node name="Sprite" type="Sprite2D" parent="."]
|
||||
scale = Vector2(1.52344, 1.52344)
|
||||
texture = ExtResource("1_g0wxr")
|
||||
|
||||
[node name="Hitbox" type="Area2D" parent="."]
|
||||
|
||||
[node name="Shape" type="CollisionShape2D" parent="Hitbox"]
|
||||
shape = SubResource("RectangleShape2D_7lihs")
|
||||
debug_color = Color(0.713726, 0, 0.321569, 0.156863)
|
||||
|
||||
[connection signal="area_entered" from="Hitbox" to="." method="_on_hitbox_area_entered"]
|
||||
Reference in new issue
Block a user