diff options
Diffstat (limited to 'Stages/Wintermaul/Wintermaul.tscn')
-rw-r--r-- | Stages/Wintermaul/Wintermaul.tscn | 25 |
1 files changed, 23 insertions, 2 deletions
diff --git a/Stages/Wintermaul/Wintermaul.tscn b/Stages/Wintermaul/Wintermaul.tscn index bebc79c..c19a766 100644 --- a/Stages/Wintermaul/Wintermaul.tscn +++ b/Stages/Wintermaul/Wintermaul.tscn @@ -1,7 +1,9 @@ -[gd_scene load_steps=14 format=4 uid="uid://bl65jllb3e2py"] +[gd_scene load_steps=17 format=4 uid="uid://bl65jllb3e2py"] [ext_resource type="Script" path="res://Stages/Wintermaul/wintermaul.gd" id="1_o88ua"] +[ext_resource type="Shader" path="res://UI/sliding_background.gdshader" id="2_tom3b"] [ext_resource type="PackedScene" uid="uid://bylx30cweulmk" path="res://Stages/Wintermaul/HUD.tscn" id="2_v3f6l"] +[ext_resource type="Texture2D" uid="uid://drtbodnnqibxr" path="res://UI/Assets/background_pattern.png" id="3_6tlr4"] [ext_resource type="PackedScene" uid="uid://of5ggu6lifwy" path="res://Stages/Paths/Spawn.tscn" id="3_f2sda"] [ext_resource type="TileSet" uid="uid://0he3f625ne0k" path="res://Stages/Wintermaul/TileSet.tres" id="3_q7qd0"] [ext_resource type="PackedScene" uid="uid://2lt8m7df0e2u" path="res://Stages/Paths/Goal.tscn" id="5_dp16q"] @@ -12,6 +14,14 @@ [ext_resource type="PackedScene" uid="uid://cg16o7eqqha70" path="res://Game/States/Default/StateDefault.tscn" id="23_qknks"] [ext_resource type="PackedScene" uid="uid://bo5dp02vlui3l" path="res://Game/States/Build/StateBuild.tscn" id="24_yl2il"] +[sub_resource type="ShaderMaterial" id="ShaderMaterial_078bg"] +shader = ExtResource("2_tom3b") +shader_parameter/bg_color = Color(0, 0, 0, 1) +shader_parameter/pattern_color = Color(0.113725, 0.176471, 0.113725, 1) +shader_parameter/pattern_size = 256.0 +shader_parameter/speed = 0.05 +shader_parameter/pattern_sampler = ExtResource("3_6tlr4") + [sub_resource type="RectangleShape2D" id="RectangleShape2D_513n2"] size = Vector2(1581, 650) @@ -21,9 +31,20 @@ size = Vector2(1581, 648) [node name="World" type="Node2D"] script = ExtResource("1_o88ua") +[node name="Background" type="CanvasLayer" parent="."] +layer = -1 + +[node name="ColorRect" type="ColorRect" parent="Background"] +material = SubResource("ShaderMaterial_078bg") +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +color = Color(0, 0, 0, 1) + [node name="HUD" parent="." instance=ExtResource("2_v3f6l")] unique_name_in_owner = true -visible = true [node name="Map" type="TileMapLayer" parent="."] unique_name_in_owner = true |