[gd_scene format=3 uid="uid://cwwsolupah1s3"] [ext_resource type="Texture2D" uid="uid://obwjornvl2m3" path="res://Textures/prototypeTextures/Green/texture_10.png" id="1_1p5hy"] [ext_resource type="PackedScene" uid="uid://cvipcpeglasek" path="res://Scenes/SimpleSocket.tscn" id="1_grg3l"] [ext_resource type="PackedScene" uid="uid://cpog4xqme7wqj" path="res://Scenes/Player.tscn" id="1_pbw6q"] [ext_resource type="PackedScene" uid="uid://cwtfq7o3hwlb3" path="res://Scenes/SimpleSlideDoor.tscn" id="2_frkhe"] [ext_resource type="PackedScene" uid="uid://dgre5brxnbps0" path="res://Scenes/MedievalDoor.tscn" id="3_jw32o"] [ext_resource type="Script" uid="uid://cvg1f1wtahy0t" path="res://TestScripts/BlockMover.gd" id="4_50glp"] [ext_resource type="PackedScene" uid="uid://cfheqck1xs2bs" path="res://Scenes/SimpleButton.tscn" id="5_vy5pj"] [ext_resource type="PackedScene" uid="uid://b0fqh430x23kp" path="res://Scenes/SimpleLever.tscn" id="6_v1gob"] [ext_resource type="PackedScene" uid="uid://cjqsmugd22cdh" path="res://Scenes/SimplePickupable.tscn" id="7_jw32o"] [ext_resource type="PackedScene" uid="uid://dknge5384ijcx" path="res://Scenes/SimpleKey.tscn" id="10_bmxlf"] [ext_resource type="Script" uid="uid://b143brnl7gf4f" path="res://Scripts/Pickupable.gd" id="11_4kpch"] [ext_resource type="PackedScene" uid="uid://dby1rmvm843b0" path="res://Scenes/Wardrobe.tscn" id="13_frkhe"] [ext_resource type="Texture2D" uid="uid://b14x1ktdukdos" path="res://Textures/prototypeTextures/Orange/texture_10.png" id="15_h1m7h"] [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_h1m7h"] albedo_texture = ExtResource("1_1p5hy") uv1_triplanar = true [sub_resource type="BoxMesh" id="BoxMesh_1blfk"] size = Vector3(50, 0.1, 50) [sub_resource type="BoxShape3D" id="BoxShape3D_va8t4"] size = Vector3(50, 0.1, 50) [sub_resource type="Environment" id="Environment_1blfk"] [sub_resource type="BoxMesh" id="BoxMesh_fos0i"] [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_erwvk"] albedo_texture = ExtResource("15_h1m7h") uv1_scale = Vector3(2, 2, 2) [sub_resource type="SphereMesh" id="SphereMesh_1blfk"] [sub_resource type="SphereShape3D" id="SphereShape3D_1blfk"] [node name="Main" type="Node3D" unique_id=856459222] [node name="Floor" type="StaticBody3D" parent="." unique_id=268564877] collision_layer = 17 [node name="MeshInstance3D" type="MeshInstance3D" parent="Floor" unique_id=427946866] layers = 17 material_override = SubResource("StandardMaterial3D_h1m7h") mesh = SubResource("BoxMesh_1blfk") [node name="CollisionShape3D" type="CollisionShape3D" parent="Floor" unique_id=2109163521] shape = SubResource("BoxShape3D_va8t4") [node name="Player" parent="." unique_id=1270645855 instance=ExtResource("1_pbw6q")] [node name="WorldEnvironment" type="WorldEnvironment" parent="." unique_id=1880837933] environment = SubResource("Environment_1blfk") [node name="DirectionalLight3D" type="DirectionalLight3D" parent="." unique_id=2091686084] transform = Transform3D(1, 0, 0, 0, 0.326888, 0.9450631, 0, -0.9450631, 0.326888, 0, 28.631863, 43.110176) [node name="Block" type="Node3D" parent="." unique_id=1216126902] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -8.362265, 2.041253, 0) script = ExtResource("4_50glp") [node name="MeshInstance3D" type="MeshInstance3D" parent="Block" unique_id=492958743] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.53257275, 0) layers = 16385 mesh = SubResource("BoxMesh_fos0i") [node name="SimplePressButton" parent="." unique_id=1810741910 instance=ExtResource("5_vy5pj")] transform = Transform3D(0.5576158, 0, 0.83009917, 0, 1, 0, -0.83009917, 0, 0.5576158, -5.3408794, 1.7139747, -1.4288577) [node name="SimpleHoldButton" parent="." unique_id=506197337 instance=ExtResource("5_vy5pj")] transform = Transform3D(-0.10736252, 0, 0.99421996, 0, 1, 0, -0.99421996, 0, -0.10736252, -6.9503546, 1.7799978, 2.37957) holdMode = true [node name="SimpleLever" parent="." unique_id=2031608942 instance=ExtResource("6_v1gob")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.5557852, 1.6475947, -1.1587057) angleOff = 45.0 [node name="SimplePickupable" parent="." unique_id=650555678 instance=ExtResource("7_jw32o")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 5.011193, 10.622059) [node name="SimplePickupable2" parent="." unique_id=2110903933 instance=ExtResource("7_jw32o")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.798231, 3.3262725, 10.622059) [node name="SimplePickupable3" parent="." unique_id=2062232606 instance=ExtResource("7_jw32o")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.9931345, 3.3262725, 10.622059) bodyMass = 50.0 [node name="SimplePickupable4" parent="." unique_id=1419866814 instance=ExtResource("10_bmxlf")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.0351448, 3.2192059) [node name="HeavySphere" type="RigidBody3D" parent="." unique_id=51671641 node_paths=PackedStringArray("body")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.310133, 6.0430264) collision_layer = 9 collision_mask = 13 script = ExtResource("11_4kpch") body = NodePath(".") bodyMass = 100.0 [node name="MeshInstance3D" type="MeshInstance3D" parent="HeavySphere" unique_id=269584364] material_override = SubResource("StandardMaterial3D_erwvk") mesh = SubResource("SphereMesh_1blfk") [node name="CollisionShape3D" type="CollisionShape3D" parent="HeavySphere" unique_id=843818180] shape = SubResource("SphereShape3D_1blfk") [node name="MedievalDoor" parent="." unique_id=1143822269 instance=ExtResource("3_jw32o")] transform = Transform3D(1.469396, 0, -0.30145594, 0, 1.5000002, 0, 0.30145594, 0, 1.469396, 6.036614, -0.02157104, -4.8634887) [node name="SimpleSlideDoor" parent="." unique_id=1454415556 instance=ExtResource("2_frkhe")] transform = Transform3D(0.004632592, 0, -0.9999893, 0, 1, 0, 0.9999893, 0, 0.004632592, 9.271923, 0.049999237, 5.96936) [node name="SimpleSocket" parent="." unique_id=1835661048 instance=ExtResource("1_grg3l")] transform = Transform3D(1, 0, 0, 0, 0.6742996, 0.7384579, 0, -0.7384579, 0.6742996, -11.95581, 1.1145909, 3.0031586) [node name="Wardrobe" parent="." unique_id=1027127497 instance=ExtResource("13_frkhe")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -7.875393, 1.0720584, 7.4603643) [connection signal="pressed" from="SimplePressButton" to="Block" method="toggleMove"] [connection signal="held" from="SimpleHoldButton" to="Block" method="holdMove"] [connection signal="released" from="SimpleHoldButton" to="Block" method="releaseMove"]