sparkygd/demo/demo.tscn

81 lines
2.6 KiB
Text
Raw Permalink Normal View History

[gd_scene load_steps=9 format=3 uid="uid://d20jwlre5rc5m"]
2025-09-03 18:24:08 -04:00
2025-09-04 15:01:53 -04:00
[ext_resource type="Script" uid="uid://cdk7y1rat3juk" path="res://demo/demo.gd" id="1_oeqrt"]
2025-09-03 18:24:08 -04:00
[ext_resource type="Texture2D" uid="uid://bruwqvb6qrsfn" path="res://demo/textures/untexture.png" id="1_ytiva"]
[ext_resource type="Script" uid="uid://tgj0rvn5wj8t" path="res://demo/hud.gd" id="6_onu7k"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_j5lb4"]
albedo_texture = ExtResource("1_ytiva")
uv1_scale = Vector3(100, 100, 100)
[sub_resource type="PlaneMesh" id="PlaneMesh_5hjng"]
material = SubResource("StandardMaterial3D_j5lb4")
size = Vector2(2000, 2000)
2025-09-03 18:24:08 -04:00
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_onu7k"]
[sub_resource type="Sky" id="Sky_s1s6j"]
sky_material = SubResource("ProceduralSkyMaterial_onu7k")
[sub_resource type="Environment" id="Environment_onvmd"]
background_mode = 2
sky = SubResource("Sky_s1s6j")
ambient_light_source = 3
ambient_light_color = Color(1, 1, 1, 1)
[node name="Demo" type="Node3D"]
2025-09-04 15:01:53 -04:00
script = ExtResource("1_oeqrt")
2025-09-03 18:24:08 -04:00
[node name="Ground" type="MeshInstance3D" parent="."]
mesh = SubResource("PlaneMesh_5hjng")
[node name="CanvasLayer" type="CanvasLayer" parent="."]
[node name="HUD" type="Control" parent="CanvasLayer"]
2025-09-03 18:24:08 -04:00
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("6_onu7k")
[node name="TAS_Label" type="Label" parent="CanvasLayer/HUD"]
layout_mode = 0
offset_right = 40.0
offset_bottom = 32.0
[node name="AOA_Label" type="Label" parent="CanvasLayer/HUD"]
layout_mode = 0
offset_top = 32.0
offset_right = 40.0
offset_bottom = 64.0
[node name="SideslipLabel" type="Label" parent="CanvasLayer/HUD"]
layout_mode = 0
offset_top = 64.0
offset_right = 40.0
offset_bottom = 96.0
[node name="RelativeVelocityLabel" type="Label" parent="CanvasLayer/HUD"]
layout_mode = 0
offset_top = 96.0
offset_right = 40.0
offset_bottom = 128.0
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_onvmd")
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(-4.37114e-08, -0.984808, 0.173648, 0, 0.173648, 0.984808, -1, 4.30473e-08, -7.5904e-09, 0, 0, 0)
[node name="MultiplayerSpawner" type="MultiplayerSpawner" parent="."]
_spawnable_scenes = PackedStringArray("uid://dcnk85lpgfq3t")
spawn_path = NodePath("../Players")
[node name="Players" type="Node3D" parent="."]
[node name="Camera3D" type="Camera3D" parent="."]
[connection signal="spawned" from="MultiplayerSpawner" to="." method="_on_multiplayer_spawner_spawned"]