104 lines
3.4 KiB
Plaintext
104 lines
3.4 KiB
Plaintext
[gd_scene load_steps=10 format=3 uid="uid://cb2hxvnwtl2lv"]
|
|
|
|
[ext_resource type="Script" uid="uid://bqii5k4sdtlnq" path="res://Background.cs" id="1_i7s6n"]
|
|
[ext_resource type="Texture2D" uid="uid://coqmy50cy4vdu" path="res://images/noise.png" id="2_i7s6n"]
|
|
[ext_resource type="Shader" uid="uid://dm8d6uigfm37m" path="res://background.gdshader" id="2_xehqc"]
|
|
|
|
[sub_resource type="ShaderMaterial" id="ShaderMaterial_splo0"]
|
|
shader = ExtResource("2_xehqc")
|
|
shader_parameter/color_a = Color(0, 0.7, 0.5483333, 1)
|
|
shader_parameter/color_b = Color(0.063999936, 0, 0.48, 1)
|
|
shader_parameter/color_c = Color(0.64, 0.14080001, 0.46528006, 1)
|
|
shader_parameter/swirl_strength = 5.0
|
|
shader_parameter/swirl_radius = 2.0
|
|
shader_parameter/swirl_speed = 5.0
|
|
shader_parameter/secondary_swirl_strength = 0.5
|
|
shader_parameter/secondary_swirl_radius = 2.4
|
|
shader_parameter/secondary_swirl_center = Vector2(0.2, 0.8)
|
|
shader_parameter/time_scale = 0.1
|
|
shader_parameter/vignette_strength = 1.0
|
|
shader_parameter/grain_amount = 0.006
|
|
shader_parameter/noise_tex = ExtResource("2_i7s6n")
|
|
shader_parameter/noise_uv_scale = 1.0
|
|
shader_parameter/noise_distort_amount = 0.035
|
|
shader_parameter/swirl_noise_amount = 10.0
|
|
shader_parameter/swirl_noise_scale = 0.2
|
|
shader_parameter/accent_noise_amount = 0.1
|
|
|
|
[sub_resource type="Gradient" id="Gradient_eq6nc"]
|
|
colors = PackedColorArray(1, 1, 1, 1, 1, 1, 1, 0)
|
|
|
|
[sub_resource type="GradientTexture2D" id="GradientTexture2D_bpugw"]
|
|
gradient = SubResource("Gradient_eq6nc")
|
|
fill = 1
|
|
fill_from = Vector2(0.508547, 0.46581197)
|
|
fill_to = Vector2(0.83760685, 0.8632479)
|
|
|
|
[sub_resource type="Curve" id="Curve_gjjrj"]
|
|
_data = [Vector2(0, 0), 0.0, 0.0, 0, 0, Vector2(0.13539192, 0.7168784), 0.0, 0.0, 0, 0, Vector2(0.39667457, 0.21551728), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]
|
|
point_count = 4
|
|
|
|
[sub_resource type="CurveTexture" id="CurveTexture_vvxqx"]
|
|
curve = SubResource("Curve_gjjrj")
|
|
|
|
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_cdpnt"]
|
|
particle_flag_disable_z = true
|
|
emission_shape = 3
|
|
emission_box_extents = Vector3(640, 360, 1)
|
|
spread = 180.0
|
|
initial_velocity_min = 5.0
|
|
initial_velocity_max = 15.0
|
|
angular_velocity_min = -0.2000161
|
|
angular_velocity_max = -0.2000161
|
|
gravity = Vector3(0, 0, 0)
|
|
tangential_accel_min = -1.9300022
|
|
tangential_accel_max = 1.9199977
|
|
scale_min = 0.19999999
|
|
scale_max = 0.39999998
|
|
color = Color(0.9999998, 0.50607514, 0.15127525, 1)
|
|
alpha_curve = SubResource("CurveTexture_vvxqx")
|
|
hue_variation_min = -0.17000002
|
|
hue_variation_max = -0.06000002
|
|
turbulence_enabled = true
|
|
turbulence_noise_strength = 2.73
|
|
|
|
[node name="Background" type="Control"]
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
script = ExtResource("1_i7s6n")
|
|
|
|
[node name="Panel" type="Panel" parent="."]
|
|
modulate = Color(0, 0, 0, 1)
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
|
|
[node name="SwirlRect" type="ColorRect" parent="."]
|
|
material = SubResource("ShaderMaterial_splo0")
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
|
|
[node name="DustParticles" type="GPUParticles2D" parent="."]
|
|
unique_name_in_owner = true
|
|
position = Vector2(639, 360)
|
|
amount = 2000
|
|
texture = SubResource("GradientTexture2D_bpugw")
|
|
lifetime = 10.0
|
|
preprocess = 10.0
|
|
randomness = 1.0
|
|
local_coords = true
|
|
process_material = SubResource("ParticleProcessMaterial_cdpnt")
|