(wip) Player food
This commit is contained in:
@@ -1,14 +1,20 @@
|
||||
[gd_scene format=3 uid="uid://dmvmu218pc0pe"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://cayxffay17o0u" path="res://molecular/food/food_mol.gd" id="1_0vfbj"]
|
||||
[ext_resource type="Texture2D" uid="uid://dcedkos6vgv51" path="res://molecular/assets/food/food-normal.png" id="2_68e2u"]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_0vfbj"]
|
||||
radius = 5.0
|
||||
|
||||
[node name="FoodMol" type="Area2D" unique_id=595352294]
|
||||
collision_layer = 8
|
||||
collision_mask = 7
|
||||
script = ExtResource("1_0vfbj")
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=762721134]
|
||||
shape = SubResource("CircleShape2D_0vfbj")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=98693723]
|
||||
texture = ExtResource("2_68e2u")
|
||||
|
||||
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|
||||
|
||||
Reference in New Issue
Block a user