FebruaryGame/februarygodotgame/scenes/bullet.tscn

22 lines
816 B
Plaintext
Raw Normal View History

[gd_scene load_steps=4 format=3 uid="uid://dwy0c50ndnu8k"]
2025-03-04 01:40:27 +00:00
[ext_resource type="Script" path="res://scripts/bullet.gd" id="1_v85g0"]
[ext_resource type="Texture2D" uid="uid://bsskoq57i4q43" path="res://assets/graphics/projectiles/pixel_bullet.png" id="2_ri5lc"]
2025-03-04 01:40:27 +00:00
[sub_resource type="RectangleShape2D" id="RectangleShape2D_pwf7j"]
size = Vector2(20, 4)
[node name="Area2D" type="Area2D"]
script = ExtResource("1_v85g0")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("RectangleShape2D_pwf7j")
debug_color = Color(0.932915, 0.177129, 0.479323, 0.42)
[node name="Sprite2D" type="Sprite2D" parent="."]
position = Vector2(-6, -2)
scale = Vector2(-0.148858, -0.156823)
texture = ExtResource("2_ri5lc")
2025-03-04 01:40:27 +00:00
[connection signal="body_entered" from="." to="." method="_on_body_entered"]