77 lines
3.1 KiB
Plaintext
77 lines
3.1 KiB
Plaintext
|
[gd_scene load_steps=11 format=3 uid="uid://c4l0mux3clidu"]
|
||
|
|
||
|
[ext_resource type="PackedScene" uid="uid://mpw3bd4hux2j" path="res://GameElements/player.tscn" id="1_s5ry8"]
|
||
|
[ext_resource type="Script" path="res://addons/phantom_camera/scripts/phantom_camera/phantom_camera_3d.gd" id="2_nwwev"]
|
||
|
[ext_resource type="Script" path="res://addons/phantom_camera/scripts/resources/tween_resource.gd" id="3_qkbne"]
|
||
|
[ext_resource type="Script" path="res://addons/phantom_camera/scripts/phantom_camera_host/phantom_camera_host.gd" id="4_h1fj3"]
|
||
|
|
||
|
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_k64yx"]
|
||
|
sky_horizon_color = Color(0.64625, 0.65575, 0.67075, 1)
|
||
|
ground_horizon_color = Color(0.64625, 0.65575, 0.67075, 1)
|
||
|
|
||
|
[sub_resource type="Sky" id="Sky_xu3o8"]
|
||
|
sky_material = SubResource("ProceduralSkyMaterial_k64yx")
|
||
|
|
||
|
[sub_resource type="Environment" id="Environment_qtpht"]
|
||
|
background_mode = 2
|
||
|
sky = SubResource("Sky_xu3o8")
|
||
|
tonemap_mode = 2
|
||
|
glow_enabled = true
|
||
|
|
||
|
[sub_resource type="PlaneMesh" id="PlaneMesh_7cj12"]
|
||
|
size = Vector2(10, 10)
|
||
|
|
||
|
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_dmtee"]
|
||
|
points = PackedVector3Array(-5, 0, -5, -5, 0, 5, 5, 0, -5, 5, 0, 5)
|
||
|
|
||
|
[sub_resource type="Resource" id="Resource_gfns7"]
|
||
|
script = ExtResource("3_qkbne")
|
||
|
duration = 1.0
|
||
|
transition = 0
|
||
|
ease = 2
|
||
|
|
||
|
[node name="Node3D" type="Node3D"]
|
||
|
|
||
|
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
||
|
environment = SubResource("Environment_qtpht")
|
||
|
|
||
|
[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, 0, 0)
|
||
|
shadow_enabled = true
|
||
|
|
||
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
|
||
|
mesh = SubResource("PlaneMesh_7cj12")
|
||
|
|
||
|
[node name="StaticBody3D" type="StaticBody3D" parent="MeshInstance3D"]
|
||
|
|
||
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="MeshInstance3D/StaticBody3D"]
|
||
|
shape = SubResource("ConvexPolygonShape3D_dmtee")
|
||
|
|
||
|
[node name="Player" parent="." node_paths=PackedStringArray("PlayerPhantomCam") instance=ExtResource("1_s5ry8")]
|
||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
|
||
|
PlayerPhantomCam = NodePath("../PlayerFollower")
|
||
|
|
||
|
[node name="Node3D" type="Node3D" parent="Player"]
|
||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
|
||
|
|
||
|
[node name="PlayerFollower" type="Node3D" parent="." node_paths=PackedStringArray("follow_target", "look_at_target")]
|
||
|
transform = Transform3D(0.993692, 0, 0, 0, 0.0384746, 0.999053, 0, -0.999249, 0.0384671, 0, 5.49485, 0.173069)
|
||
|
script = ExtResource("2_nwwev")
|
||
|
follow_mode = 6
|
||
|
follow_target = NodePath("../Player/Node3D")
|
||
|
look_at_mode = 2
|
||
|
look_at_target = NodePath("../Player")
|
||
|
tween_resource = SubResource("Resource_gfns7")
|
||
|
follow_damping = true
|
||
|
follow_damping_value = Vector3(0, 0.1, 0.1)
|
||
|
follow_distance = 3.5
|
||
|
spring_length = 3.5
|
||
|
|
||
|
[node name="Camera3D" type="Camera3D" parent="."]
|
||
|
transform = Transform3D(1, 0, 0, 0, 0.038475, 0.99926, 0, -0.99926, 0.038475, 0, 5.49485, 0.173069)
|
||
|
|
||
|
[node name="PhantomCameraHost" type="Node" parent="Camera3D"]
|
||
|
process_priority = 300
|
||
|
process_physics_priority = 300
|
||
|
script = ExtResource("4_h1fj3")
|