]> Untitled Git - knight.git/blob - test/test.tscn
Player attributes now accessable
[knight.git] / test / test.tscn
1 [gd_scene load_steps=10 format=3 uid="uid://bvydwnbie3pv4"]
2
3 [ext_resource type="Script" path="res://test/test.gd" id="1_gmol0"]
4 [ext_resource type="PackedScene" uid="uid://chtr62feiltax" path="res://player/player.tscn" id="1_ytdba"]
5 [ext_resource type="PackedScene" uid="uid://dbthgkok84ru0" path="res://test/block.tscn" id="2_8u8xb"]
6
7 [sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_ohmka"]
8 sky_top_color = Color(0.0360979, 0.133006, 0.175678, 1)
9 sky_horizon_color = Color(0.542774, 0.569877, 0.606419, 1)
10 ground_bottom_color = Color(0.135, 0.1465, 0.25, 1)
11 ground_horizon_color = Color(0.542774, 0.569877, 0.606419, 1)
12
13 [sub_resource type="Sky" id="Sky_mganl"]
14 sky_material = SubResource("ProceduralSkyMaterial_ohmka")
15
16 [sub_resource type="Environment" id="Environment_7wa85"]
17 background_mode = 2
18 sky = SubResource("Sky_mganl")
19 tonemap_mode = 2
20 ssao_enabled = true
21 glow_enabled = true
22
23 [sub_resource type="PlaneMesh" id="PlaneMesh_dplfc"]
24 size = Vector2(40, 8.98)
25
26 [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_87x6o"]
27 albedo_color = Color(0.149763, 0.203291, 0.262937, 1)
28
29 [sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_73kmu"]
30 data = PackedVector3Array(20, 0, 4.49, -20, 0, 4.49, 20, 0, -4.49, -20, 0, 4.49, -20, 0, -4.49, 20, 0, -4.49)
31
32 [node name="Test" type="Node3D"]
33 script = ExtResource("1_gmol0")
34
35 [node name="WorldEnvironment" type="WorldEnvironment" parent="."]
36 environment = SubResource("Environment_7wa85")
37
38 [node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
39 transform = Transform3D(-0.866025, -0.433013, 0.25, 0, 0.5, 0.866025, -0.5, 0.75, -0.433013, 0, 0, 0)
40 light_color = Color(0.968627, 1, 0.913725, 1)
41 shadow_enabled = true
42
43 [node name="Player" parent="." instance=ExtResource("1_ytdba")]
44 transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.806743, 1.19209e-07, 0.147649)
45
46 [node name="map" type="Node3D" parent="."]
47
48 [node name="ground" type="MeshInstance3D" parent="map"]
49 mesh = SubResource("PlaneMesh_dplfc")
50 skeleton = NodePath("../..")
51 surface_material_override/0 = SubResource("StandardMaterial3D_87x6o")
52
53 [node name="StaticBody3D" type="StaticBody3D" parent="map/ground"]
54
55 [node name="CollisionShape3D" type="CollisionShape3D" parent="map/ground/StaticBody3D"]
56 shape = SubResource("ConcavePolygonShape3D_73kmu")
57
58 [node name="Block" parent="map" instance=ExtResource("2_8u8xb")]
59 transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.30582, 0, 0.134318)
60
61 [node name="Block2" parent="map" instance=ExtResource("2_8u8xb")]
62 transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5.94243, 1.91616, 0.268636)
63
64 [node name="Block3" parent="map" instance=ExtResource("2_8u8xb")]
65 transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.315662, -4.76837e-07, -3.10105)
66
67 [node name="Block4" parent="map" instance=ExtResource("2_8u8xb")]
68 transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.899326, 0, -2.69083)
69
70 [node name="Block5" parent="map" instance=ExtResource("2_8u8xb")]
71 transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.8697, 0, 3.31299)
72
73 [node name="Block6" parent="map" instance=ExtResource("2_8u8xb")]
74 transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.79621, 4.76837e-07, 3.0765)