KieranGodot/august26godotcompkieran/Scenes/Bullet.tscn

25 lines
869 B
Plaintext

[gd_scene load_steps=4 format=3 uid="uid://djsdyfqvl85k1"]
[ext_resource type="Script" path="res://Sripts/bullet.gd" id="1_iqvku"]
[ext_resource type="Texture2D" uid="uid://br8ex2kfbjw0v" path="res://Assets/Graphics/pixel_bullet.png" id="2_pt151"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_0nhk6"]
size = Vector2(21, 8)
[node name="Area2D" type="Area2D"]
script = ExtResource("1_iqvku")
metadata/_edit_group_ = true
[node name="Sprite2D" type="Sprite2D" parent="."]
texture_filter = 1
position = Vector2(-6, -4)
rotation = -3.14159
scale = Vector2(0.156731, 0.156731)
texture = ExtResource("2_pt151")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("RectangleShape2D_0nhk6")
debug_color = Color(0.345732, 0.414118, 0.250065, 0.42)
[connection signal="body_entered" from="." to="." method="_on_body_entered"]