Transition
This commit is contained in:
@@ -38,10 +38,11 @@ point_count = 2
|
||||
[node name="Player" parent="." instance=ExtResource("2_rlkm5")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.06402, 1.54702, -2.35884)
|
||||
|
||||
[node name="NPC" parent="." node_paths=PackedStringArray("cutscene") instance=ExtResource("4_nb1wl")]
|
||||
[node name="NPC" parent="." node_paths=PackedStringArray("interactCamera") instance=ExtResource("4_nb1wl")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4.20455, 1.94676, -3.51349)
|
||||
interactType = 2
|
||||
cutscene = NodePath("../Cutscenes/TestCutscene")
|
||||
interactType = 1
|
||||
interactTexts = Array[String](["test"])
|
||||
interactCamera = NodePath("../TestChatCamera")
|
||||
|
||||
[node name="Camera3D" type="Camera3D" parent="." node_paths=PackedStringArray("targetFollow", "pathFollow", "pathMap")]
|
||||
transform = Transform3D(0.996991, 0.0418507, -0.0652558, 0, 0.841762, 0.539849, 0.0775229, -0.538225, 0.839228, 1.25757, 8.21861, 8.01254)
|
||||
@@ -52,6 +53,10 @@ pathFollow = NodePath("../PathCamera/PathFollow3D")
|
||||
pathMap = NodePath("../PathWorld")
|
||||
metadata/_custom_type_script = "uid://csb0i132lcu0w"
|
||||
|
||||
[node name="TestChatCamera" type="Camera3D" parent="."]
|
||||
transform = Transform3D(0.854722, 0.231437, -0.464637, 0, 0.895106, 0.445854, 0.519087, -0.381081, 0.765066, -6.8472, 4.22457, 0.61366)
|
||||
fov = 47.0
|
||||
|
||||
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
||||
environment = SubResource("Environment_m5dm6")
|
||||
|
||||
|
@@ -18,7 +18,6 @@ size = Vector3(0.705444, 0.680542, 1.17688)
|
||||
|
||||
[node name="Player" type="CharacterBody3D"]
|
||||
script = ExtResource("1_24gqh")
|
||||
metadata/_custom_type_script = "uid://c0by5m1upv57h"
|
||||
|
||||
[node name="Scripts" type="Node" parent="."]
|
||||
|
||||
@@ -26,9 +25,10 @@ metadata/_custom_type_script = "uid://c0by5m1upv57h"
|
||||
script = ExtResource("2_o7et6")
|
||||
player = NodePath("../..")
|
||||
|
||||
[node name="PlayerInteraction" type="Node" parent="Scripts" node_paths=PackedStringArray("interactableArea")]
|
||||
[node name="PlayerInteraction" type="Node" parent="Scripts" node_paths=PackedStringArray("interactableArea", "player")]
|
||||
script = ExtResource("3_24gqh")
|
||||
interactableArea = NodePath("../../InteractableArea")
|
||||
player = NodePath("../..")
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
shape = SubResource("CapsuleShape3D_2m2ha")
|
||||
|
20
scenes/singletons/Transition.tscn
Normal file
20
scenes/singletons/Transition.tscn
Normal file
@@ -0,0 +1,20 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://i4ukelrrsujw"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://iu3m73wtjlho" path="res://scripts/singletons/Transition.gd" id="1_isjic"]
|
||||
|
||||
[node name="Transition" type="Control"]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
script = ExtResource("1_isjic")
|
||||
|
||||
[node name="Overlay" type="ColorRect" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
Reference in New Issue
Block a user