smaller map, eating apples, death
This commit is contained in:
parent
8c0860a840
commit
2c512d5764
12 changed files with 152 additions and 13 deletions
15
prefabs/apple.tscn
Normal file
15
prefabs/apple.tscn
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
[gd_scene load_steps=3 format=3 uid="uid://qpjwodeafyno"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://dmmdu0ayhmlnk" path="res://assets/apple.png" id="1_sblxh"]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_5v1qd"]
|
||||
radius = 50.0
|
||||
|
||||
[node name="Apple" type="Area2D" groups=["apple"]]
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
scale = Vector2(10, 10)
|
||||
texture = ExtResource("1_sblxh")
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
shape = SubResource("CircleShape2D_5v1qd")
|
||||
Loading…
Add table
Add a link
Reference in a new issue