OpenLiberty/scenes/map_test.tscn

60 lines
2 KiB
Text
Raw Permalink Normal View History

2022-11-14 23:02:08 +07:00
[gd_scene load_steps=7 format=3 uid="uid://db2eg3psv01ra"]
2022-11-14 22:44:38 +07:00
[ext_resource type="Script" uid="uid://bq4ba2ldahgty" path="res://scripts/map_test.gd" id="1_b8hlh"]
2022-11-14 22:44:38 +07:00
[ext_resource type="PackedScene" uid="uid://bnpk46c06o8ly" path="res://prefabs/to_menu/to_menu.tscn" id="2_butse"]
2024-08-15 19:25:32 -03:00
[ext_resource type="PackedScene" uid="uid://bt041qrw0l2bm" path="res://prefabs/fly_camera/fly_camera.tscn" id="3_850h8"]
2022-11-14 22:44:38 +07:00
2022-11-14 23:02:08 +07:00
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_eihtl"]
sky_horizon_color = Color(0.64625, 0.65575, 0.67075, 1)
ground_horizon_color = Color(0.64625, 0.65575, 0.67075, 1)
[sub_resource type="Sky" id="Sky_njxv5"]
sky_material = SubResource("ProceduralSkyMaterial_eihtl")
[sub_resource type="Environment" id="Environment_7d6in"]
background_mode = 2
sky = SubResource("Sky_njxv5")
tonemap_mode = 2
glow_enabled = true
2024-08-15 19:25:32 -03:00
[node name="map_test" type="Node3D"]
2022-11-14 22:44:38 +07:00
script = ExtResource("1_b8hlh")
2022-11-14 23:02:08 +07:00
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_7d6in")
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(-0.866023, -0.433016, 0.250001, 0, 0.499998, 0.866027, -0.500003, 0.749999, -0.43301, 0, 0, 0)
shadow_enabled = true
2022-11-14 22:44:38 +07:00
[node name="GUI" type="CanvasLayer" parent="."]
[node name="VBoxContainer" type="VBoxContainer" parent="GUI"]
anchors_preset = 5
anchor_left = 0.5
anchor_right = 0.5
offset_left = -111.0
offset_right = 111.0
offset_bottom = 66.0
grow_horizontal = 2
size_flags_horizontal = 4
size_flags_vertical = 4
[node name="top_bar" type="HBoxContainer" parent="GUI/VBoxContainer"]
layout_mode = 2
2022-11-14 22:44:38 +07:00
alignment = 1
[node name="to_menu" parent="GUI/VBoxContainer/top_bar" instance=ExtResource("2_butse")]
layout_mode = 2
2022-11-14 22:44:38 +07:00
[node name="Label" type="Label" parent="GUI/VBoxContainer/top_bar"]
layout_mode = 2
2022-11-14 22:44:38 +07:00
text = "Map loader test"
2022-11-20 04:07:41 +07:00
[node name="Label" type="Label" parent="GUI"]
offset_right = 40.0
offset_bottom = 23.0
text = "Press space to spawn Suzanne"
2022-11-14 23:02:08 +07:00
[node name="flycam" parent="." instance=ExtResource("3_850h8")]