forked from unfa/liblast
71 lines
1.9 KiB
Plaintext
71 lines
1.9 KiB
Plaintext
[gd_scene load_steps=9 format=3 uid="uid://egphnvwk6cg"]
|
|
|
|
[ext_resource type="Script" path="res://Assets/Effects/Impact.gd" id="1"]
|
|
[ext_resource type="Texture2D" uid="uid://cguy76rs8e220" path="res://Assets/Effects/Flame.png" id="2"]
|
|
|
|
[sub_resource type="StandardMaterial3D" id="7"]
|
|
blend_mode = 3
|
|
shading_mode = 0
|
|
vertex_color_use_as_albedo = true
|
|
albedo_texture = ExtResource( "2" )
|
|
billboard_mode = 3
|
|
particles_anim_h_frames = 2
|
|
particles_anim_v_frames = 2
|
|
particles_anim_loop = false
|
|
|
|
[sub_resource type="QuadMesh" id="2"]
|
|
material = SubResource( "7" )
|
|
size = Vector2(0.2, 0.2)
|
|
|
|
[sub_resource type="Curve" id="3"]
|
|
_data = [Vector2(0, 0.981818), 0.0, -1.7826, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]
|
|
|
|
[sub_resource type="Gradient" id="8"]
|
|
colors = PackedColorArray(1, 0, 0, 1, 1, 1, 1, 1)
|
|
|
|
[sub_resource type="StandardMaterial3D" id="5"]
|
|
blend_mode = 1
|
|
shading_mode = 0
|
|
albedo_color = Color(1, 0, 0.00784314, 1)
|
|
albedo_texture = ExtResource( "2" )
|
|
uv1_scale = Vector3(0.5, 0.5, 1)
|
|
|
|
[sub_resource type="QuadMesh" id="6"]
|
|
material = SubResource( "5" )
|
|
size = Vector2(0.25, 0.25)
|
|
|
|
[node name="Impact" type="Node3D"]
|
|
script = ExtResource( "1" )
|
|
|
|
[node name="CPUParticles3D" type="CPUParticles3D" parent="."]
|
|
emitting = false
|
|
amount = 32
|
|
lifetime = 3.0
|
|
one_shot = true
|
|
explosiveness = 1.0
|
|
local_coords = false
|
|
mesh = SubResource( "2" )
|
|
particle_flag_rotate_y = true
|
|
direction = Vector3(0, 1, 0)
|
|
spread = 180.0
|
|
initial_velocity_min = 0.5
|
|
initial_velocity_max = 5.0
|
|
scale_amount_curve = SubResource( "3" )
|
|
color_ramp = SubResource( "8" )
|
|
script = null
|
|
|
|
[node name="Timer" type="Timer" parent="."]
|
|
wait_time = 15.0
|
|
one_shot = true
|
|
autostart = true
|
|
script = null
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 0.00379224, 0)
|
|
visible = false
|
|
mesh = SubResource( "6" )
|
|
surface_material_override/0 = null
|
|
script = null
|
|
|
|
[connection signal="timeout" from="Timer" to="." method="_on_Timer_timeout"]
|