Refactor console and scene structure; update resource paths and add configuration handling
This commit is contained in:
52
objects/fxs/explosion_fx.tscn
Normal file
52
objects/fxs/explosion_fx.tscn
Normal file
@@ -0,0 +1,52 @@
|
||||
[gd_scene load_steps=9 format=3 uid="uid://dyp4i4ru2j2jh"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://f74xpfg7624d" path="res://scripts/components/cleanup_component.gd" id="1_8uvxg"]
|
||||
|
||||
[sub_resource type="Curve" id="Curve_8umf8"]
|
||||
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(1, 0.4), 0.0, 0.0, 0, 0]
|
||||
point_count = 2
|
||||
|
||||
[sub_resource type="CurveTexture" id="CurveTexture_w18ti"]
|
||||
curve = SubResource("Curve_8umf8")
|
||||
|
||||
[sub_resource type="Gradient" id="Gradient_5woy1"]
|
||||
offsets = PackedFloat32Array(0, 0.173759, 0.521277, 0.687943, 0.886525, 1)
|
||||
colors = PackedColorArray(0.635294, 0.188235, 0, 1, 0.890196, 0.317647, 0, 1, 1, 0.470588, 0.188235, 1, 1, 0.635294, 0, 1, 1, 0.858824, 0.635294, 1, 1, 1, 1, 0.501961)
|
||||
|
||||
[sub_resource type="GradientTexture1D" id="GradientTexture1D_f0o3s"]
|
||||
gradient = SubResource("Gradient_5woy1")
|
||||
|
||||
[sub_resource type="Curve" id="Curve_0bqc3"]
|
||||
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(1, 0.1), 0.0, 0.0, 0, 0]
|
||||
point_count = 2
|
||||
|
||||
[sub_resource type="CurveTexture" id="CurveTexture_w0m05"]
|
||||
curve = SubResource("Curve_0bqc3")
|
||||
|
||||
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_1ujje"]
|
||||
particle_flag_disable_z = true
|
||||
emission_shape_scale = Vector3(0.5, 0.5, 0.5)
|
||||
spread = 180.0
|
||||
initial_velocity_min = 32.0
|
||||
initial_velocity_max = 32.0
|
||||
angular_velocity_min = 41.62
|
||||
angular_velocity_max = 41.62
|
||||
gravity = Vector3(0, 0, 0)
|
||||
scale_curve = SubResource("CurveTexture_w0m05")
|
||||
color_ramp = SubResource("GradientTexture1D_f0o3s")
|
||||
alpha_curve = SubResource("CurveTexture_w18ti")
|
||||
|
||||
[node name="ExplosionFX" type="GPUParticles2D"]
|
||||
emitting = false
|
||||
amount = 2048
|
||||
lifetime = 0.5
|
||||
one_shot = true
|
||||
explosiveness = 1.0
|
||||
fixed_fps = 24
|
||||
process_material = SubResource("ParticleProcessMaterial_1ujje")
|
||||
|
||||
[node name="CleanUpComponent" type="Node" parent="." node_paths=PackedStringArray("root")]
|
||||
script = ExtResource("1_8uvxg")
|
||||
root = NodePath("..")
|
||||
|
||||
[connection signal="finished" from="." to="CleanUpComponent" method="clean_up"]
|
33
objects/fxs/fire_fx.tscn
Normal file
33
objects/fxs/fire_fx.tscn
Normal file
@@ -0,0 +1,33 @@
|
||||
[gd_scene load_steps=6 format=3 uid="uid://dx80ivlvuuew4"]
|
||||
|
||||
[sub_resource type="Gradient" id="Gradient_5woy1"]
|
||||
offsets = PackedFloat32Array(0, 0.173759, 0.521277, 0.687943, 0.886525, 1)
|
||||
colors = PackedColorArray(0.635294, 0.188235, 0, 1, 0.890196, 0.317647, 0, 1, 1, 0.470588, 0.188235, 1, 1, 0.635294, 0, 1, 1, 0.858824, 0.635294, 1, 1, 1, 1, 0.501961)
|
||||
|
||||
[sub_resource type="GradientTexture1D" id="GradientTexture1D_mar4t"]
|
||||
gradient = SubResource("Gradient_5woy1")
|
||||
|
||||
[sub_resource type="Curve" id="Curve_xeno3"]
|
||||
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(1, 0.5), 0.0, 0.0, 0, 0]
|
||||
point_count = 2
|
||||
|
||||
[sub_resource type="CurveTexture" id="CurveTexture_igm87"]
|
||||
curve = SubResource("Curve_xeno3")
|
||||
|
||||
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_dq33o"]
|
||||
lifetime_randomness = 0.25
|
||||
particle_flag_disable_z = true
|
||||
emission_shape = 1
|
||||
emission_sphere_radius = 8.0
|
||||
angle_min = -70.0
|
||||
angle_max = -40.0
|
||||
spread = 0.0
|
||||
gravity = Vector3(0, -100, 0)
|
||||
scale_curve = SubResource("CurveTexture_igm87")
|
||||
color_ramp = SubResource("GradientTexture1D_mar4t")
|
||||
|
||||
[node name="FireFX" type="GPUParticles2D"]
|
||||
amount = 512
|
||||
lifetime = 0.5
|
||||
fixed_fps = 24
|
||||
process_material = SubResource("ParticleProcessMaterial_dq33o")
|
22
objects/fxs/ice_fx.tscn
Normal file
22
objects/fxs/ice_fx.tscn
Normal file
@@ -0,0 +1,22 @@
|
||||
[gd_scene load_steps=4 format=3 uid="uid://ck6nml06tm6ue"]
|
||||
|
||||
[ext_resource type="Material" uid="uid://d1m2qrclercr" path="res://shaders/shine_shader.tres" id="2_t41v2"]
|
||||
|
||||
[sub_resource type="Gradient" id="Gradient_yh4st"]
|
||||
offsets = PackedFloat32Array(0, 0.461783, 0.993631)
|
||||
colors = PackedColorArray(0.380392, 0.827451, 0.890196, 0.501961, 0.188235, 0.317647, 0.509804, 0.501961, 0.380392, 0.827451, 0.890196, 0.501961)
|
||||
|
||||
[sub_resource type="GradientTexture2D" id="GradientTexture2D_of20b"]
|
||||
gradient = SubResource("Gradient_yh4st")
|
||||
width = 16
|
||||
height = 16
|
||||
|
||||
[node name="Ice FX" type="Node2D"]
|
||||
|
||||
[node name="Ice" type="Sprite2D" parent="."]
|
||||
modulate = Color(1, 1, 1, 0.392157)
|
||||
self_modulate = Color(1, 1, 1, 0.556863)
|
||||
material = ExtResource("2_t41v2")
|
||||
position = Vector2(-1.25, 0.75)
|
||||
scale = Vector2(1.96875, 1.96875)
|
||||
texture = SubResource("GradientTexture2D_of20b")
|
Reference in New Issue
Block a user