2025-08-26 01:09:22 +00:00
|
|
|
[gd_scene load_steps=4 format=3 uid="uid://lg8k51aicde4"]
|
2025-08-12 01:08:57 +00:00
|
|
|
|
2025-08-26 01:09:22 +00:00
|
|
|
[ext_resource type="Script" path="res://scripts/bullet.gd" id="1_bpcfw"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://c4jgxarp4pf2s" path="res://assets/graphics/projectiles/pixel_bullet.png" id="2_imvee"]
|
2025-08-12 01:08:57 +00:00
|
|
|
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_oprgb"]
|
2025-08-26 01:09:22 +00:00
|
|
|
size = Vector2(8, 3)
|
2025-08-12 01:08:57 +00:00
|
|
|
|
|
|
|
[node name="Bullet" type="Area2D"]
|
|
|
|
script = ExtResource("1_bpcfw")
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
2025-08-26 01:09:22 +00:00
|
|
|
position = Vector2(0, -0.5)
|
2025-08-12 01:08:57 +00:00
|
|
|
shape = SubResource("RectangleShape2D_oprgb")
|
|
|
|
debug_color = Color(0.866207, 0.326527, 0.373638, 0.42)
|
|
|
|
|
2025-08-26 01:09:22 +00:00
|
|
|
[node name="BulletGraphic" type="Sprite2D" parent="."]
|
|
|
|
texture_filter = 1
|
|
|
|
position = Vector2(-2, -2)
|
|
|
|
rotation = 3.14159
|
|
|
|
scale = Vector2(0.0601394, 0.0601394)
|
|
|
|
texture = ExtResource("2_imvee")
|
|
|
|
|
2025-08-12 01:08:57 +00:00
|
|
|
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|