Map changinbg

This commit is contained in:
2025-07-04 15:02:41 -05:00
parent 7ae9d534ab
commit 29ebb68215
14 changed files with 192 additions and 39 deletions

View File

@@ -1,13 +1,13 @@
[gd_scene load_steps=12 format=3 uid="uid://b16ysbx7ah03u"]
[gd_scene load_steps=14 format=3 uid="uid://b16ysbx7ah03u"]
[ext_resource type="PackedScene" uid="uid://d3rtd0ln7l2gr" path="res://scenes/maps/tundra/MapTundra.tscn" id="1_2gju5"]
[ext_resource type="Script" uid="uid://3uibvxplc48" path="res://scripts/map/Map.gd" id="1_xpysu"]
[ext_resource type="PackedScene" uid="uid://2ch34sio36nv" path="res://scenes/entities/Player.tscn" id="2_rlkm5"]
[ext_resource type="Script" uid="uid://csb0i132lcu0w" path="res://scripts/entities/MapCamera.gd" id="3_n77mx"]
[ext_resource type="PackedScene" uid="uid://bng2mc7fu5aik" path="res://scenes/entities/NPC.tscn" id="4_nb1wl"]
[ext_resource type="Script" uid="uid://chxpes3546yoj" path="res://scripts/cutscene/Cutscene.gd" id="5_m5dm6"]
[ext_resource type="Script" uid="uid://8updtj1mctra" path="res://scripts/cutscene/item/CutsceneText.gd" id="6_fws1a"]
[ext_resource type="PackedScene" uid="uid://cr6h3g15bf6ts" path="res://scenes/MapChangeInteract.tscn" id="8_epq12"]
[ext_resource type="PackedScene" uid="uid://bglgah2w61h7i" path="res://scenes/SceneTwo.tscn" id="9_u6bnu"]
[sub_resource type="Curve3D" id="Curve3D_n77mx"]
_data = {
@@ -23,11 +23,16 @@ _data = {
}
point_count = 4
[sub_resource type="BoxShape3D" id="BoxShape3D_u6bnu"]
size = Vector3(5.41431, 3.90259, 3.33496)
[sub_resource type="BoxShape3D" id="BoxShape3D_epq12"]
size = Vector3(2.02835, 3.23706, 2.64648)
size = Vector3(10.521, 3.90259, 3.33496)
[sub_resource type="BoxShape3D" id="BoxShape3D_yhikq"]
size = Vector3(5.41431, 3.90259, 2.43964)
[node name="TestScene" type="Node3D"]
script = ExtResource("1_xpysu")
[node name="MapTundra" parent="." instance=ExtResource("1_2gju5")]
@@ -40,7 +45,7 @@ interactType = 1
interactTexts = Array[String](["test"])
[node name="Camera3D" type="Camera3D" parent="." node_paths=PackedStringArray("targetFollow", "pathFollow", "pathMap")]
transform = Transform3D(-0.21122, -0.118491, 0.97023, 0, 0.992625, 0.121227, -0.977438, 0.0256055, -0.209663, 10.7276, 2.7398, 4.29238)
transform = Transform3D(-0.21122, -0.118492, 0.97023, 0, 0.992625, 0.121227, -0.977439, 0.0256054, -0.209662, 10.7276, 2.7398, 4.2924)
fov = 57.5
script = ExtResource("3_n77mx")
targetFollow = NodePath("../Player")
@@ -52,7 +57,7 @@ metadata/_custom_type_script = "uid://csb0i132lcu0w"
curve = SubResource("Curve3D_n77mx")
[node name="PathFollow3D" type="PathFollow3D" parent="PathCamera"]
transform = Transform3D(0.88952, 0.0050268, -0.456619, -0.0260721, 0.998736, -0.0397954, 0.455898, 0.0473081, 0.888652, 10.7276, 2.7398, 4.29238)
transform = Transform3D(0.88952, 0.00502652, -0.45662, -0.0260722, 0.998736, -0.0397962, 0.455898, 0.0473089, 0.888652, 10.7276, 2.7398, 4.2924)
progress = 10.6821
loop = false
@@ -76,8 +81,25 @@ metadata/_custom_type_script = "uid://8updtj1mctra"
[node name="MapChangeInteract" parent="." instance=ExtResource("8_epq12")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.63736, 0, 0.933406)
mapResource = ExtResource("9_u6bnu")
[node name="ChildOutsideScene" type="CollisionShape3D" parent="MapChangeInteract"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.589279, 1.69859, 0.859571)
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.96407, 1.69859, 0.859571)
shape = SubResource("BoxShape3D_u6bnu")
debug_color = Color(0.537255, 0.698039, 0, 1)
[node name="MapChangeInteract2" parent="." instance=ExtResource("8_epq12")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4.10542, 9.53674e-07, 24.2305)
[node name="ChildOutsideScene2" type="CollisionShape3D" parent="MapChangeInteract2"]
transform = Transform3D(0.991814, 0.000859021, -0.127689, -0.00103728, 0.999999, -0.0013296, 0.127687, 0.00145116, 0.991813, 4.8648, 2.03135, 0.51722)
shape = SubResource("BoxShape3D_epq12")
debug_color = Color(0.537255, 0.698039, 0, 1)
[node name="MapChangeInteract3" parent="." instance=ExtResource("8_epq12")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.63736, 0, 0.933406)
[node name="ChildOutsideScene" type="CollisionShape3D" parent="MapChangeInteract3"]
transform = Transform3D(0.840207, 0, -0.542266, 0, 1, 0, 0.542266, 0, 0.840207, 2.76805, 1.69859, -15.1128)
shape = SubResource("BoxShape3D_yhikq")
debug_color = Color(0.537255, 0.698039, 0, 1)