24 lines
925 B
Plaintext
24 lines
925 B
Plaintext
[gd_scene format=3 uid="uid://vdkcnj4ebu6r"]
|
|
|
|
[ext_resource type="Script" uid="uid://dcqok1j5pliwd" path="res://scripts/bullet.gd" id="1_mkf8s"]
|
|
[ext_resource type="Texture2D" uid="uid://blnvrtl2me0c3" path="res://assets/projectiles/pixel_bullet.png" id="2_y25gk"]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_h1aey"]
|
|
size = Vector2(10, 4)
|
|
|
|
[node name="Bullet" type="Area2D" unique_id=165117688]
|
|
script = ExtResource("1_mkf8s")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=488200767]
|
|
shape = SubResource("RectangleShape2D_h1aey")
|
|
debug_color = Color(0.7560967, 0, 0.13750124, 0.41960785)
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=905758464]
|
|
texture_filter = 1
|
|
position = Vector2(-3, -2)
|
|
rotation = 3.1415927
|
|
scale = Vector2(0.079999864, 0.079999864)
|
|
texture = ExtResource("2_y25gk")
|
|
|
|
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|