2026-10-06 20:58:28 -04:00
|
|
|
[gd_scene format=3 uid="uid://qrewcx81o1xi"]
|
|
|
|
|
|
|
|
|
|
[ext_resource type="Script" uid="uid://ryrc3a88d0nh" path="res://scripts/bullet.gd" id="1_mkf8s"]
|
2026-10-13 20:59:25 -04:00
|
|
|
[ext_resource type="Texture2D" uid="uid://cjjer1w77c3g3" path="res://assets/graphics/projectiles/pixel_bullet.png" id="2_y25gk"]
|
2026-10-06 20:58:28 -04:00
|
|
|
|
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_mvphy"]
|
|
|
|
|
size = Vector2(12, 6)
|
|
|
|
|
|
|
|
|
|
[node name="Bullet" type="Area2D" unique_id=1877237172]
|
|
|
|
|
script = ExtResource("1_mkf8s")
|
|
|
|
|
metadata/_edit_group_ = true
|
|
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=117632852]
|
|
|
|
|
shape = SubResource("RectangleShape2D_mvphy")
|
|
|
|
|
debug_color = Color(0.9521257, 0.20191753, 0.23529023, 0.41960785)
|
|
|
|
|
|
2026-10-13 20:59:25 -04:00
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=1732561171]
|
|
|
|
|
texture_filter = 1
|
|
|
|
|
position = Vector2(-3.9999998, -3)
|
|
|
|
|
rotation = 3.1415927
|
|
|
|
|
scale = Vector2(0.11, 0.11)
|
|
|
|
|
texture = ExtResource("2_y25gk")
|
|
|
|
|
|
2026-10-06 20:58:28 -04:00
|
|
|
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|