受击特效优化 地对空连击优化
parent
a1c0690e1c
commit
cdc4074c80
Binary file not shown.
|
After Width: | Height: | Size: 97 B |
@ -0,0 +1,34 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://ciusodtprwghg"
|
||||||
|
path="res://.godot/imported/gradient4.png-0e8c52059f6c6cac7eacf1ffcaf7eba1.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://render/texture/particle/gradient/gradient4.png"
|
||||||
|
dest_files=["res://.godot/imported/gradient4.png-0e8c52059f6c6cac7eacf1ffcaf7eba1.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=0
|
||||||
|
compress/normal_map=2
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/fix_alpha_border=false
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=0
|
||||||
@ -0,0 +1,16 @@
|
|||||||
|
[gd_resource type="RibbonTrailMesh" load_steps=4 format=3 uid="uid://c3rjewvjwg3nq"]
|
||||||
|
|
||||||
|
[ext_resource type="Shader" path="res://render/shader/trail.gdshader" id="1_oxqru"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://ciusodtprwghg" path="res://render/texture/particle/gradient/gradient4.png" id="2_t6tky"]
|
||||||
|
|
||||||
|
[sub_resource type="ShaderMaterial" id="ShaderMaterial_od7xi"]
|
||||||
|
render_priority = 0
|
||||||
|
shader = ExtResource("1_oxqru")
|
||||||
|
shader_parameter/tex_gradient = ExtResource("2_t6tky")
|
||||||
|
|
||||||
|
[resource]
|
||||||
|
material = SubResource("ShaderMaterial_od7xi")
|
||||||
|
size = 0.02
|
||||||
|
sections = 2
|
||||||
|
section_length = 0.05
|
||||||
|
section_segments = 4
|
||||||
@ -0,0 +1,27 @@
|
|||||||
|
[gd_scene load_steps=5 format=3 uid="uid://bfnwt1jr830pa"]
|
||||||
|
|
||||||
|
[ext_resource type="Script" path="res://script/effect/fragment.gd" id="1_14ie3"]
|
||||||
|
[ext_resource type="Material" uid="uid://b3mpocbc8svx2" path="res://render/material/fragment.tres" id="3_0tado"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://bcrr12gbos636" path="res://render/texture/particle/shape/fragment1.png" id="4_0awd6"]
|
||||||
|
|
||||||
|
[sub_resource type="SphereShape3D" id="SphereShape3D_1r022"]
|
||||||
|
radius = 0.1
|
||||||
|
|
||||||
|
[node name="Fragment" type="CharacterBody3D"]
|
||||||
|
transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0, 0, 0)
|
||||||
|
collision_layer = 256
|
||||||
|
script = ExtResource("1_14ie3")
|
||||||
|
velocity_min = Vector2(1, 2)
|
||||||
|
velocity_max = Vector2(2, 4)
|
||||||
|
|
||||||
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||||
|
shape = SubResource("SphereShape3D_1r022")
|
||||||
|
|
||||||
|
[node name="Sprite3D" type="Sprite3D" parent="."]
|
||||||
|
unique_name_in_owner = true
|
||||||
|
material_override = ExtResource("3_0tado")
|
||||||
|
modulate = Color(0, 0, 0, 1)
|
||||||
|
pixel_size = 0.004
|
||||||
|
texture = ExtResource("4_0awd6")
|
||||||
|
hframes = 2
|
||||||
|
vframes = 2
|
||||||
@ -0,0 +1,14 @@
|
|||||||
|
[gd_scene load_steps=4 format=3 uid="uid://j0wrno4hl0hp"]
|
||||||
|
|
||||||
|
[ext_resource type="Script" path="res://script/effect/particle.gd" id="1_5dxmp"]
|
||||||
|
[ext_resource type="Script" path="res://script/effect/particle_sub_emitter.gd" id="2_npeka"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://b0ogpoluxbsxx" path="res://scene/effect/particle/particle_blood_fragment.tscn" id="3_ww4rr"]
|
||||||
|
|
||||||
|
[node name="Particle" type="Node3D"]
|
||||||
|
script = ExtResource("1_5dxmp")
|
||||||
|
|
||||||
|
[node name="ParticleSubEmitter" type="Node3D" parent="."]
|
||||||
|
script = ExtResource("2_npeka")
|
||||||
|
sub = ExtResource("3_ww4rr")
|
||||||
|
count_min = 5
|
||||||
|
count_max = 8
|
||||||
@ -0,0 +1,15 @@
|
|||||||
|
[gd_scene load_steps=4 format=3 uid="uid://c586yw1w3w5ja"]
|
||||||
|
|
||||||
|
[ext_resource type="Script" path="res://script/effect/particle.gd" id="1_mj544"]
|
||||||
|
[ext_resource type="Script" path="res://script/effect/particle_sub_emitter.gd" id="2_k8mlr"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://bfnwt1jr830pa" path="res://scene/effect/particle/particle_common_fragment.tscn" id="3_lryd5"]
|
||||||
|
|
||||||
|
[node name="Particle" type="Node3D"]
|
||||||
|
script = ExtResource("1_mj544")
|
||||||
|
|
||||||
|
[node name="ParticleSubEmitter" type="Node3D" parent="."]
|
||||||
|
script = ExtResource("2_k8mlr")
|
||||||
|
sub = ExtResource("3_lryd5")
|
||||||
|
count_min = 2
|
||||||
|
count_max = 3
|
||||||
|
lifetime = 0.1
|
||||||
@ -1,14 +1,43 @@
|
|||||||
[gd_scene load_steps=4 format=3 uid="uid://j0wrno4hl0hp"]
|
[gd_scene load_steps=8 format=3 uid="uid://blt6kqia1fdim"]
|
||||||
|
|
||||||
[ext_resource type="Script" path="res://script/effect/particle.gd" id="1_kd50q"]
|
[ext_resource type="Script" path="res://script/effect/particle.gd" id="1_m0soh"]
|
||||||
[ext_resource type="Script" path="res://script/effect/particle_sub_emitter.gd" id="2_osya7"]
|
[ext_resource type="RibbonTrailMesh" uid="uid://c3rjewvjwg3nq" path="res://render/trail_mesh/fragment_cloth.tres" id="2_foper"]
|
||||||
[ext_resource type="PackedScene" uid="uid://b0ogpoluxbsxx" path="res://scene/effect/particle/particle_fragment.tscn" id="3_o8j15"]
|
|
||||||
|
[sub_resource type="Curve" id="Curve_sjrhq"]
|
||||||
|
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]
|
||||||
|
point_count = 2
|
||||||
|
|
||||||
|
[sub_resource type="CurveTexture" id="CurveTexture_wpjie"]
|
||||||
|
curve = SubResource("Curve_sjrhq")
|
||||||
|
|
||||||
|
[sub_resource type="Curve" id="Curve_bxm7h"]
|
||||||
|
_data = [Vector2(0, 0), 0.0, 0.0, 0, 0, Vector2(1, 1), 0.0, 0.0, 0, 0]
|
||||||
|
point_count = 2
|
||||||
|
|
||||||
|
[sub_resource type="CurveTexture" id="CurveTexture_apkn5"]
|
||||||
|
curve = SubResource("Curve_bxm7h")
|
||||||
|
|
||||||
|
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_nv0pr"]
|
||||||
|
spread = 180.0
|
||||||
|
initial_velocity_min = 2.0
|
||||||
|
initial_velocity_max = 3.0
|
||||||
|
gravity = Vector3(0, -1, 0)
|
||||||
|
damping_min = 2.0
|
||||||
|
damping_max = 2.0
|
||||||
|
alpha_curve = SubResource("CurveTexture_wpjie")
|
||||||
|
turbulence_enabled = true
|
||||||
|
turbulence_noise_strength = 2.0
|
||||||
|
turbulence_noise_speed_random = 2.0
|
||||||
|
turbulence_influence_over_life = SubResource("CurveTexture_apkn5")
|
||||||
|
|
||||||
[node name="Particle" type="Node3D"]
|
[node name="Particle" type="Node3D"]
|
||||||
script = ExtResource("1_kd50q")
|
script = ExtResource("1_m0soh")
|
||||||
|
|
||||||
[node name="ParticleSubEmitter" type="Node3D" parent="."]
|
[node name="Flare" type="GPUParticles3D" parent="."]
|
||||||
script = ExtResource("2_osya7")
|
emitting = false
|
||||||
sub = ExtResource("3_o8j15")
|
one_shot = true
|
||||||
count_min = 5
|
explosiveness = 1.0
|
||||||
count_max = 8
|
trail_enabled = true
|
||||||
|
trail_lifetime = 0.1
|
||||||
|
process_material = SubResource("ParticleProcessMaterial_nv0pr")
|
||||||
|
draw_pass_1 = ExtResource("2_foper")
|
||||||
|
|||||||
Loading…
Reference in New Issue