Exploding minoes instead of lines
This commit is contained in:
95
source/Tetrominos/Mino/ExplodingMino.tscn
Normal file
95
source/Tetrominos/Mino/ExplodingMino.tscn
Normal file
@ -0,0 +1,95 @@
|
||||
[gd_scene load_steps=7 format=2]
|
||||
|
||||
[ext_resource path="res://Tetrominos/Mino/MinoMesh.tres" type="CubeMesh" id=1]
|
||||
|
||||
[sub_resource type="Gradient" id=1]
|
||||
|
||||
offsets = PoolRealArray( 0, 1 )
|
||||
colors = PoolColorArray( 0, 0, 0, 1, 1, 1, 1, 1 )
|
||||
|
||||
[sub_resource type="GradientTexture" id=2]
|
||||
|
||||
flags = 4
|
||||
gradient = SubResource( 1 )
|
||||
width = 2048
|
||||
|
||||
[sub_resource type="Gradient" id=3]
|
||||
|
||||
offsets = PoolRealArray( 0, 1 )
|
||||
colors = PoolColorArray( 0.802765, 1, 0.451172, 1, 1, 1, 1, 0 )
|
||||
|
||||
[sub_resource type="GradientTexture" id=4]
|
||||
|
||||
flags = 4
|
||||
gradient = SubResource( 3 )
|
||||
width = 2048
|
||||
|
||||
[sub_resource type="ParticlesMaterial" id=5]
|
||||
|
||||
render_priority = 0
|
||||
trail_divisor = 2
|
||||
trail_color_modifier = SubResource( 4 )
|
||||
emission_shape = 2
|
||||
emission_box_extents = Vector3( 1, 1, 1 )
|
||||
flag_align_y = false
|
||||
flag_rotate_y = true
|
||||
flag_disable_z = false
|
||||
spread = 0.0
|
||||
flatness = 0.0
|
||||
gravity = Vector3( 0, -5, 20 )
|
||||
initial_velocity = 100.0
|
||||
initial_velocity_random = 1.0
|
||||
angular_velocity = 210.0
|
||||
angular_velocity_random = 1.0
|
||||
linear_accel = 100.0
|
||||
linear_accel_random = 1.0
|
||||
radial_accel = 8.48
|
||||
radial_accel_random = 0.85
|
||||
tangential_accel = 0.0
|
||||
tangential_accel_random = 0.0
|
||||
damping = 0.0
|
||||
damping_random = 0.0
|
||||
angle = 402.7
|
||||
angle_random = 0.78
|
||||
scale = 0.5
|
||||
scale_random = 1.0
|
||||
color_ramp = SubResource( 2 )
|
||||
hue_variation = 0.0
|
||||
hue_variation_random = 0.0
|
||||
anim_speed = 0.0
|
||||
anim_speed_random = 0.0
|
||||
anim_offset = 0.0
|
||||
anim_offset_random = 0.0
|
||||
anim_loop = false
|
||||
_sections_unfolded = [ "Angular Velocity", "Color", "Emission Shape", "Gravity", "Initial Velocity", "Linear Accel", "Scale", "Spread" ]
|
||||
|
||||
[node name="ExplodingMino" type="Particles" index="0"]
|
||||
|
||||
layers = 1
|
||||
material_override = null
|
||||
cast_shadow = 1
|
||||
extra_cull_margin = 0.0
|
||||
use_in_baked_light = false
|
||||
lod_min_distance = 0.0
|
||||
lod_min_hysteresis = 0.0
|
||||
lod_max_distance = 0.0
|
||||
lod_max_hysteresis = 0.0
|
||||
emitting = false
|
||||
amount = 1
|
||||
lifetime = 2.0
|
||||
one_shot = true
|
||||
preprocess = 0.0
|
||||
speed_scale = 2.18
|
||||
explosiveness = 1.0
|
||||
randomness = 0.0
|
||||
fixed_fps = 0
|
||||
fract_delta = true
|
||||
visibility_aabb = AABB( -0.5, -0.5, -0.5, 1, 1, 1 )
|
||||
local_coords = false
|
||||
draw_order = 0
|
||||
process_material = SubResource( 5 )
|
||||
draw_passes = 1
|
||||
draw_pass_1 = ExtResource( 1 )
|
||||
_sections_unfolded = [ "Draw Passes", "Drawing", "Process Material", "Time", "Transform" ]
|
||||
|
||||
|
@ -162,7 +162,7 @@ subdivide_width = 0
|
||||
subdivide_height = 0
|
||||
subdivide_depth = 0
|
||||
|
||||
[node name="Mino" type="Spatial"]
|
||||
[node name="Mino" type="Spatial" index="0"]
|
||||
|
||||
transform = Transform( 0.997027, 0, 0, 0, 0.997027, 0, 0, 0, 0.997027, 0, 0, 0 )
|
||||
_sections_unfolded = [ "Pause", "Transform", "Visibility" ]
|
||||
@ -204,7 +204,7 @@ _sections_unfolded = [ "Draw Passes", "Drawing", "Geometry", "LOD", "Process Mat
|
||||
|
||||
[node name="SpotLight" type="SpotLight" parent="." index="2"]
|
||||
|
||||
transform = Transform( 1, 0, 0, 0, -4.37114e-008, 1, 0, -1, -4.37114e-008, 0, 0, 0.5 )
|
||||
transform = Transform( 1, 0, 0, 0, -4.37114e-008, 1, 0, -1, -4.37114e-008, 0, -0.5, 0.5 )
|
||||
layers = 1
|
||||
light_color = Color( 1, 1, 1, 1 )
|
||||
light_energy = 16.0
|
||||
|
Reference in New Issue
Block a user