Files
ScrapFrontier/game/entities/weapons/abstract_projectile.tscn
T
2025-11-08 22:53:09 +03:00

17 lines
703 B
Plaintext

[gd_scene load_steps=3 format=3 uid="uid://ybkqaynvpcjm"]
[ext_resource type="Script" uid="uid://ctmjb3nkxrepu" path="res://game/entities/weapons/abstract_projectile.gd" id="1_4b2nh"]
[sub_resource type="CircleShape2D" id="CircleShape2D_4b2nh"]
[node name="AbstrastProjectile" type="Area2D"]
script = ExtResource("1_4b2nh")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("CircleShape2D_4b2nh")
[node name="VisibleOnScreenNotifier2D" type="VisibleOnScreenNotifier2D" parent="."]
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
[connection signal="screen_exited" from="VisibleOnScreenNotifier2D" to="." method="_on_screen_exited"]