cirnogodot/Scenes/bullet.tscn
2024-02-26 23:45:20 +01:00

16 lines
553 B
Text

[gd_scene load_steps=3 format=3 uid="uid://b1qnfiuokpvsr"]
[ext_resource type="Texture2D" uid="uid://cybpmpb0d8yva" path="res://Sprites/Projectile.png" id="1_2eu87"]
[sub_resource type="CircleShape2D" id="CircleShape2D_jxptd"]
radius = 2.23607
[node name="Bullet" type="Node2D"]
[node name="RigidBody2D" type="RigidBody2D" parent="."]
[node name="Sprite2D" type="Sprite2D" parent="RigidBody2D"]
texture = ExtResource("1_2eu87")
[node name="CollisionShape2D" type="CollisionShape2D" parent="RigidBody2D"]
shape = SubResource("CircleShape2D_jxptd")