23 lines
786 B
Plaintext
23 lines
786 B
Plaintext
[gd_scene load_steps=4 format=3 uid="uid://cyy6jr7mxu0jl"]
|
|
|
|
[ext_resource type="Script" uid="uid://cb874g2gkrukb" path="res://scripts/bullet.gd" id="1_mkf8s"]
|
|
[ext_resource type="Texture2D" uid="uid://bwubigf4fgyo8" path="res://assets/graphics/effects/02.png" id="2_y25gk"]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_h1aey"]
|
|
size = Vector2(4, 2)
|
|
|
|
[node name="Bullet" type="Area2D"]
|
|
z_index = 100
|
|
collision_layer = 8
|
|
collision_mask = 22
|
|
script = ExtResource("1_mkf8s")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
shape = SubResource("RectangleShape2D_h1aey")
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="."]
|
|
scale = Vector2(0.1, 0.1)
|
|
texture = ExtResource("2_y25gk")
|
|
|
|
[connection signal="area_entered" from="." to="." method="_on_area_entered"]
|