AhmedFebruary2025/ahmedgg/scenes/bullet.tscn

22 lines
806 B
Plaintext
Raw Normal View History

[gd_scene load_steps=4 format=3 uid="uid://dg6vhq7diydcj"]
2025-03-04 01:41:41 +00:00
[ext_resource type="Script" path="res://bullet.gd" id="1_oufr4"]
[ext_resource type="Texture2D" uid="uid://dfufhh6qedp4f" path="res://assets/graphics/projectiles/pixel_bullet.png" id="2_c2mac"]
2025-03-04 01:41:41 +00:00
[sub_resource type="RectangleShape2D" id="RectangleShape2D_5fful"]
size = Vector2(8, 2)
[node name="Area2D" type="Area2D"]
script = ExtResource("1_oufr4")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("RectangleShape2D_5fful")
debug_color = Color(0.900724, 0.259856, 0.444017, 0.42)
[node name="Sprite2D" type="Sprite2D" parent="."]
position = Vector2(-2, 1)
scale = Vector2(-0.103094, 0.0402737)
texture = ExtResource("2_c2mac")
2025-03-04 01:41:41 +00:00
[connection signal="body_entered" from="." to="." method="_on_body_entered"]