65 lines
3.0 KiB
Plaintext
65 lines
3.0 KiB
Plaintext
[gd_scene load_steps=11 format=3 uid="uid://daau4j5hbklk0"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://djifxc5x0dyrw" path="res://sprites/ppc_tileset.png" id="1_52l28"]
|
|
[ext_resource type="Script" uid="uid://cfw8nbrarex0i" path="res://scripts/components/BulletComponent.cs" id="2_5ybdf"]
|
|
[ext_resource type="Script" uid="uid://2i7p7v135u7c" path="res://scripts/components/DamageComponent.cs" id="3_b1kpf"]
|
|
[ext_resource type="Resource" uid="uid://obodgnkhxuhe" path="res://resources/status_effect/fire.tres" id="4_xx5l4"]
|
|
[ext_resource type="Script" uid="uid://xjq33vj0rol0" path="res://scripts/components/EffectInflictorComponent.cs" id="5_wfje1"]
|
|
[ext_resource type="Script" uid="uid://cs6u3sh68f43j" path="res://scripts/components/OutOfScreenComponent.cs" id="6_666k7"]
|
|
[ext_resource type="Script" uid="uid://cbexrnnj47f87" path="res://scripts/components/LaunchComponent.cs" id="7_67bn4"]
|
|
[ext_resource type="Script" uid="uid://c7p06t0eax8am" path="res://scripts/components/StraightMotionComponent.cs" id="8_5ybdf"]
|
|
[ext_resource type="Script" uid="uid://c7n6ecsobohjn" path="res://scripts/components/ProjectileInitComponent.cs" id="9_b1kpf"]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_ar0xf"]
|
|
size = Vector2(16, 10)
|
|
|
|
[node name="FireBrick" type="Area2D"]
|
|
collision_layer = 16
|
|
collision_mask = 9
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
shape = SubResource("RectangleShape2D_ar0xf")
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="."]
|
|
texture = ExtResource("1_52l28")
|
|
hframes = 12
|
|
vframes = 12
|
|
frame = 80
|
|
|
|
[node name="BulletComponent" type="Node" parent="." node_paths=PackedStringArray("Area", "BulletSprite")]
|
|
script = ExtResource("2_5ybdf")
|
|
Area = NodePath("..")
|
|
BulletSprite = NodePath("../Sprite2D")
|
|
|
|
[node name="VisibleOnScreenNotifier2D" type="VisibleOnScreenNotifier2D" parent="."]
|
|
position = Vector2(0, 2.38419e-07)
|
|
scale = Vector2(0.8, 0.5)
|
|
|
|
[node name="Timer" type="Timer" parent="."]
|
|
|
|
[node name="DamageComponent" type="Node" parent="." node_paths=PackedStringArray("Area", "DamageTimer")]
|
|
script = ExtResource("3_b1kpf")
|
|
Area = NodePath("..")
|
|
StatusEffectData = ExtResource("4_xx5l4")
|
|
DamageTimer = NodePath("../Timer")
|
|
|
|
[node name="EffectInflictorComponent" type="Node" parent="." node_paths=PackedStringArray("Damage")]
|
|
script = ExtResource("5_wfje1")
|
|
Damage = NodePath("../DamageComponent")
|
|
|
|
[node name="OutOfScreenComponent" type="Node" parent="." node_paths=PackedStringArray("VisibilityNotifier")]
|
|
script = ExtResource("6_666k7")
|
|
VisibilityNotifier = NodePath("../VisibleOnScreenNotifier2D")
|
|
|
|
[node name="LaunchComponent" type="Node2D" parent="."]
|
|
script = ExtResource("7_67bn4")
|
|
Speed = 200.0
|
|
|
|
[node name="StraightMotionComponent" type="Node" parent="." node_paths=PackedStringArray("LaunchComponent")]
|
|
script = ExtResource("8_5ybdf")
|
|
LaunchComponent = NodePath("../LaunchComponent")
|
|
|
|
[node name="ProjectileInitComponent" type="Node" parent="." node_paths=PackedStringArray("LaunchComponent")]
|
|
script = ExtResource("9_b1kpf")
|
|
LaunchComponent = NodePath("../LaunchComponent")
|