pegchamp/Pegs/Green/HitParticles.tscn

41 lines
1.1 KiB
Plaintext

[gd_scene load_steps=6 format=2]
[ext_resource path="res://Pegs/HitParticles.gd" type="Script" id=1]
[ext_resource path="res://Effects/greenParticle.png" type="Texture" id=2]
[ext_resource path="res://SFX/greenExplodes.wav" type="AudioStream" id=3]
[ext_resource path="res://Pegs/Green/HitSFX.gd" type="Script" id=4]
[sub_resource type="ParticlesMaterial" id=1]
emission_shape = 1
emission_sphere_radius = 2.0
flag_disable_z = true
direction = Vector3( 0, 0, 0 )
spread = 24.0
gravity = Vector3( 0, 100, 0 )
initial_velocity = 100.0
initial_velocity_random = 0.5
orbit_velocity = 0.0
orbit_velocity_random = 0.0
radial_accel_random = 1.0
damping = 50.0
damping_random = 0.5
[node name="HitParticles" type="Particles2D"]
scale = Vector2( 1.6, 1.6 )
z_index = -10
emitting = false
amount = 16
lifetime = 5.0
one_shot = true
explosiveness = 0.95
local_coords = false
process_material = SubResource( 1 )
texture = ExtResource( 2 )
script = ExtResource( 1 )
[node name="HitSFX" type="AudioStreamPlayer2D" parent="."]
stream = ExtResource( 3 )
autoplay = true
bus = "SFX"
script = ExtResource( 4 )