MarchGame/scenes/bullet.tscn

25 lines
1.0 KiB
Plaintext
Raw Normal View History

2026-03-10 01:04:23 +00:00
[gd_scene format=3 uid="uid://cp6dv18imsngd"]
[ext_resource type="Script" uid="uid://bfuhpow7x2xr1" path="res://scripts/bullet.gd" id="1_mkf8s"]
[ext_resource type="Texture2D" uid="uid://dgt4wqlv6dc04" path="res://assets/graphics/projectiles/pixel_bullet.png" id="2_y25gk"]
2026-03-10 01:04:23 +00:00
[sub_resource type="RectangleShape2D" id="RectangleShape2D_rtl8c"]
[node name="Bullet" type="Area2D" unique_id=1567847193]
script = ExtResource("1_mkf8s")
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=492684522]
shape = SubResource("RectangleShape2D_rtl8c")
debug_color = Color(0.5263991, 0.42294088, 0.98291093, 0.41960785)
2026-03-17 00:57:47 +00:00
[node name="bulletGraphic" type="Sprite2D" parent="." unique_id=1977135539]
texture_filter = 1
position = Vector2(1.9999999, -0.9999999)
rotation = 3.1390445
scale = Vector2(0.25, 0.441)
texture = ExtResource("2_y25gk")
offset = Vector2(34.748413, 22.20977)
[connection signal="area_entered" from="." to="." method="_on_area_entered"]
2026-03-17 00:57:47 +00:00
[connection signal="body_entered" from="." to="." method="_on_body_entered"]