23 lines
936 B
Plaintext
23 lines
936 B
Plaintext
[gd_scene load_steps=4 format=3 uid="uid://bts6qcq761ji2"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://7girakt7lpra" path="res://assets/Projectiles/Player_charged_beam (16 x 16).png" id="1_buxg7"]
|
|
[ext_resource type="Script" path="res://bullet/bullet.gd" id="1_mfone"]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_px3ut"]
|
|
size = Vector2(12, 12)
|
|
|
|
[node name="Bullet" type="Area2D"]
|
|
script = ExtResource("1_mfone")
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="."]
|
|
texture = ExtResource("1_buxg7")
|
|
hframes = 2
|
|
|
|
[node name="CollisionShape2DLeft" type="CollisionShape2D" parent="."]
|
|
shape = SubResource("RectangleShape2D_px3ut")
|
|
|
|
[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"]
|