Update collectable resources and improve FloatingTextManager integration
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=30 format=3 uid="uid://xp4njljog0x2"]
|
||||
[gd_scene format=3 uid="uid://xp4njljog0x2"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://22k1u37j6k8y" path="res://sprites/flying_enemy.png" id="1_30hhw"]
|
||||
[ext_resource type="Shader" uid="uid://bs4xvm4qkurpr" path="res://shaders/hit_flash.tres" id="1_uyhuj"]
|
||||
@@ -60,7 +60,7 @@ point_count = 2
|
||||
[sub_resource type="CurveTexture" id="CurveTexture_7b7mt"]
|
||||
curve = SubResource("Curve_f2w8b")
|
||||
|
||||
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_qxfb0"]
|
||||
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_q78ru"]
|
||||
resource_local_to_scene = true
|
||||
lifetime_randomness = 1.0
|
||||
particle_flag_disable_z = true
|
||||
@@ -80,50 +80,52 @@ color_ramp = SubResource("GradientTexture1D_f1fvy")
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_cmp1h"]
|
||||
size = Vector2(16, 26)
|
||||
|
||||
[node name="Flying Enemy" type="CharacterBody2D"]
|
||||
[node name="Flying Enemy" type="CharacterBody2D" unique_id=1068972930]
|
||||
collision_layer = 8
|
||||
collision_mask = 21
|
||||
motion_mode = 1
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=572073196]
|
||||
visible = false
|
||||
shape = SubResource("CapsuleShape2D_hil2i")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=191340928]
|
||||
material = SubResource("ShaderMaterial_q78ru")
|
||||
texture = ExtResource("1_30hhw")
|
||||
|
||||
[node name="Jetpack Particles" type="GPUParticles2D" parent="."]
|
||||
[node name="Jetpack Particles" type="GPUParticles2D" parent="." unique_id=1641064286]
|
||||
z_index = -1
|
||||
position = Vector2(-4, 16)
|
||||
explosiveness = 0.5
|
||||
fixed_fps = 24
|
||||
process_material = SubResource("ParticleProcessMaterial_fd2du")
|
||||
|
||||
[node name="Jetpack Particles2" type="GPUParticles2D" parent="."]
|
||||
[node name="Jetpack Particles2" type="GPUParticles2D" parent="." unique_id=962140317]
|
||||
z_index = -1
|
||||
position = Vector2(4, 16)
|
||||
explosiveness = 0.5
|
||||
fixed_fps = 24
|
||||
process_material = SubResource("ParticleProcessMaterial_fd2du")
|
||||
|
||||
[node name="HealthComponent" type="Node2D" parent="." node_paths=PackedStringArray("HurtSfx")]
|
||||
[node name="HealthComponent" type="Node2D" parent="." unique_id=1125679087 node_paths=PackedStringArray("HurtSfx")]
|
||||
script = ExtResource("3_uyhuj")
|
||||
Health = 0.25
|
||||
MaxHealth = 0.25
|
||||
HurtSfx = NodePath("../sfx_hurt")
|
||||
|
||||
[node name="sfx_hurt" type="AudioStreamPlayer2D" parent="."]
|
||||
[node name="sfx_hurt" type="AudioStreamPlayer2D" parent="." unique_id=1006537001]
|
||||
stream = ExtResource("3_fd2du")
|
||||
bus = &"sfx"
|
||||
|
||||
[node name="sfx_shoot" type="AudioStreamPlayer2D" parent="."]
|
||||
[node name="sfx_shoot" type="AudioStreamPlayer2D" parent="." unique_id=1437744637]
|
||||
stream = ExtResource("4_rhq76")
|
||||
bus = &"sfx"
|
||||
|
||||
[node name="DamageComponent" type="Node" parent="." node_paths=PackedStringArray("Area")]
|
||||
[node name="DamageComponent" type="Node" parent="." unique_id=1923393563 node_paths=PackedStringArray("Area")]
|
||||
script = ExtResource("6_q78ru")
|
||||
Area = NodePath("../Hitbox")
|
||||
|
||||
[node name="PeriodicShootingComponent" type="Node" parent="." node_paths=PackedStringArray("BulletSpawnPointRight", "BulletSpawnPointLeft")]
|
||||
[node name="PeriodicShootingComponent" type="Node" parent="." unique_id=1743534415 node_paths=PackedStringArray("BulletSpawnPointRight", "BulletSpawnPointLeft")]
|
||||
script = ExtResource("7_weo6b")
|
||||
BulletScene = ExtResource("7_4ajjm")
|
||||
ShootInterval = 2.0
|
||||
@@ -131,68 +133,68 @@ BulletSpawnPointRight = NodePath("../laser spawn point right")
|
||||
BulletSpawnPointLeft = NodePath("../laser spawn point left")
|
||||
ShootingIntervalVariation = 0.5
|
||||
|
||||
[node name="EnemyDeathComponent" type="Node" parent="." node_paths=PackedStringArray("CollisionShape", "Health")]
|
||||
[node name="EnemyDeathComponent" type="Node" parent="." unique_id=1519565079 node_paths=PackedStringArray("CollisionShape", "Health")]
|
||||
script = ExtResource("9_6p4k7")
|
||||
TweenDuration = 0.1
|
||||
CollisionShape = NodePath("../CollisionShape2D")
|
||||
Health = NodePath("../HealthComponent")
|
||||
|
||||
[node name="FlashingComponent" type="Node" parent="." node_paths=PackedStringArray("Sprite", "HealthComponent")]
|
||||
[node name="FlashingComponent" type="Node" parent="." unique_id=1761479670 node_paths=PackedStringArray("Sprite", "HealthComponent")]
|
||||
process_mode = 3
|
||||
script = ExtResource("10_jmybk")
|
||||
Sprite = NodePath("../Sprite2D")
|
||||
HealthComponent = NodePath("../HealthComponent")
|
||||
|
||||
[node name="HitComponent" type="Node" parent="." node_paths=PackedStringArray("Sprite", "Health", "HitFx")]
|
||||
[node name="HitComponent" type="Node" parent="." unique_id=2106183592 node_paths=PackedStringArray("Sprite", "Health", "HitFx")]
|
||||
script = ExtResource("11_2yvae")
|
||||
Sprite = NodePath("../Sprite2D")
|
||||
Health = NodePath("../HealthComponent")
|
||||
HitFx = NodePath("../HitParticles")
|
||||
|
||||
[node name="StatusEffectComponent" type="Node" parent="."]
|
||||
[node name="StatusEffectComponent" type="Node" parent="." unique_id=2016067092]
|
||||
script = ExtResource("12_xlup2")
|
||||
|
||||
[node name="FireEffectComponent" type="Node" parent="." node_paths=PackedStringArray("Health", "StatusEffectComponent", "FireFX")]
|
||||
[node name="FireEffectComponent" type="Node" parent="." unique_id=599378746 node_paths=PackedStringArray("Health", "StatusEffectComponent", "FireFX")]
|
||||
script = ExtResource("13_mrjm6")
|
||||
Health = NodePath("../HealthComponent")
|
||||
StatusEffectComponent = NodePath("../StatusEffectComponent")
|
||||
FireFX = NodePath("../FireFX")
|
||||
|
||||
[node name="IceEffectComponent" type="Node" parent="." node_paths=PackedStringArray("ComponentsToDisable", "StatusEffectComponent", "IceFx")]
|
||||
[node name="IceEffectComponent" type="Node" parent="." unique_id=1515560540 node_paths=PackedStringArray("ComponentsToDisable", "StatusEffectComponent", "IceFx")]
|
||||
script = ExtResource("14_pkino")
|
||||
ComponentsToDisable = [NodePath("../PeriodicShootingComponent"), NodePath("../DamageComponent")]
|
||||
StatusEffectComponent = NodePath("../StatusEffectComponent")
|
||||
IceFx = NodePath("../Ice FX")
|
||||
|
||||
[node name="HitParticles" parent="." instance=ExtResource("13_xlup2")]
|
||||
[node name="HitParticles" parent="." unique_id=579475644 instance=ExtResource("13_xlup2")]
|
||||
position = Vector2(0, 1)
|
||||
process_material = SubResource("ParticleProcessMaterial_qxfb0")
|
||||
process_material = SubResource("ParticleProcessMaterial_q78ru")
|
||||
|
||||
[node name="FireFX" parent="." instance=ExtResource("14_mrjm6")]
|
||||
[node name="FireFX" parent="." unique_id=1136026281 instance=ExtResource("14_mrjm6")]
|
||||
position = Vector2(0, 9)
|
||||
emitting = false
|
||||
amount = 2048
|
||||
|
||||
[node name="Ice FX" parent="." instance=ExtResource("15_pkino")]
|
||||
[node name="Ice FX" parent="." unique_id=275134518 instance=ExtResource("15_pkino")]
|
||||
visible = false
|
||||
position = Vector2(1, 0)
|
||||
scale = Vector2(0.684407, 0.929677)
|
||||
|
||||
[node name="laser spawn point right" type="Node2D" parent="."]
|
||||
[node name="laser spawn point right" type="Node2D" parent="." unique_id=915998238]
|
||||
position = Vector2(8, -2)
|
||||
|
||||
[node name="laser spawn point left" type="Node2D" parent="."]
|
||||
[node name="laser spawn point left" type="Node2D" parent="." unique_id=1180867485]
|
||||
position = Vector2(-9, -2)
|
||||
|
||||
[node name="Hitbox" type="Area2D" parent="."]
|
||||
[node name="Hitbox" type="Area2D" parent="." unique_id=1699649839]
|
||||
collision_layer = 8
|
||||
collision_mask = 20
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Hitbox"]
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Hitbox" unique_id=379520850]
|
||||
position = Vector2(0, 2)
|
||||
shape = SubResource("RectangleShape2D_cmp1h")
|
||||
|
||||
[node name="PathFollowerComponent" type="Node2D" parent="."]
|
||||
[node name="PathFollowerComponent" type="Node2D" parent="." unique_id=1706994676]
|
||||
script = ExtResource("18_q78ru")
|
||||
ShouldRotate = false
|
||||
metadata/_custom_type_script = "uid://b4hvq2i66fjhi"
|
||||
|
||||
Reference in New Issue
Block a user