pegchamp/Pegs/Yellow/Powerups/Spawn/FromBottom.tscn
2021-10-18 13:25:09 +02:00

35 lines
904 B
Text

[gd_scene load_steps=3 format=2]
[ext_resource path="res://Pegs/Yellow/Powerups/Spawn/FromBottom.gd" type="Script" id=2]
[sub_resource type="ParticlesMaterial" id=1]
emission_shape = 2
emission_box_extents = Vector3( 192, 1, 1 )
flag_disable_z = true
direction = Vector3( 0, -100, 0 )
flatness = 1.0
gravity = Vector3( 0, 98, 0 )
initial_velocity = 224.0
orbit_velocity = 0.0
orbit_velocity_random = 0.0
color = Color( 0.454902, 0.337255, 0.607843, 1 )
[node name="FromBottom" type="Node2D"]
script = ExtResource( 2 )
[node name="Timer" type="Timer" parent="."]
wait_time = 10.0
one_shot = true
autostart = true
[node name="Particles2D" type="Particles2D" parent="."]
position = Vector2( 192, 0 )
z_index = -20
emitting = false
amount = 128
lifetime = 2.0
one_shot = true
explosiveness = 0.5
process_material = SubResource( 1 )
[connection signal="timeout" from="Timer" to="." method="queue_free"]