Files
escape/Room.tscn
T
2023-01-31 16:40:46 +01:00

97 lines
5.1 KiB
Plaintext

[gd_scene load_steps=16 format=3 uid="uid://bybgy8p6uvnxy"]
[ext_resource type="PackedScene" path="res://Player.tscn" id="1_pmt73"]
[ext_resource type="Script" path="res://Scripts/lichtknop.gd" id="2_gwtwo"]
[ext_resource type="AudioStream" uid="uid://dr8lncxad2pwm" path="res://Audio/click.wav" id="3_e26r5"]
[ext_resource type="PackedScene" uid="uid://bm3d233ul4asx" path="res://Objects/Slot.tscn" id="4_kvwvq"]
[ext_resource type="PackedScene" uid="uid://cpjo05ataob66" path="res://Objects/Painting.tscn" id="5_glq61"]
[ext_resource type="PackedScene" path="res://Objects/tekst.tscn" id="6_5og8x"]
[ext_resource type="PackedScene" uid="uid://2wem3a0y4agb" path="res://Objects/Safe.tscn" id="7_kfu4q"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_rahav"]
[sub_resource type="BoxMesh" id="BoxMesh_jo6fd"]
material = SubResource("StandardMaterial3D_rahav")
flip_faces = true
size = Vector3(4, 2, 4)
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_5jeew"]
data = PackedVector3Array(2, 1.25, 2, -2, 1.25, 2, -2, -1.25, 2, 2, -1.25, 2, 2, 1.25, 2, -2, -1.25, 2, -2, 1.25, -2, 2, 1.25, -2, 2, -1.25, -2, -2, -1.25, -2, -2, 1.25, -2, 2, -1.25, -2, 2, 1.25, -2, 2, 1.25, 2, 2, -1.25, 2, 2, -1.25, -2, 2, 1.25, -2, 2, -1.25, 2, -2, 1.25, 2, -2, 1.25, -2, -2, -1.25, -2, -2, -1.25, 2, -2, 1.25, 2, -2, -1.25, -2, -2, 1.25, 2, 2, 1.25, 2, 2, 1.25, -2, -2, 1.25, -2, -2, 1.25, 2, 2, 1.25, -2, 2, -1.25, 2, -2, -1.25, 2, -2, -1.25, -2, 2, -1.25, -2, 2, -1.25, 2, -2, -1.25, -2)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_fu6bs"]
albedo_color = Color(1, 0, 0.0470588, 1)
[sub_resource type="BoxMesh" id="BoxMesh_j4kk6"]
material = SubResource("StandardMaterial3D_fu6bs")
size = Vector3(0.5, 0.5, 0.2)
[sub_resource type="Environment" id="Environment_mkdd8"]
ambient_light_source = 1
ssr_max_steps = 128
ssr_fade_out = 5.65685
glow_enabled = true
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_rhkkr"]
data = PackedVector3Array(-0.05, 0.05, 0.05, 0.05, 0.05, 0.05, -0.05, -0.05, 0.05, 0.05, 0.05, 0.05, 0.05, -0.05, 0.05, -0.05, -0.05, 0.05, 0.05, 0.05, -0.05, -0.05, 0.05, -0.05, 0.05, -0.05, -0.05, -0.05, 0.05, -0.05, -0.05, -0.05, -0.05, 0.05, -0.05, -0.05, 0.05, 0.05, 0.05, 0.05, 0.05, -0.05, 0.05, -0.05, 0.05, 0.05, 0.05, -0.05, 0.05, -0.05, -0.05, 0.05, -0.05, 0.05, -0.05, 0.05, -0.05, -0.05, 0.05, 0.05, -0.05, -0.05, -0.05, -0.05, 0.05, 0.05, -0.05, -0.05, 0.05, -0.05, -0.05, -0.05, 0.05, 0.05, 0.05, -0.05, 0.05, 0.05, 0.05, 0.05, -0.05, -0.05, 0.05, 0.05, -0.05, 0.05, -0.05, 0.05, 0.05, -0.05, -0.05, -0.05, 0.05, 0.05, -0.05, 0.05, -0.05, -0.05, -0.05, 0.05, -0.05, 0.05, 0.05, -0.05, -0.05, -0.05, -0.05, -0.05)
[sub_resource type="BoxMesh" id="BoxMesh_nilbs"]
size = Vector3(0.1, 0.1, 0.1)
[node name="Room" type="Node3D"]
[node name="Walls" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.25, 0)
mesh = SubResource("BoxMesh_jo6fd")
[node name="StaticBody3D" type="StaticBody3D" parent="Walls"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Walls/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_5jeew")
[node name="Player" parent="." instance=ExtResource("1_pmt73")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0106132, -2.38419e-07, 0.313933)
[node name="RedBox" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.48039, 0.508301, -1.48253)
mesh = SubResource("BoxMesh_j4kk6")
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_mkdd8")
[node name="Lichtknopje" type="StaticBody3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.929229, 1.32078, -1.96962)
script = ExtResource("2_gwtwo")
[node name="CollisionShape3D" type="CollisionShape3D" parent="Lichtknopje"]
shape = SubResource("ConcavePolygonShape3D_rhkkr")
[node name="Audio" type="AudioStreamPlayer3D" parent="Lichtknopje"]
transform = Transform3D(-0.999706, 0, 0.0242578, 0, 1, 0, -0.0242578, 0, -0.999706, 0, 0, 0)
stream = ExtResource("3_e26r5")
unit_size = 1.0
[node name="Mesh" type="MeshInstance3D" parent="Lichtknopje"]
mesh = SubResource("BoxMesh_nilbs")
skeleton = NodePath("../..")
[node name="Light" type="OmniLight3D" parent="Lichtknopje"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.929229, -0.07078, 1.96962)
[node name="OmniLight3D2" type="OmniLight3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.25, 0)
light_energy = 0.01
[node name="Slot" parent="." instance=ExtResource("4_kvwvq")]
transform = Transform3D(-0.1, 0, -8.74228e-09, 0, 0.1, 0, 8.74228e-09, 0, -0.1, 0.708407, 1.26238, 2)
[node name="Painting" parent="." instance=ExtResource("5_glq61")]
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 1.98, 1.32576, 0)
[node name="tekst" parent="." instance=ExtResource("6_5og8x")]
transform = Transform3D(0.2, 0, 0, 0, 0.2, 0, 0, 0, 0.2, -0.182896, 0.257219, 0.0577565)
[node name="safe" parent="." instance=ExtResource("7_kfu4q")]
transform = Transform3D(0.3, 0, 0, 0, 0.3, 0, 0, 0, 0.3, -1.66055, 1.15536, -0.729811)
[connection signal="input_event" from="Lichtknopje" to="Lichtknopje" method="_on_input_event"]