ander lichtkastje. sleutel in de la

This commit is contained in:
2023-02-02 22:32:36 +01:00
parent 504e9501fa
commit 46897a2742
11 changed files with 211 additions and 37 deletions
+7 -33
View File
@@ -1,8 +1,6 @@
[gd_scene load_steps=22 format=3 uid="uid://dlj15vm6dahio"]
[gd_scene load_steps=18 format=3 uid="uid://dlj15vm6dahio"]
[ext_resource type="PackedScene" uid="uid://4o2ljtcup5bo" 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="Shader" path="res://Shaders/Blacklight.gdshader" id="7_agddp"]
@@ -10,6 +8,7 @@
[ext_resource type="PackedScene" uid="uid://cd3wfbyld8a5k" path="res://Objects/Dixiebak.tscn" id="8_fr0uk"]
[ext_resource type="PackedScene" uid="uid://bmuy4jimpch1i" path="res://Objects/ladekast.tscn" id="8_oqsh4"]
[ext_resource type="PackedScene" uid="uid://5iw01h08cchr" path="res://Objects/redherring.tscn" id="10_qul4r"]
[ext_resource type="PackedScene" uid="uid://b5rve73suh7fc" path="res://Objects/lichtkastje.tscn" id="11_ayjqu"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_rahav"]
@@ -39,17 +38,6 @@ volumetric_fog_detail_spread = 5.2233
volumetric_fog_sky_affect = 0.0
volumetric_fog_temporal_reprojection_enabled = false
[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="StandardMaterial3D" id="StandardMaterial3D_chkel"]
emission_enabled = true
emission = Color(0.376471, 0.435294, 0.72549, 1)
[sub_resource type="BoxMesh" id="BoxMesh_nilbs"]
material = SubResource("StandardMaterial3D_chkel")
size = Vector3(0.1, 0.1, 0.1)
[sub_resource type="CapsuleMesh" id="CapsuleMesh_3d1gr"]
height = 3.703
@@ -82,24 +70,8 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0106132, -2.38419e-07, 0.31
[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="Light" type="OmniLight3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.25, 0)
light_energy = 0.606
[node name="Slot" parent="." instance=ExtResource("4_kvwvq")]
@@ -138,6 +110,8 @@ transform = Transform3D(2.26464, 5.42931, -4.95637, -1.43552, 5.41298, 5.27357,
light_energy = 0.1
spot_angle = 25.0
[connection signal="input_event" from="Lichtknopje" to="Lichtknopje" method="_on_input_event"]
[node name="lichtkastje" parent="." instance=ExtResource("11_ayjqu")]
transform = Transform3D(2.38498e-09, 0, -0.2, 0, 0.2, 0, 0.2, 0, 2.38498e-09, -0.508201, 1.14343, -1.94739)
[connection signal="input_event" from="safe/FlashLight/FlashLight" to="Player" method="_on_flash_light_input_event"]
[connection signal="input_event" from="safe/FlashLight/FlashLight" to="safe" method="_on_flash_light_input_event"]