Shmup-01b/enemy_bullet.tscn

22 lines
968 B
Text

[gd_scene load_steps=4 format=3 uid="uid://3xbr5bnuk04u"]
[ext_resource type="Texture2D" uid="uid://dubjbfdp6ep34" path="res://Mini Pixel Pack 3/Projectiles/Enemy_projectile (16 x 16).png" id="1_1xapl"]
[ext_resource type="Script" uid="uid://dusi2flaqer4b" path="res://enemy_bullet.gd" id="1_gl7bs"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_gl7bs"]
size = Vector2(6, 6)
[node name="EnemyBullet" type="Area2D"]
script = ExtResource("1_gl7bs")
[node name="Sprite2D" type="Sprite2D" parent="."]
texture = ExtResource("1_1xapl")
hframes = 4
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("RectangleShape2D_gl7bs")
[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"]