141 lines
4.7 KiB
Text
141 lines
4.7 KiB
Text
[gd_scene load_steps=16 format=3 uid="uid://lrk2whqxl0w0"]
|
|
|
|
[ext_resource type="Script" uid="uid://c707s0tgd88pg" path="res://main.gd" id="1_ig7tw"]
|
|
[ext_resource type="Texture2D" uid="uid://crahyipmcudoy" path="res://ui/undo.png" id="3_lquwl"]
|
|
[ext_resource type="Texture2D" uid="uid://dyj5el5iro1cb" path="res://ui/redo.png" id="4_7mycd"]
|
|
[ext_resource type="Texture2D" uid="uid://cbb1q0usxd6ex" path="res://ui/restart.png" id="5_272bh"]
|
|
[ext_resource type="Shader" uid="uid://c7e17bwc7nrgt" path="res://ground.gdshader" id="5_lquwl"]
|
|
[ext_resource type="Texture2D" uid="uid://q6x7t05nx1d1" path="res://ui/rolltime-indicator.png" id="6_7mycd"]
|
|
[ext_resource type="Texture2D" uid="uid://b8kvn3kumc08s" path="res://ui/victory-indicator.png" id="7_272bh"]
|
|
|
|
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_1bvp3"]
|
|
sky_top_color = Color(0.467272, 0.753409, 0.87431, 1)
|
|
sky_horizon_color = Color(0.662243, 0.671743, 0.686743, 1)
|
|
ground_bottom_color = Color(0.200947, 0.396858, 0.21, 1)
|
|
ground_horizon_color = Color(0.538705, 0.699427, 0.772274, 1)
|
|
|
|
[sub_resource type="Sky" id="Sky_lquwl"]
|
|
sky_material = SubResource("ProceduralSkyMaterial_1bvp3")
|
|
|
|
[sub_resource type="Environment" id="Environment_7mycd"]
|
|
background_mode = 2
|
|
sky = SubResource("Sky_lquwl")
|
|
tonemap_mode = 2
|
|
|
|
[sub_resource type="Gradient" id="Gradient_lquwl"]
|
|
|
|
[sub_resource type="FastNoiseLite" id="FastNoiseLite_lquwl"]
|
|
noise_type = 3
|
|
domain_warp_frequency = 0.28
|
|
|
|
[sub_resource type="NoiseTexture2D" id="NoiseTexture2D_7mycd"]
|
|
invert = true
|
|
color_ramp = SubResource("Gradient_lquwl")
|
|
noise = SubResource("FastNoiseLite_lquwl")
|
|
|
|
[sub_resource type="ShaderMaterial" id="ShaderMaterial_lquwl"]
|
|
render_priority = 0
|
|
shader = ExtResource("5_lquwl")
|
|
shader_parameter/dims = Vector2(64, 64)
|
|
shader_parameter/light_color = Color(0.321254, 0.470959, 0.199863, 1)
|
|
shader_parameter/dark_color = Color(0.309804, 0.45098, 0.192157, 1)
|
|
shader_parameter/NOISE_PATTERN = SubResource("NoiseTexture2D_7mycd")
|
|
shader_parameter/noise_strength = 0.1
|
|
|
|
[sub_resource type="PlaneMesh" id="PlaneMesh_1bvp3"]
|
|
material = SubResource("ShaderMaterial_lquwl")
|
|
size = Vector2(64, 64)
|
|
|
|
[node name="Main" type="Node3D"]
|
|
script = ExtResource("1_ig7tw")
|
|
|
|
[node name="Sun" type="DirectionalLight3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 0.5, 0.866025, 0, -0.866025, 0.5, 0, 0, 0)
|
|
light_energy = 0.1
|
|
shadow_enabled = true
|
|
shadow_opacity = 0.75
|
|
|
|
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
|
environment = SubResource("Environment_7mycd")
|
|
|
|
[node name="Camera" type="Camera3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 20, 0)
|
|
fov = 30.0
|
|
|
|
[node name="Sound" type="AudioStreamPlayer" parent="."]
|
|
|
|
[node name="TopLeft" type="VisibleOnScreenNotifier3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, -0.5, 0, -0.25)
|
|
aabb = AABB(-0.25, 0, -0.25, 2, 2, 2)
|
|
|
|
[node name="BottomRight" type="VisibleOnScreenNotifier3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.25, 0, 0.25)
|
|
aabb = AABB(0, 0, 0, 2, 2, 2)
|
|
|
|
[node name="UndoButton" type="Button" parent="."]
|
|
offset_left = -5.0
|
|
offset_top = 1.0
|
|
offset_right = 101.0
|
|
offset_bottom = 115.0
|
|
focus_mode = 0
|
|
icon = ExtResource("3_lquwl")
|
|
flat = true
|
|
expand_icon = true
|
|
|
|
[node name="RedoButton" type="Button" parent="."]
|
|
offset_left = 108.0
|
|
offset_top = 3.0
|
|
offset_right = 226.0
|
|
offset_bottom = 113.0
|
|
focus_mode = 0
|
|
icon = ExtResource("4_7mycd")
|
|
flat = true
|
|
expand_icon = true
|
|
|
|
[node name="RestartButton" type="Button" parent="."]
|
|
visible = false
|
|
offset_left = 245.0
|
|
offset_top = 4.0
|
|
offset_right = 369.0
|
|
offset_bottom = 116.0
|
|
focus_mode = 0
|
|
icon = ExtResource("5_272bh")
|
|
flat = true
|
|
expand_icon = true
|
|
|
|
[node name="Clock" type="RichTextLabel" parent="."]
|
|
offset_left = 1063.0
|
|
offset_top = 28.0
|
|
offset_right = 1244.0
|
|
offset_bottom = 76.0
|
|
theme_override_font_sizes/normal_font_size = 32
|
|
fit_content = true
|
|
|
|
[node name="SlowmoIndicator" type="Label" parent="."]
|
|
offset_left = 1065.0
|
|
offset_top = 615.0
|
|
offset_right = 1150.0
|
|
offset_bottom = 659.0
|
|
text = "slowmo"
|
|
horizontal_alignment = 1
|
|
vertical_alignment = 1
|
|
|
|
[node name="Ground" type="MeshInstance3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.01, 0)
|
|
mesh = SubResource("PlaneMesh_1bvp3")
|
|
|
|
[node name="RolltimeIndicator" type="Sprite2D" parent="."]
|
|
modulate = Color(1, 1, 1, 0)
|
|
texture = ExtResource("6_7mycd")
|
|
centered = false
|
|
|
|
[node name="VictoryIndicator" type="Sprite2D" parent="."]
|
|
modulate = Color(0.796078, 0.639216, 0.0627451, 0)
|
|
z_index = 1
|
|
texture = ExtResource("7_272bh")
|
|
centered = false
|
|
|
|
[connection signal="pressed" from="UndoButton" to="." method="undo"]
|
|
[connection signal="pressed" from="RedoButton" to="." method="redo"]
|
|
[connection signal="pressed" from="RestartButton" to="." method="restart"]
|