JulyGame/scenes/bullet.tscn

16 lines
562 B
Plaintext
Raw Permalink Normal View History

[gd_scene load_steps=3 format=3 uid="uid://dopt3unflv7l3"]
[ext_resource type="Script" uid="uid://bhh178vuo5bgo" path="res://scripts/bullet.gd" id="1_mkf8s"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_y25gk"]
size = Vector2(8, 4)
[node name="Bullet" type="Area2D"]
script = ExtResource("1_mkf8s")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("RectangleShape2D_y25gk")
debug_color = Color(0.97707, 0.111833, 0.261075, 0.42)
[connection signal="body_entered" from="." to="." method="_on_body_entered"]