nieuwe safe

This commit is contained in:
2023-03-04 13:31:38 +01:00
parent 58fb2e6643
commit 3bb23ddfc9
5 changed files with 34 additions and 136 deletions
+33 -33
View File
@@ -6,7 +6,6 @@
[ext_resource type="PackedScene" uid="uid://4o2ljtcup5bo" path="res://Player.tscn" id="3_l7pp6"]
[ext_resource type="PackedScene" uid="uid://bmuy4jimpch1i" path="res://Objects/ladekast.tscn" id="4_23v8p"]
[ext_resource type="PackedScene" uid="uid://cpjo05ataob66" path="res://Objects/Painting.tscn" id="5_jk1xx"]
[ext_resource type="PackedScene" uid="uid://2wem3a0y4agb" path="res://Objects/Safe.tscn" id="6_3qx7f"]
[ext_resource type="PackedScene" uid="uid://b5rve73suh7fc" path="res://Objects/lichtkastje.tscn" id="7_ahvul"]
[ext_resource type="Shader" path="res://Shaders/Blacklight.gdshader" id="8_oclf0"]
[ext_resource type="PackedScene" uid="uid://bm3d233ul4asx" path="res://Objects/Slot.tscn" id="9_pjl12"]
@@ -19,6 +18,7 @@
[ext_resource type="AudioStream" uid="uid://csa4bd0pvp5as" path="res://Audio/pianomuziek.mp3" id="17_1cw2k"]
[ext_resource type="FontFile" uid="uid://ba6teo1asddxo" path="res://Fonts/Galimer-ExtraLight.ttf" id="17_7yj1s"]
[ext_resource type="PackedScene" uid="uid://d2run4kti7u53" path="res://GUI.tscn" id="19_3ubs2"]
[ext_resource type="PackedScene" uid="uid://bf6uq6xpt0xnc" path="res://Objects/ornate_safe.tscn" id="20_vp2w2"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_4hp81"]
transparency = 1
@@ -59,13 +59,6 @@ tonemap_mode = 3
ssao_enabled = true
volumetric_fog_density = 0.1529
[sub_resource type="CapsuleMesh" id="CapsuleMesh_0such"]
height = 3.703
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_tup4d"]
radius = 0.8
height = 4.5
[sub_resource type="ShaderMaterial" id="ShaderMaterial_fipcs"]
render_priority = 0
shader = ExtResource("8_oclf0")
@@ -77,6 +70,13 @@ depth = 0.01
[sub_resource type="BoxShape3D" id="BoxShape3D_r22qf"]
[sub_resource type="CapsuleMesh" id="CapsuleMesh_0such"]
height = 3.703
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_tup4d"]
radius = 0.8
height = 4.5
[node name="kamer" instance=ExtResource("1_50aco")]
script = ExtResource("2_m2v8w")
@@ -169,36 +169,20 @@ transform = Transform3D(-0.4, 0, -3.49691e-08, 0, 0.4, 0, 3.49691e-08, 0, -0.4,
[node name="Painting" parent="." index="8" instance=ExtResource("5_jk1xx")]
transform = Transform3D(1.19249e-08, 0, -1, 0, 1, 0, 1, 0, 1.19249e-08, 1.969, 0.214, 0.67903)
[node name="FlashLight" type="MeshInstance3D" parent="." index="9"]
transform = Transform3D(0.0965925, -0.0258819, -1.13134e-09, 0, -4.37114e-09, 0.1, -0.0258819, -0.0965925, -4.2222e-09, -1.21576, -0.391011, -1.00824)
mesh = SubResource("CapsuleMesh_0such")
skeleton = NodePath("../safe")
[node name="FlashLight" type="StaticBody3D" parent="FlashLight" index="0"]
transform = Transform3D(1, 0, 8.88178e-16, 0, 1, 7.10543e-15, 0, 0, 1, 0, 0, 0)
collision_layer = 2
[node name="CollisionShape3D" type="CollisionShape3D" parent="FlashLight/FlashLight" index="0"]
transform = Transform3D(1, 0, 8.88178e-16, 0, 1, -7.10543e-15, 0, 0, 1, 0, 0, 0)
shape = SubResource("CapsuleShape3D_tup4d")
[node name="safe" parent="." index="10" instance=ExtResource("6_3qx7f")]
transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, -1.50079, -0.0682462, -1.05664)
[node name="lichtkastje" parent="." index="11" instance=ExtResource("7_ahvul")]
[node name="lichtkastje" parent="." index="9" instance=ExtResource("7_ahvul")]
transform = Transform3D(-8.74228e-09, 0, 0.2, 0, 0.2, 0, -0.2, 0, -8.74228e-09, -1.01622, 0.0241756, 1.94583)
[node name="CombiCode" type="MeshInstance3D" parent="." index="12"]
[node name="CombiCode" type="MeshInstance3D" parent="." index="10"]
transform = Transform3D(0.709362, 0.443678, -0.547682, -5.96046e-08, 0.777026, 0.62947, 0.704845, -0.446522, 0.551192, 1.84123, -0.566121, -1.81842)
mesh = SubResource("TextMesh_pq3bq")
[node name="Slot" parent="." index="13" instance=ExtResource("9_pjl12")]
[node name="Slot" parent="." index="11" instance=ExtResource("9_pjl12")]
transform = Transform3D(-4.37114e-09, 0, 0.1, 0, 0.1, 0, -0.1, 0, -4.37114e-09, -1.95266, 0.0372345, 0.0309203)
[node name="redherring" parent="." index="14" instance=ExtResource("10_4kyam")]
[node name="redherring" parent="." index="12" instance=ExtResource("10_4kyam")]
transform = Transform3D(0.1, 0, 0, 0, 0.1, 0, 0, 0, 0.1, 1.9478, 0.1703, -1.05829)
[node name="desk_lamp_arm_01_1k" parent="." index="15" instance=ExtResource("11_dlgxa")]
[node name="desk_lamp_arm_01_1k" parent="." index="13" instance=ExtResource("11_dlgxa")]
transform = Transform3D(0.745232, 0, 0.666806, 0, 1, 0, -0.666806, 0, 0.745232, 1.63545, -0.479, 1.47139)
[node name="SpotLight3D" type="SpotLight3D" parent="desk_lamp_arm_01_1k" index="1"]
@@ -210,7 +194,7 @@ spot_range = 1.883
spot_attenuation = 0.0796601
spot_angle = 31.15
[node name="Einde" type="StaticBody3D" parent="." index="16"]
[node name="Einde" type="StaticBody3D" parent="." index="14"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0045743, -0.475192, 2.52917)
script = ExtResource("13_srhqr")
@@ -283,11 +267,27 @@ anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="Muziek" type="AudioStreamPlayer" parent="." index="17"]
[node name="Muziek" type="AudioStreamPlayer" parent="." index="15"]
stream = ExtResource("17_1cw2k")
volume_db = -6.191
autoplay = true
[node name="Gui" parent="." index="18" instance=ExtResource("19_3ubs2")]
[node name="Gui" parent="." index="16" instance=ExtResource("19_3ubs2")]
[connection signal="input_event" from="FlashLight/FlashLight" to="Player" method="_on_flash_light_input_event"]
[node name="ornate-safe" parent="." index="17" instance=ExtResource("20_vp2w2")]
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, -1.83233, 0.0452993, -1.22294)
[node name="FlashLight" type="MeshInstance3D" parent="ornate-safe" index="3"]
transform = Transform3D(0.0258819, 0.0965925, 4.2222e-09, 0, -4.37114e-09, 0.1, 0.0965925, -0.0258819, -1.13134e-09, 0.0133637, -0.12631, 0.0357572)
mesh = SubResource("CapsuleMesh_0such")
skeleton = NodePath("")
[node name="FlashLight" type="StaticBody3D" parent="ornate-safe/FlashLight" index="0"]
transform = Transform3D(1, 0, 8.88178e-16, 0, 1, 7.10543e-15, 0, 0, 1, 0, 0, 0)
collision_layer = 2
[node name="CollisionShape3D" type="CollisionShape3D" parent="ornate-safe/FlashLight/FlashLight" index="0"]
transform = Transform3D(1, 0, 8.88178e-16, 0, 1, -7.10543e-15, 0, 0, 1, 0, 0, 0)
shape = SubResource("CapsuleShape3D_tup4d")
[connection signal="input_event" from="ornate-safe/FlashLight/FlashLight" to="Player" method="_on_flash_light_input_event"]