Files
mortal-maze-the-game/world/backgrounds/ashen_atmosphere.tscn
T

43 lines
1.3 KiB
Plaintext

[gd_scene load_steps=6 format=3]
[ext_resource type="Script" path="res://world/backgrounds/ashen_atmosphere.gd" id="script"]
[ext_resource type="Shader" path="res://world/backgrounds/ashen_atmosphere.gdshader" id="shader"]
[ext_resource type="Script" path="res://ui/editor_ui_visibility.gd" id="editor"]
[sub_resource type="ShaderMaterial" id="mist"]
resource_local_to_scene = true
shader = ExtResource("shader")
[sub_resource type="Gradient" id="fade"]
offsets = PackedFloat32Array(0, 0.15, 0.75, 1)
colors = PackedColorArray(1, 1, 1, 0, 1, 1, 1, 0.8, 1, 1, 1, 0.5, 1, 1, 1, 0)
[node name="AshenAtmosphere" type="CanvasLayer"]
layer = 70
script = ExtResource("script")
[node name="EditorVisibility" type="Node" parent="."]
script = ExtResource("editor")
[node name="Mist" type="ColorRect" parent="."]
material = SubResource("mist")
mouse_filter = 2
color = Color(1, 1, 1, 1)
[node name="Dust" type="CPUParticles2D" parent="."]
amount = 36
lifetime = 12.0
preprocess = 12.0
randomness = 0.65
emission_shape = 3
emission_rect_extents = Vector2(704, 396)
direction = Vector2(0.35, -1)
spread = 18.0
gravity = Vector2(0, 0)
initial_velocity_min = 3.0
initial_velocity_max = 8.0
scale_amount_min = 1.0
scale_amount_max = 2.0
color = Color(0.72, 0.60, 0.45, 0.38)
color_ramp = SubResource("fade")