添加敌人死亡特效
1 parent e99fc9a commit c8fb48e37b2093e98a9cbe25216e06ad47bf806f
@小李xl 小李xl authored on 10 May 2023
Showing 32 changed files
View
18
DungeonShooting_Godot/prefab/effect/Effect1.tscn
[gd_scene load_steps=8 format=3 uid="uid://crx1kqqrymmdb"]
 
[ext_resource type="Material" uid="uid://c1chld6lkpgji" path="res://resource/material/SmokeParticleMaterial.tres" id="1_dxavj"]
[ext_resource type="Texture2D" uid="uid://bs1lan5uwxyfg" path="res://resource/curve/Curve1.tres" id="1_s60r7"]
[ext_resource type="Texture2D" uid="uid://h7hkgbwj1li" path="res://resource/effects/Smoke.png" id="2_3kyig"]
[ext_resource type="Texture2D" uid="uid://csud4e6kc3iku" path="res://resource/effects/Effect1.png" id="3_1mceu"]
[ext_resource type="Script" path="res://src/game/effects/Effect1.cs" id="3_ax5u4"]
particles_animation = true
particles_anim_h_frames = 3
particles_anim_v_frames = 1
particles_anim_loop = false
 
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_wsy4a"]
particle_flag_disable_z = true
spread = 180.0
gravity = Vector3(0, 0, 0)
initial_velocity_min = 5.0
initial_velocity_max = 35.0
orbit_velocity_min = 0.0
orbit_velocity_max = 0.0
scale_min = 0.8
scale_max = 0.8
scale_curve = ExtResource("1_s60r7")
color = Color(0.760784, 0.760784, 0.760784, 0.533333)
anim_offset_max = 1.0
 
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_pgx85"]
particle_flag_align_y = true
particle_flag_disable_z = true
scale_max = 0.3
scale_curve = ExtResource("1_s60r7")
 
[node name="Effect1" type="GPUParticles2D"]
modulate = Color(0.760784, 0.760784, 0.760784, 0.533333)
z_index = 5
material = SubResource("CanvasItemMaterial_ipadv")
emitting = false
amount = 10
process_material = SubResource("ParticleProcessMaterial_wsy4a")
process_material = ExtResource("1_dxavj")
texture = ExtResource("2_3kyig")
lifetime = 0.7
one_shot = true
explosiveness = 1.0
View
26
DungeonShooting_Godot/prefab/effect/activityObject/EnemyBloodEffect.tscn 0 → 100644
[gd_scene load_steps=5 format=3 uid="uid://dv3pstsr56ux7"]
 
[ext_resource type="Material" uid="uid://c1chld6lkpgji" path="res://resource/material/SmokeParticleMaterial.tres" id="1_wwb7t"]
[ext_resource type="Texture2D" uid="uid://h7hkgbwj1li" path="res://resource/effects/Smoke.png" id="2_5rrhq"]
[ext_resource type="Script" path="res://src/game/effects/AutoDestroyEffect.cs" id="3_cvfk3"]
 
[sub_resource type="CanvasItemMaterial" id="CanvasItemMaterial_emuda"]
particles_animation = true
particles_anim_h_frames = 3
particles_anim_v_frames = 1
particles_anim_loop = false
 
[node name="EnemyBloodEffect" type="GPUParticles2D"]
modulate = Color(0.811765, 0.0980392, 0.0980392, 0.627451)
material = SubResource("CanvasItemMaterial_emuda")
emitting = false
amount = 10
process_material = ExtResource("1_wwb7t")
texture = ExtResource("2_5rrhq")
lifetime = 1.2
one_shot = true
explosiveness = 1.0
fixed_fps = 20
script = ExtResource("3_cvfk3")
DelayTime = 1.5
View
DungeonShooting_Godot/prefab/effect/activityObject/EnemyDebris.tscn 0 → 100644
View
DungeonShooting_Godot/prefab/map/RoomDoor.tscn
View
DungeonShooting_Godot/prefab/role/Enemy.tscn
View
DungeonShooting_Godot/prefab/role/Player.tscn
View
DungeonShooting_Godot/prefab/role/Role.tscn
View
DungeonShooting_Godot/prefab/test/TestActivity.tscn
View
DungeonShooting_Godot/prefab/weapon/Knife.tscn
View
DungeonShooting_Godot/prefab/weapon/Weapon.tscn
View
DungeonShooting_Godot/prefab/weapon/bullet/Bullet.tscn
View
DungeonShooting_Godot/prefab/weapon/shell/ShellCase.tscn
View
DungeonShooting_Godot/resource/effects/activityObject/Enemy0001_Debris.png 0 → 100644
View
DungeonShooting_Godot/resource/effects/activityObject/Enemy0001_Debris.png.import 0 → 100644
View
DungeonShooting_Godot/resource/material/Blend.gdshader 0 → 100644
View
DungeonShooting_Godot/resource/material/Blend.tres 0 → 100644
View
DungeonShooting_Godot/resource/material/SmokeParticleMaterial.tres 0 → 100644
View
DungeonShooting_Godot/resource/materlal/Blend.gdshader 100644 → 0
View
DungeonShooting_Godot/resource/materlal/Blend.tres 100644 → 0
View
DungeonShooting_Godot/resource/theme/mainTheme.tres
View
DungeonShooting_Godot/src/framework/activity/ActivityObject.cs
View
DungeonShooting_Godot/src/framework/activity/ActivityObjectTemplate.cs
View
DungeonShooting_Godot/src/game/effects/AutoDestroyEffect.cs 0 → 100644
View
DungeonShooting_Godot/src/game/effects/Effect1.cs
View
DungeonShooting_Godot/src/game/effects/EnemyDebris.cs 0 → 100644
View
DungeonShooting_Godot/src/game/item/weapon/shell/ShellCase.cs
View
DungeonShooting_Godot/src/game/manager/ActivityIdPrefix.cs
View
DungeonShooting_Godot/src/game/manager/ResourceManager.cs
View
DungeonShooting_Godot/src/game/manager/ResourcePath.cs
View
DungeonShooting_Godot/src/game/role/AnimatorNames.cs
View
DungeonShooting_Godot/src/game/role/Role.cs
View
DungeonShooting_Godot/src/game/role/enemy/Enemy.cs