52 lines
1.4 KiB
Plaintext
52 lines
1.4 KiB
Plaintext
[gd_scene load_steps=8 format=2]
|
|
|
|
[ext_resource path="res://art/light.png" type="Texture" id=1]
|
|
[ext_resource path="res://art/torch.png" type="Texture" id=2]
|
|
|
|
[sub_resource type="Gradient" id=1]
|
|
offsets = PoolRealArray( 0, 0.24498, 0.638554, 1 )
|
|
colors = PoolColorArray( 1, 1, 1, 1, 1, 0.433594, 0, 1, 1, 0.164063, 0.164063, 1, 0, 0, 0, 1 )
|
|
|
|
[sub_resource type="GradientTexture" id=2]
|
|
gradient = SubResource( 1 )
|
|
|
|
[sub_resource type="Curve" id=3]
|
|
_data = [ Vector2( 0, 1 ), 0.0, 0.0, 0, 0, Vector2( 1, 0.509091 ), -0.824243, 0.0, 0, 0 ]
|
|
|
|
[sub_resource type="CurveTexture" id=4]
|
|
curve = SubResource( 3 )
|
|
|
|
[sub_resource type="ParticlesMaterial" id=5]
|
|
emission_shape = 1
|
|
emission_sphere_radius = 2.0
|
|
flag_disable_z = true
|
|
spread = 30.0
|
|
gravity = Vector3( 0, 0, 0 )
|
|
initial_velocity = 60.0
|
|
angular_velocity = 15.0
|
|
orbit_velocity = 0.0
|
|
orbit_velocity_random = 0.0
|
|
scale = 2.0
|
|
scale_curve = SubResource( 4 )
|
|
color_ramp = SubResource( 2 )
|
|
|
|
[node name="torch" type="Sprite"]
|
|
position = Vector2( 0, 4 )
|
|
texture = ExtResource( 2 )
|
|
|
|
[node name="Particles2D" type="Particles2D" parent="."]
|
|
show_behind_parent = true
|
|
position = Vector2( 0, -5 )
|
|
rotation = -1.57079
|
|
amount = 60
|
|
lifetime = 0.3
|
|
speed_scale = 0.25
|
|
process_material = SubResource( 5 )
|
|
|
|
[node name="Light2D" type="Light2D" parent="."]
|
|
position = Vector2( 0, -4 )
|
|
texture = ExtResource( 1 )
|
|
color = Color( 1, 0.4, 0, 1 )
|
|
range_layer_min = -5
|
|
range_layer_max = 5
|