giants-godot/effects/fx_prox_explosion.tscn

41 lines
1.2 KiB
Plaintext
Raw Normal View History

2021-10-10 15:51:46 +02:00
[gd_scene load_steps=9 format=2]
[ext_resource path="res://assets/all_gbs/textures/b_spark.tx_lev1.gzp.tga" type="Texture" id=1]
[sub_resource type="Gradient" id=1]
offsets = PoolRealArray( 0, 0.00649351, 0.285714, 0.538961, 1 )
colors = PoolColorArray( 0, 0, 0, 0, 1, 0.0078125, 0.0078125, 1, 0.682353, 0.47451, 0.552941, 0, 0.992157, 0.348805, 0, 1, 1, 0.603922, 0.603922, 0 )
[sub_resource type="GradientTexture" id=2]
gradient = SubResource( 1 )
[sub_resource type="Curve" id=3]
_data = [ Vector2( 0, 0 ), 0.0, 1.0, 0, 1, Vector2( 1, 1 ), 1.0, 0.0, 1, 0 ]
[sub_resource type="CurveTexture" id=4]
curve = SubResource( 3 )
[sub_resource type="ParticlesMaterial" id=5]
gravity = Vector3( 0, 0, 0 )
scale = 150.0
scale_curve = SubResource( 4 )
color_ramp = SubResource( 2 )
[sub_resource type="SpatialMaterial" id=6]
flags_transparent = true
flags_unshaded = true
vertex_color_use_as_albedo = true
albedo_texture = ExtResource( 1 )
uv1_scale = Vector3( 4, 1, 1 )
[sub_resource type="SphereMesh" id=7]
material = SubResource( 6 )
[node name="Spatial" type="Particles"]
emitting = false
amount = 1
lifetime = 1.5
one_shot = true
process_material = SubResource( 5 )
draw_pass_1 = SubResource( 7 )