[gd_scene load_steps=4 format=3 uid="uid://dopt3unflv7l3"] [ext_resource type="Script" uid="uid://bhh178vuo5bgo" path="res://scripts/bullet.gd" id="1_mkf8s"] [ext_resource type="Texture2D" uid="uid://dbm1x33raub7h" path="res://assets/graphics/projectiles/pixel_bullet.png" id="2_y25gk"] [sub_resource type="RectangleShape2D" id="RectangleShape2D_y25gk"] size = Vector2(8, 4) [node name="Bullet" type="Area2D"] script = ExtResource("1_mkf8s") [node name="CollisionShape2D" type="CollisionShape2D" parent="."] shape = SubResource("RectangleShape2D_y25gk") debug_color = Color(0.97707, 0.111833, 0.261075, 0.42) [node name="BulletGraphic" type="Sprite2D" parent="."] texture_filter = 1 position = Vector2(-2, -1) rotation = 3.14159 scale = Vector2(0.06, 0.06) texture = ExtResource("2_y25gk") [connection signal="body_entered" from="." to="." method="_on_body_entered"]