2024-09-17 01:06:38 +00:00
|
|
|
[gd_scene load_steps=4 format=3 uid="uid://ctn52om1wdpb5"]
|
2024-09-10 01:08:24 +00:00
|
|
|
|
|
|
|
[ext_resource type="Script" path="res://scripts/bullet.gd" id="1_5y5v0"]
|
2024-09-17 01:06:38 +00:00
|
|
|
[ext_resource type="Texture2D" uid="uid://4ry7j22utcml" path="res://assets/graphics/pixel_bullet.png" id="2_kqndj"]
|
2024-09-10 01:08:24 +00:00
|
|
|
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_qu5ok"]
|
|
|
|
size = Vector2(20, 4)
|
|
|
|
|
|
|
|
[node name="Area2D" type="Area2D"]
|
|
|
|
script = ExtResource("1_5y5v0")
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
|
|
shape = SubResource("RectangleShape2D_qu5ok")
|
|
|
|
debug_color = Color(0, 0.909804, 0.541176, 0.419608)
|
|
|
|
|
2024-09-17 01:06:38 +00:00
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="."]
|
|
|
|
position = Vector2(-14, -13)
|
|
|
|
rotation = 3.11816
|
|
|
|
scale = Vector2(0.505787, 0.505787)
|
|
|
|
texture = ExtResource("2_kqndj")
|
|
|
|
|
2024-09-10 01:08:24 +00:00
|
|
|
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|