Frontier-of-Hell/scenes/bullets/bullet_1.tscn

24 lines
913 B
Text
Raw Normal View History

2023-10-06 11:40:11 +02:00
[gd_scene load_steps=4 format=3 uid="uid://dqa80ptcc8p70"]
2023-10-06 17:47:24 +02:00
[ext_resource type="Script" path="res://scripts/bullets/bullet_1.gd" id="1_lacqw"]
[ext_resource type="Texture2D" uid="uid://c57taqe4k3mi2" path="res://assets/spritesheets/bullet-1.png" id="2_o8iut"]
2023-10-06 11:40:11 +02:00
[sub_resource type="CircleShape2D" id="CircleShape2D_3cgpo"]
radius = 6.0
2023-10-06 17:47:24 +02:00
[node name="bullet" type="Area2D"]
script = ExtResource("1_lacqw")
2023-10-06 11:40:11 +02:00
[node name="Sprite2D" type="Sprite2D" parent="."]
2023-10-06 17:47:24 +02:00
texture = ExtResource("2_o8iut")
2023-10-06 11:40:11 +02:00
hframes = 2
frame = 1
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("CircleShape2D_3cgpo")
[node name="VisibleOnScreenNotifier2D" type="VisibleOnScreenNotifier2D" parent="."]
[connection signal="body_entered" from="." to="." method="_on_Bullet_body_entered"]
[connection signal="screen_exited" from="VisibleOnScreenNotifier2D" to="." method="_on_VisibilityNotifier2D_screen_exited"]