X-Git-Url: http://git.purplebirdman.com/william-skin.git/blobdiff_plain/3b1bde10328fa48f1036205b9c5eb6cacb1b103a..c3805c44927b9c7945d932a4c602fbbf6cb0dcb8:/test/test.tscn diff --git a/test/test.tscn b/test/test.tscn index 1dfdf38..9346762 100644 --- a/test/test.tscn +++ b/test/test.tscn @@ -1,7 +1,9 @@ -[gd_scene load_steps=9 format=3 uid="uid://c0pxmaobqvkh4"] +[gd_scene load_steps=11 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"] +[ext_resource type="PackedScene" uid="uid://bmcw5a71lsldu" path="res://test/npc.tscn" id="4_ml58d"] [sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_whsn2"] sky_top_color = Color(0.418597, 0.461821, 0.5796, 1) @@ -38,16 +40,31 @@ transform = Transform3D(-0.866023, -0.433016, 0.250001, 0, 0.499998, 0.866027, - 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) + +[node name="NonPlayerCharacter" parent="." instance=ExtResource("4_ml58d")] +transform = Transform3D(0.868026, 0, 0.49652, 0, 1, 0, -0.49652, 0, 0.868026, -6.53488, 9.53674e-07, -0.682341) + +[connection signal="camera_lockon" from="player" to="." method="_on_player_camera_lockon"]