16 lines
630 B
Plaintext
16 lines
630 B
Plaintext
[gd_scene format=3 uid="uid://qrewcx81o1xi"]
|
|||
|
|
|
||
|
|
[ext_resource type="Script" uid="uid://ryrc3a88d0nh" path="res://scripts/bullet.gd" id="1_mkf8s"]
|
||
|
|
|
||
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_mvphy"]
|
||
|
|
size = Vector2(12, 6)
|
||
|
|
|
||
|
|
[node name="Bullet" type="Area2D" unique_id=1877237172]
|
||
|
|
script = ExtResource("1_mkf8s")
|
||
|
|
metadata/_edit_group_ = true
|
||
|
|
|
||
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=117632852]
|
||
|
|
shape = SubResource("RectangleShape2D_mvphy")
|
||
|
|
debug_color = Color(0.9521257, 0.20191753, 0.23529023, 0.41960785)
|
||
|
|
|
||
|
|
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|