]> Untitled Git - baabarian.git/blob - test.tscn
Added test scene, debug UI, and player
[baabarian.git] / test.tscn
1 [gd_scene load_steps=13 format=3 uid="uid://c1bxy5s8fvheq"]
2
3 [ext_resource type="Script" uid="uid://dpsqolvx3mdic" path="res://Scene.gd" id="1_6uqi0"]
4 [ext_resource type="PackedScene" uid="uid://ch6s2gvhi64uh" path="res://player.tscn" id="1_37kl0"]
5 [ext_resource type="PackedScene" uid="uid://bx83k2u0snfjc" path="res://cube.tscn" id="2_8uh7m"]
6 [ext_resource type="Script" uid="uid://dd3sep8kprktl" path="res://ux/debug_overlay.gd" id="2_g14j6"]
7 [ext_resource type="Script" uid="uid://mgg7ii0w4vod" path="res://ux/debug_stats.gd" id="2_ppyta"]
8 [ext_resource type="Script" uid="uid://bocc5xwqtbkbb" path="res://ux/debug_draw_3d.gd" id="4_vbegm"]
9
10 [sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_mf4mk"]
11 sky_horizon_color = Color(0.662243, 0.671743, 0.686743, 1)
12 ground_horizon_color = Color(0.662243, 0.671743, 0.686743, 1)
13
14 [sub_resource type="Sky" id="Sky_37kl0"]
15 sky_material = SubResource("ProceduralSkyMaterial_mf4mk")
16
17 [sub_resource type="Environment" id="Environment_8uh7m"]
18 background_mode = 2
19 sky = SubResource("Sky_37kl0")
20 tonemap_mode = 2
21 glow_enabled = true
22
23 [sub_resource type="PlaneMesh" id="PlaneMesh_mf4mk"]
24 size = Vector2(222, 222)
25
26 [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_37kl0"]
27 albedo_color = Color(0.133333, 0.278431, 0.133333, 1)
28
29 [sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_37kl0"]
30 data = PackedVector3Array(111, 0, 111, -111, 0, 111, 111, 0, -111, -111, 0, 111, -111, 0, -111, 111, 0, -111)
31
32 [node name="Test" type="Node3D"]
33 script = ExtResource("1_6uqi0")
34
35 [node name="debug" type="CanvasLayer" parent="."]
36 unique_name_in_owner = true
37 script = ExtResource("2_g14j6")
38
39 [node name="DebugStats" type="MarginContainer" parent="debug"]
40 offset_right = 40.0
41 offset_bottom = 40.0
42 theme_override_constants/margin_left = 5
43 theme_override_constants/margin_top = 5
44 theme_override_constants/margin_right = 5
45 theme_override_constants/margin_bottom = 5
46 script = ExtResource("2_ppyta")
47
48 [node name="VBoxContainer" type="VBoxContainer" parent="debug/DebugStats"]
49 layout_mode = 2
50
51 [node name="DebugDraw3D" type="Control" parent="debug"]
52 layout_mode = 3
53 anchors_preset = 0
54 offset_right = 40.0
55 offset_bottom = 40.0
56 script = ExtResource("4_vbegm")
57
58 [node name="WorldEnvironment" type="WorldEnvironment" parent="."]
59 environment = SubResource("Environment_8uh7m")
60
61 [node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
62 transform = Transform3D(1, 0, 0, 0, 0.499998, 0.866027, 0, -0.866027, 0.499998, 0, 0, 0)
63 shadow_enabled = true
64
65 [node name="MeshInstance3D" type="MeshInstance3D" parent="."]
66 mesh = SubResource("PlaneMesh_mf4mk")
67 surface_material_override/0 = SubResource("StandardMaterial3D_37kl0")
68
69 [node name="StaticBody3D" type="StaticBody3D" parent="MeshInstance3D"]
70
71 [node name="CollisionShape3D" type="CollisionShape3D" parent="MeshInstance3D/StaticBody3D"]
72 shape = SubResource("ConcavePolygonShape3D_37kl0")
73
74 [node name="player" parent="." instance=ExtResource("1_37kl0")]
75
76 [node name="Cube" parent="." instance=ExtResource("2_8uh7m")]
77 transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.297243, 0, 10.8886)
78
79 [node name="Cube2" parent="." instance=ExtResource("2_8uh7m")]
80 transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6.27809, -9.53674e-07, 6.40379)