Initial commit based on the work of shmup-01
This commit is contained in:
commit
da65849c27
78 changed files with 1723 additions and 0 deletions
22
enemy_bullet.tscn
Normal file
22
enemy_bullet.tscn
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
[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"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue