2024-12-03 01:49:35 +00:00
|
|
|
[gd_scene load_steps=4 format=3 uid="uid://e4o5ja1w0gph"]
|
2024-11-26 01:52:14 +00:00
|
|
|
|
|
|
|
[ext_resource type="Script" path="res://scripts/bullet.gd" id="1_mqe8j"]
|
2024-12-03 01:49:35 +00:00
|
|
|
[ext_resource type="Texture2D" uid="uid://bxiaf5c858g40" path="res://assets/graphics/projectiles/pixel_bullet.png" id="2_8q7om"]
|
2024-11-26 01:52:14 +00:00
|
|
|
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_y4ewo"]
|
|
|
|
size = Vector2(6, 2)
|
|
|
|
|
|
|
|
[node name="Area2D" type="Area2D"]
|
|
|
|
script = ExtResource("1_mqe8j")
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
|
|
shape = SubResource("RectangleShape2D_y4ewo")
|
|
|
|
debug_color = Color(0.341018, 0.620642, 0.0617414, 0.42)
|
|
|
|
|
2024-12-03 01:49:35 +00:00
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="."]
|
|
|
|
texture_filter = 1
|
|
|
|
position = Vector2(-2, -1)
|
|
|
|
rotation = 3.14159
|
|
|
|
scale = Vector2(0.062213, 0.0400384)
|
|
|
|
texture = ExtResource("2_8q7om")
|
|
|
|
|
2024-11-26 01:52:14 +00:00
|
|
|
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|