2025-06-17 00:58:14 +00:00
|
|
|
[gd_scene load_steps=4 format=3 uid="uid://cair7oymuohyq"]
|
2025-06-10 01:21:44 +00:00
|
|
|
|
|
|
|
[ext_resource type="Script" uid="uid://b8fowda770nwo" path="res://scripts/bullet.gd" id="1_mkf8s"]
|
2025-06-17 00:58:14 +00:00
|
|
|
[ext_resource type="Texture2D" uid="uid://djbxq0tps75pc" path="res://assets/graphics/projectiles/pixel_bullet.png" id="2_y25gk"]
|
2025-06-10 01:21:44 +00:00
|
|
|
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_y25gk"]
|
|
|
|
size = Vector2(10, 4)
|
|
|
|
|
|
|
|
[node name="Bullet" type="Area2D"]
|
|
|
|
script = ExtResource("1_mkf8s")
|
|
|
|
metadata/_edit_group_ = true
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
|
|
shape = SubResource("RectangleShape2D_y25gk")
|
|
|
|
debug_color = Color(0.680659, 0.501456, 0.117679, 0.42)
|
2025-06-17 00:58:14 +00:00
|
|
|
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="."]
|
|
|
|
texture_filter = 1
|
|
|
|
position = Vector2(-3, -2)
|
|
|
|
rotation = 3.14159
|
|
|
|
scale = Vector2(0.071529, 0.071529)
|
|
|
|
texture = ExtResource("2_y25gk")
|
2025-07-08 01:01:48 +00:00
|
|
|
|
|
|
|
[connection signal="area_entered" from="." to="." method="_on_area_entered"]
|