bovido/scenes/ball.tscn
Mathilde Grapin 92ccf7279d Instanciate a ball
Make the enemy throw a ball. It just instanciate a ball in the scene but
does not move it.
2023-06-12 22:06:48 +02:00

16 lines
473 B
Plaintext

[gd_scene load_steps=3 format=3 uid="uid://cy0ko2cawudia"]
[ext_resource type="Texture2D" uid="uid://dl8qfp3u18nkx" path="res://art/pilko.png" id="1_20u67"]
[sub_resource type="CircleShape2D" id="CircleShape2D_srlvs"]
radius = 5.0
[node name="Ball" type="Area2D"]
z_index = 1
[node name="Sprite2D" type="Sprite2D" parent="."]
texture = ExtResource("1_20u67")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("CircleShape2D_srlvs")