2024-12-03 01:49:40 +00:00
|
|
|
[gd_scene load_steps=4 format=3 uid="uid://b2tgt64a7m32v"]
|
2024-11-26 01:52:12 +00:00
|
|
|
|
|
|
|
[ext_resource type="Script" path="res://scripts/bullet.gd" id="1_jag7h"]
|
2024-12-03 01:49:40 +00:00
|
|
|
[ext_resource type="Texture2D" uid="uid://chjhyldrqmyfi" path="res://assets/graphics/projectiles/pixel_bullet.png" id="2_fl8or"]
|
2024-11-26 01:52:12 +00:00
|
|
|
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_eswsk"]
|
2024-12-03 01:49:40 +00:00
|
|
|
size = Vector2(5, 2)
|
2024-11-26 01:52:12 +00:00
|
|
|
|
|
|
|
[node name="Area2D" type="Area2D"]
|
|
|
|
script = ExtResource("1_jag7h")
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
2024-12-03 01:49:40 +00:00
|
|
|
position = Vector2(-0.5, 0)
|
2024-11-26 01:52:12 +00:00
|
|
|
shape = SubResource("RectangleShape2D_eswsk")
|
|
|
|
debug_color = Color(0.827451, 1, 0, 0.419608)
|
|
|
|
|
2024-12-03 01:49:40 +00:00
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="."]
|
|
|
|
texture_filter = 1
|
|
|
|
position = Vector2(-2, -1)
|
|
|
|
rotation = 3.14159
|
|
|
|
scale = Vector2(0.04, 0.04)
|
|
|
|
texture = ExtResource("2_fl8or")
|
|
|
|
|
2024-11-26 01:52:12 +00:00
|
|
|
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|