mirror of
https://codeberg.org/ProgramSnail/konkr_game_3d.git
synced 2026-01-01 11:18:16 +00:00
34 lines
845 B
Text
34 lines
845 B
Text
[gd_scene load_steps=4 format=2]
|
|
|
|
[ext_resource path="res://scripts/Destruction.gd" type="Script" id=1]
|
|
|
|
[sub_resource type="ParticlesMaterial" id=40]
|
|
lifetime_randomness = 0.5
|
|
emission_shape = 1
|
|
emission_sphere_radius = 0.1
|
|
direction = Vector3( 0, 1, 0 )
|
|
spread = 90.0
|
|
gravity = Vector3( 0, 0, 0 )
|
|
initial_velocity = 3.0
|
|
initial_velocity_random = 0.5
|
|
linear_accel = -3.0
|
|
scale = 2.0
|
|
scale_random = 1.0
|
|
|
|
[sub_resource type="SphereMesh" id=41]
|
|
radius = 0.2
|
|
height = 0.4
|
|
|
|
[node name="Destruction" type="Spatial"]
|
|
|
|
[node name="Particles" type="Particles" parent="."]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0 )
|
|
emitting = false
|
|
amount = 16
|
|
lifetime = 0.6
|
|
one_shot = true
|
|
explosiveness = 1.0
|
|
visibility_aabb = AABB( -2, -2, -2, 4, 4, 4 )
|
|
process_material = SubResource( 40 )
|
|
draw_pass_1 = SubResource( 41 )
|
|
script = ExtResource( 1 )
|