25 lines
915 B
Plaintext
25 lines
915 B
Plaintext
[gd_scene load_steps=4 format=3 uid="uid://dkf3cij6wexnr"]
|
|
|
|
[ext_resource type="Script" path="res://scripts/bullet.gd" id="1_u02r5"]
|
|
[ext_resource type="Texture2D" uid="uid://bh5r6fry672a4" path="res://assets/graphics/pixel_bullet.png" id="2_veygi"]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_5agw0"]
|
|
size = Vector2(12, 4)
|
|
|
|
[node name="Area2D" type="Area2D"]
|
|
script = ExtResource("1_u02r5")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
shape = SubResource("RectangleShape2D_5agw0")
|
|
debug_color = Color(0.209612, 0.626644, 0.380971, 0.42)
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="."]
|
|
texture_filter = 1
|
|
position = Vector2(-3, -2)
|
|
rotation = 3.14794
|
|
scale = Vector2(0.09375, 0.09375)
|
|
texture = ExtResource("2_veygi")
|
|
|
|
[connection signal="area_entered" from="." to="." method="_on_area_entered"]
|
|
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|