22 lines
984 B
Text
22 lines
984 B
Text
[gd_scene load_steps=4 format=3 uid="uid://pwikm8fsvc2p"]
|
|
|
|
[ext_resource type="Script" uid="uid://denqaif0c3kk2" path="res://scenes/EnemyBullet.gd" id="1_s6wdq"]
|
|
[ext_resource type="Texture2D" uid="uid://dubjbfdp6ep34" path="res://resources/Mini Pixel Pack 3/Projectiles/Enemy_projectile (16 x 16).png" id="2_la4vt"]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_eoqba"]
|
|
size = Vector2(6, 6)
|
|
|
|
[node name="EnemyBullet" type="Area2D"]
|
|
script = ExtResource("1_s6wdq")
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="."]
|
|
texture = ExtResource("2_la4vt")
|
|
hframes = 4
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
shape = SubResource("RectangleShape2D_eoqba")
|
|
|
|
[node name="VisibleOnScreenNotifier2D" type="VisibleOnScreenNotifier2D" parent="."]
|
|
|
|
[connection signal="area_entered" from="." to="." method="_on_area_entered"]
|
|
[connection signal="screen_exited" from="VisibleOnScreenNotifier2D" to="." method="_on_visible_on_screen_notifier_2d_screen_exited"]
|