started working on room transition but its very janky, might just make it a basic resest?
This commit is contained in:
parent
52426368b1
commit
6c0bc9fbd6
6 changed files with 101 additions and 4 deletions
|
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=28 format=3 uid="uid://bojbawyoy11i4"]
|
||||
[gd_scene load_steps=29 format=3 uid="uid://bojbawyoy11i4"]
|
||||
|
||||
[ext_resource type="Script" path="res://Scripts/ChronoManager.gd" id="1_5b2rd"]
|
||||
[ext_resource type="Material" uid="uid://cr4ra7ijk1uec" path="res://Assets/Materials/floor.tres" id="2_0aj3l"]
|
||||
|
|
@ -11,6 +11,7 @@
|
|||
[ext_resource type="Texture2D" uid="uid://dd150xco2ee5q" path="res://Assets/Textures/cobalt_stone_4.png" id="7_qjeey"]
|
||||
[ext_resource type="PackedScene" uid="uid://cq4rfdsc5kghr" path="res://Commands/command_pedestal.tscn" id="10_sghta"]
|
||||
[ext_resource type="Texture2D" uid="uid://vc7wwv4wgabf" path="res://Commands/jump.png" id="10_x6wpo"]
|
||||
[ext_resource type="AudioStream" uid="uid://jm6vo1vxrlyx" path="res://Assets/62986__radian__chime-0011.wav" id="12_bm4h4"]
|
||||
|
||||
[sub_resource type="BoxMesh" id="BoxMesh_21vdj"]
|
||||
material = ExtResource("2_0aj3l")
|
||||
|
|
@ -91,6 +92,7 @@ item/3/navigation_layers = 1
|
|||
background_mode = 1
|
||||
background_color = Color(1, 1, 1, 1)
|
||||
ambient_light_energy = 0.5
|
||||
fog_enabled = true
|
||||
fog_light_color = Color(0.403903, 7.64076e-07, 2.40654e-08, 1)
|
||||
fog_density = 0.0
|
||||
fog_sky_affect = 0.0
|
||||
|
|
@ -106,12 +108,15 @@ material = SubResource("StandardMaterial3D_itc1d")
|
|||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_y4l56"]
|
||||
|
||||
[node name="ChronoManager" type="Node3D" node_paths=PackedStringArray("gui", "pedestals")]
|
||||
[node name="ChronoManager" type="Node3D" node_paths=PackedStringArray("player", "gui", "pedestals", "chime_player", "world_env")]
|
||||
script = ExtResource("1_5b2rd")
|
||||
pedestal_off_mat = ExtResource("2_0aj3l")
|
||||
pedestal_on_mat = ExtResource("3_mnhg8")
|
||||
player = NodePath("Player")
|
||||
gui = NodePath("Gui")
|
||||
pedestals = [NodePath("Pedestals/CommandPedestal"), NodePath("Pedestals/CommandPedestal2"), NodePath("Pedestals/CommandPedestal3"), NodePath("Pedestals/CommandPedestal4"), NodePath("Pedestals/CommandPedestal5"), NodePath("Pedestals/CommandPedestal6"), NodePath("Pedestals/CommandPedestal7"), NodePath("Pedestals/CommandPedestal8"), NodePath("Pedestals/CommandPedestal9"), NodePath("Pedestals/CommandPedestal10")]
|
||||
chime_player = NodePath("AudioStreamPlayer")
|
||||
world_env = NodePath("WorldEnvironment")
|
||||
|
||||
[node name="Player" parent="." instance=ExtResource("2_hsi55")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.12895, 0)
|
||||
|
|
@ -185,5 +190,8 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.5, 1, 2.5)
|
|||
[node name="CommandPedestal10" parent="Pedestals" instance=ExtResource("10_sghta")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.5, 1, 1.5)
|
||||
|
||||
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
|
||||
stream = ExtResource("12_bm4h4")
|
||||
|
||||
[connection signal="broadcast" from="." to="Player" method="_on_chrono_manager_broadcast"]
|
||||
[connection signal="object_clicked" from="Player" to="." method="_on_player_object_clicked"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue