Files
2026-07-21 21:53:18 +02:00

34 lines
1.6 KiB
Plaintext

[gd_scene format=3 uid="uid://brbufibn7hi3o"]
[ext_resource type="Script" uid="uid://dc5mvle8lc40j" path="res://Game/Projectile/Projectile.cs" id="1_g2gsk"]
[ext_resource type="Script" uid="uid://qjonl8stia46" path="res://addons/AetherBind/ServiceSource.cs" id="2_g4q5f"]
[ext_resource type="PackedScene" uid="uid://dfvr0g5souli2" path="res://Game/Projectile/Explosion/explosion_gpu_particles_2d.tscn" id="2_r0joc"]
[ext_resource type="Texture2D" uid="uid://blwkfvcupjt0v" path="res://Game/Projectile/towerDefense_tile252.png" id="3_r0joc"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_u8d0v"]
size = Vector2(22, 39)
[node name="Projectile" type="Node2D" unique_id=1686616504]
script = ExtResource("1_g2gsk")
_speed = 600.0
_explosionPackedScene = ExtResource("2_r0joc")
[node name="Scope" type="Node" parent="." unique_id=513224818 node_paths=PackedStringArray("InjectedNodes")]
script = ExtResource("2_g4q5f")
InjectedNodes = [NodePath("..")]
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=1021740171]
texture = ExtResource("3_r0joc")
[node name="Area2D" type="Area2D" parent="." unique_id=863162079]
collision_mask = 2
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D" unique_id=1209287052]
position = Vector2(0, 0.5)
shape = SubResource("RectangleShape2D_u8d0v")
[node name="VisibleOnScreenNotifier2D" type="VisibleOnScreenNotifier2D" parent="." unique_id=2022746131]
[connection signal="area_entered" from="Area2D" to="." method="OnArea2DEntered"]
[connection signal="screen_exited" from="VisibleOnScreenNotifier2D" to="." method="OnScreenExited"]