pandemonium_demo_projects/3d/waypoints/main.tscn

134 lines
4.3 KiB
Plaintext

[gd_scene load_steps=17 format=2]
[ext_resource path="res://camera.gd" type="Script" id=1]
[ext_resource path="res://waypoint.tscn" type="PackedScene" id=2]
[ext_resource path="res://noto_sans_regular.ttf" type="DynamicFontData" id=3]
[sub_resource type="SpatialMaterial" id=1]
albedo_color = Color( 0.6, 0.564706, 0.423529, 1 )
[sub_resource type="CubeMesh" id=2]
material = SubResource( 1 )
size = Vector3( 16, 2, 16 )
[sub_resource type="SpatialMaterial" id=3]
albedo_color = Color( 0.788235, 0.788235, 0.788235, 1 )
[sub_resource type="CubeMesh" id=4]
material = SubResource( 3 )
size = Vector3( 4, 1.5, 4 )
[sub_resource type="SpatialMaterial" id=5]
albedo_color = Color( 0.25098, 0.470588, 0.996078, 1 )
[sub_resource type="CubeMesh" id=6]
material = SubResource( 5 )
size = Vector3( 1, 1, 1 )
[sub_resource type="SpatialMaterial" id=7]
albedo_color = Color( 0.435294, 0.917647, 0.380392, 1 )
[sub_resource type="CubeMesh" id=8]
material = SubResource( 7 )
size = Vector3( 1, 1, 1 )
[sub_resource type="SpatialMaterial" id=9]
albedo_color = Color( 0.862745, 0.764706, 0.12549, 1 )
[sub_resource type="CubeMesh" id=10]
material = SubResource( 9 )
size = Vector3( 1, 1, 1 )
[sub_resource type="SpatialMaterial" id=11]
albedo_color = Color( 0.996078, 0.266667, 0.25098, 1 )
[sub_resource type="CubeMesh" id=12]
material = SubResource( 11 )
size = Vector3( 1, 1, 1 )
[sub_resource type="DynamicFont" id=13]
font_data = ExtResource( 3 )
[node name="Main" type="Spatial"]
[node name="Camera" type="Camera" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 8 )
fov = 75.0
script = ExtResource( 1 )
[node name="Ground" type="MeshInstance" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1.5, 0 )
mesh = SubResource( 2 )
[node name="WhiteCube" type="MeshInstance" parent="."]
mesh = SubResource( 4 )
[node name="BlueCube" type="MeshInstance" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 5, 0, -5 )
mesh = SubResource( 6 )
[node name="WaypointAnchor" type="Position3D" parent="BlueCube"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0 )
[node name="Waypoint" parent="BlueCube/WaypointAnchor" instance=ExtResource( 2 )]
modulate = Color( 0.501961, 0.764706, 1, 1 )
text = "Blue Waypoint"
[node name="GreenCube" type="MeshInstance" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 5, 0, 5 )
mesh = SubResource( 8 )
[node name="WaypointAnchor" type="Position3D" parent="GreenCube"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0 )
[node name="Waypoint" parent="GreenCube/WaypointAnchor" instance=ExtResource( 2 )]
modulate = Color( 0.419608, 1, 0.427451, 1 )
text = "Green Waypoint"
[node name="YellowCube" type="MeshInstance" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -5, 0, 5 )
mesh = SubResource( 10 )
[node name="WaypointAnchor" type="Position3D" parent="YellowCube"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0 )
[node name="Waypoint" parent="YellowCube/WaypointAnchor" instance=ExtResource( 2 )]
modulate = Color( 1, 0.992157, 0.419608, 1 )
text = "Yellow Waypoint (non-sticky)"
sticky = false
[node name="RedCube" type="MeshInstance" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -5, 0, -5 )
mesh = SubResource( 12 )
[node name="WaypointAnchor" type="Position3D" parent="RedCube"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0 )
[node name="Waypoint" parent="RedCube/WaypointAnchor" instance=ExtResource( 2 )]
modulate = Color( 1, 0.466667, 0.427451, 1 )
text = "Red Waypoint"
[node name="DirectionalLight" type="DirectionalLight" parent="."]
transform = Transform( -0.642788, -0.383022, 0.663414, 0, 0.866025, 0.5, -0.766044, 0.321394, -0.556671, 0, 6, -9 )
light_energy = 0.9
shadow_enabled = true
shadow_bias = 0.06
directional_shadow_blend_splits = true
directional_shadow_normal_bias = 0.0
directional_shadow_bias_split_scale = 0.7
directional_shadow_max_distance = 60.0
[node name="Label" type="Label" parent="."]
margin_left = 10.0
margin_top = 10.0
margin_right = 50.0
margin_bottom = 24.0
custom_colors/font_color_shadow = Color( 0, 0, 0, 0.501961 )
custom_constants/shadow_offset_x = 1
custom_constants/shadow_offset_y = 1
custom_fonts/font = SubResource( 13 )
text = "Press Esc or F10 to toggle mouse capture"
__meta__ = {
"_edit_use_anchors_": false
}