2025-10-25 01:57:19 +00:00
|
|
|
[gd_scene load_steps=4 format=3 uid="uid://cyy6jr7mxu0jl"]
|
2025-10-07 00:57:11 +00:00
|
|
|
|
|
|
|
|
[ext_resource type="Script" uid="uid://cb874g2gkrukb" path="res://scripts/bullet.gd" id="1_mkf8s"]
|
2025-11-12 13:28:58 +00:00
|
|
|
[ext_resource type="Texture2D" uid="uid://bwubigf4fgyo8" path="res://assets/graphics/effects/02.png" id="2_y25gk"]
|
2025-10-07 00:57:11 +00:00
|
|
|
|
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_h1aey"]
|
2025-11-12 13:28:58 +00:00
|
|
|
size = Vector2(4, 2)
|
2025-10-07 00:57:11 +00:00
|
|
|
|
|
|
|
|
[node name="Bullet" type="Area2D"]
|
2025-10-27 01:55:58 +00:00
|
|
|
z_index = 100
|
2025-10-26 17:42:53 +00:00
|
|
|
collision_layer = 8
|
2025-11-04 01:56:43 +00:00
|
|
|
collision_mask = 22
|
2025-10-07 00:57:11 +00:00
|
|
|
script = ExtResource("1_mkf8s")
|
|
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
|
|
|
shape = SubResource("RectangleShape2D_h1aey")
|
2025-10-25 01:57:19 +00:00
|
|
|
|
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="."]
|
|
|
|
|
scale = Vector2(0.1, 0.1)
|
|
|
|
|
texture = ExtResource("2_y25gk")
|
2025-11-04 01:56:43 +00:00
|
|
|
|
|
|
|
|
[connection signal="area_entered" from="." to="." method="_on_area_entered"]
|