28 lines
899 B
Plaintext
28 lines
899 B
Plaintext
|
[gd_scene load_steps=4 format=3 uid="uid://h4fxpxqc6bpt"]
|
||
|
|
||
|
[ext_resource type="Script" path="res://scripts/bullet.gd" id="1_7ic61"]
|
||
|
[ext_resource type="Texture2D" uid="uid://voltvmrkr73s" path="res://assets/bullet.svg" id="1_tytsj"]
|
||
|
|
||
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_r7dy5"]
|
||
|
size = Vector2(8, 24)
|
||
|
|
||
|
[node name="Bullet" type="CharacterBody2D"]
|
||
|
collision_layer = 4
|
||
|
collision_mask = 2
|
||
|
script = ExtResource("1_7ic61")
|
||
|
|
||
|
[node name="BulletSprite" type="Sprite2D" parent="."]
|
||
|
position = Vector2(2.08165e-12, 2.08165e-12)
|
||
|
rotation = 1.5708
|
||
|
scale = Vector2(0.25, 0.25)
|
||
|
texture = ExtResource("1_tytsj")
|
||
|
|
||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||
|
rotation = 1.5708
|
||
|
shape = SubResource("RectangleShape2D_r7dy5")
|
||
|
|
||
|
[node name="DisposeTimer" type="Timer" parent="."]
|
||
|
autostart = true
|
||
|
|
||
|
[connection signal="timeout" from="DisposeTimer" to="." method="_on_timed_out"]
|