]> Untitled Git - william-skin.git/blobdiff - test/test.tscn
* Added face test animation
[william-skin.git] / test / test.tscn
index 11371fdd4452287771921dc49a23a07e059770fa..283ee17779776e5a5b1fb8391ae99393750424b7 100644 (file)
@@ -1,7 +1,23 @@
-[gd_scene load_steps=6 format=3 uid="uid://c0pxmaobqvkh4"]
+[gd_scene load_steps=10 format=3 uid="uid://c0pxmaobqvkh4"]
 
 [ext_resource type="PackedScene" uid="uid://cp6xm8gp6csx" path="res://player/player.tscn" id="1_apkq8"]
 [ext_resource type="Script" path="res://test/test.gd" id="1_qjknf"]
+[ext_resource type="PackedScene" uid="uid://bxitip7rpbna4" path="res://test/cube.tscn" id="3_3tdke"]
+
+[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_whsn2"]
+sky_top_color = Color(0.418597, 0.461821, 0.5796, 1)
+sky_horizon_color = Color(0.654649, 0.663122, 0.6899, 1)
+ground_bottom_color = Color(0.2, 0.190667, 0.18, 1)
+ground_horizon_color = Color(0.654649, 0.663122, 0.6899, 1)
+
+[sub_resource type="Sky" id="Sky_xb5an"]
+sky_material = SubResource("ProceduralSkyMaterial_whsn2")
+
+[sub_resource type="Environment" id="Environment_ji78h"]
+background_mode = 2
+sky = SubResource("Sky_xb5an")
+tonemap_mode = 2
+glow_enabled = true
 
 [sub_resource type="PlaneMesh" id="PlaneMesh_w7hmo"]
 size = Vector2(20, 20)
@@ -15,21 +31,36 @@ data = PackedVector3Array(10, 0, 10, -10, 0, 10, 10, 0, -10, -10, 0, 10, -10, 0,
 [node name="Test" type="Node3D"]
 script = ExtResource("1_qjknf")
 
+[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
+environment = SubResource("Environment_ji78h")
+
 [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, 4.18999, 0)
 shadow_enabled = true
 
 [node name="player" parent="." instance=ExtResource("1_apkq8")]
-transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.200905, 0, 1.53554)
+transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.200905, 0, 9.10948)
+lockon_sensitivity = 10.0
 
 [node name="map" type="Node3D" parent="."]
 
-[node name="MeshInstance3D" type="MeshInstance3D" parent="map"]
+[node name="ground" type="MeshInstance3D" parent="map"]
 mesh = SubResource("PlaneMesh_w7hmo")
 skeleton = NodePath("../..")
 surface_material_override/0 = SubResource("StandardMaterial3D_hkn0r")
 
-[node name="StaticBody3D" type="StaticBody3D" parent="map/MeshInstance3D"]
+[node name="StaticBody3D" type="StaticBody3D" parent="map/ground"]
 
-[node name="CollisionShape3D" type="CollisionShape3D" parent="map/MeshInstance3D/StaticBody3D"]
+[node name="CollisionShape3D" type="CollisionShape3D" parent="map/ground/StaticBody3D"]
 shape = SubResource("ConcavePolygonShape3D_hby1n")
+
+[node name="Cube" parent="map" instance=ExtResource("3_3tdke")]
+transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.472321, 0, -1.71539)
+
+[node name="Cube2" parent="map" instance=ExtResource("3_3tdke")]
+transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6.22183, 0, -2.93469)
+
+[node name="Cube3" parent="map" instance=ExtResource("3_3tdke")]
+transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6.01348, 0, 0.883314)
+
+[connection signal="camera_lockon" from="player" to="." method="_on_player_camera_lockon"]