24 lines
789 B
Plaintext
24 lines
789 B
Plaintext
[gd_scene load_steps=4 format=3 uid="uid://doyitruir4guy"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://dftkbqwsfd68r" path="res://pistol/projectile.png" id="1_v7oki"]
|
|
[ext_resource type="Script" uid="uid://cl4my4vxn5bbs" path="res://scripts/bullet.gd" id="1_v8qja"]
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_v8qja"]
|
|
radius = 18.1108
|
|
|
|
[node name="Bullet" type="Area2D"]
|
|
top_level = true
|
|
rotation = 0.602217
|
|
collision_layer = 0
|
|
collision_mask = 7
|
|
script = ExtResource("1_v8qja")
|
|
|
|
[node name="Projectile" type="Sprite2D" parent="."]
|
|
position = Vector2(-11, 0)
|
|
texture = ExtResource("1_v7oki")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
shape = SubResource("CircleShape2D_v8qja")
|
|
|
|
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|