project_teddy/scenes/mainmenu-background.tscn

66 lines
2.9 KiB
Text

[gd_scene load_steps=9 format=3 uid="uid://8lhdy8kiejvt"]
[ext_resource type="Script" path="res://scripts/mainmenu-background.gd" id="1_nn4qs"]
[ext_resource type="PackedScene" uid="uid://b3l10agcjfgdx" path="res://characters/teddy/model_glb/teddy.glb" id="2_mie3v"]
[ext_resource type="PackedScene" uid="uid://cyiyctp6y3n3x" path="res://scenes/mainmenu.tscn" id="3_bj3gc"]
[ext_resource type="ArrayMesh" uid="uid://cfsnb4hd7rws7" path="res://characters/Mr. Brown/0_SFusion.obj" id="5_44sv4"]
[ext_resource type="PackedScene" uid="uid://b02eb46bq4v2s" path="res://scenes/islands-map.tscn" id="5_ep6fx"]
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_5ejs4"]
sky_top_color = Color(1, 0.509804, 0.384314, 1)
sky_horizon_color = Color(0.572549, 0.427451, 0.380392, 1)
sky_energy_multiplier = 2.0
ground_horizon_color = Color(0.8, 0.669701, 0.629328, 1)
ground_curve = 1.00427
[sub_resource type="Sky" id="Sky_ddrwh"]
sky_material = SubResource("ProceduralSkyMaterial_5ejs4")
[sub_resource type="Environment" id="Environment_84qbp"]
background_mode = 2
sky = SubResource("Sky_ddrwh")
tonemap_mode = 2
glow_enabled = true
[node name="mainmenu-background" type="Node3D"]
script = ExtResource("1_nn4qs")
[node name="teddy2" parent="." instance=ExtResource("2_mie3v")]
transform = Transform3D(-0.213199, 0, -0.383958, 0, 0.439179, 0, 0.383958, 0, -0.213199, -3.89097, 7.54284, 53.0126)
[node name="teddy" parent="." instance=ExtResource("2_mie3v")]
transform = Transform3D(-0.213199, 0, -0.383958, 0, 0.439179, 0, 0.383958, 0, -0.213199, -1.31314, 7.5242, 47.2253)
[node name="mainmenu" parent="." instance=ExtResource("3_bj3gc")]
[node name="Camera3D" type="Camera3D" parent="."]
transform = Transform3D(-0.550189, 0, -0.83504, 0, 1, 0, 0.83504, 0, -0.550189, -26.8376, 15.6553, 37.7756)
[node name="Brown" type="MeshInstance3D" parent="."]
transform = Transform3D(0.0225339, 0, 0.0023044, 0, 0.0226514, 0, -0.0023044, 0, 0.0225339, 35.5504, 19.536, 58.6725)
visible = false
mesh = ExtResource("5_44sv4")
[node name="islands" parent="." instance=ExtResource("5_ep6fx")]
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(0.553392, -0.0290685, 0.832414, 0, 0.999391, 0.0348995, -0.832921, -0.0193131, 0.553054, 0, 0, 0)
light_color = Color(0.980392, 0.372549, 0.333333, 1)
shadow_enabled = true
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_84qbp")
[node name="eye_left" type="OmniLight3D" parent="."]
transform = Transform3D(0.198068, 0, 0.980188, 0, 1, 0, -0.980188, 0, 0.198068, 33.7271, 22.9874, 57.5761)
visible = false
light_color = Color(1, 0, 0, 1)
light_energy = 16.0
omni_range = 0.122
[node name="eye_right" type="OmniLight3D" parent="."]
transform = Transform3D(0.198068, 0, 0.980188, 0, 1, 0, -0.980188, 0, 0.198068, 33.62, 22.8856, 59.1944)
visible = false
light_color = Color(1, 0, 0, 1)
light_energy = 16.0
omni_range = 0.122