Various updates

Flashlight, fog, letter shader, safe audio
This commit is contained in:
mark committed 2023-01-31 19:11:38 +01:00
1 parent 61a732a698
commit 9b7b25ff94
13 files changed
+162 -30

No files matched your search

BIN
View File
Binary file not shown.
+24
View File
@@ -0,0 +1,24 @@
[remap]
importer="wav"
type="AudioStreamWAV"
uid="uid://mi8fox007pdr"
path="res://.godot/imported/button.wav-5d926e4090a9ee9d761a7ef4b34912d7.sample"
[deps]
source_file="res://Audio/button.wav"
dest_files=["res://.godot/imported/button.wav-5d926e4090a9ee9d761a7ef4b34912d7.sample"]
[params]
force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=false
edit/normalize=false
edit/loop_mode=0
edit/loop_begin=0
edit/loop_end=-1
compress/mode=0
BIN
View File
Binary file not shown.
+24
View File
@@ -0,0 +1,24 @@
[remap]
importer="wav"
type="AudioStreamWAV"
uid="uid://c403ltk7lrae0"
path="res://.godot/imported/reset.wav-36f86b6021adc185635930bd7464724c.sample"
[deps]
source_file="res://Audio/reset.wav"
dest_files=["res://.godot/imported/reset.wav-36f86b6021adc185635930bd7464724c.sample"]
[params]
force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=false
edit/normalize=false
edit/loop_mode=0
edit/loop_begin=0
edit/loop_end=-1
compress/mode=0
+14 -14
View File
@@ -4,35 +4,35 @@
[sub_resource type="QuadMesh" id="QuadMesh_5kopn"]
[sub_resource type="Image" id="Image_5vstr"]
[sub_resource type="Image" id="Image_jg3ht"]
data = {
"data": PackedByteArray(255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, Line truncated
"data": PackedByteArray(255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, Line truncated
"format": "RedGreen",
"height": 640,
"height": 512,
"mipmaps": false,
"width": 640
"width": 512
}
[sub_resource type="ImageTexture" id="ImageTexture_p4wou"]
image = SubResource("Image_5vstr")
[sub_resource type="ImageTexture" id="ImageTexture_nw6s8"]
image = SubResource("Image_jg3ht")
[sub_resource type="Image" id="Image_euone"]
[sub_resource type="Image" id="Image_du1uc"]
data = {
"data": PackedByteArray(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0Line truncated
"data": PackedByteArray(255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255,Line truncated
"format": "RedGreen",
"height": 640,
"height": 512,
"mipmaps": false,
"width": 640
"width": 512
}
[sub_resource type="ImageTexture" id="ImageTexture_vjxxg"]
image = SubResource("Image_euone")
[sub_resource type="ImageTexture" id="ImageTexture_y5ysy"]
image = SubResource("Image_du1uc")
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_bey63"]
albedo_texture = SubResource("ImageTexture_p4wou")
albedo_texture = SubResource("ImageTexture_nw6s8")
emission_enabled = true
emission_energy_multiplier = 0.01
emission_texture = SubResource("ImageTexture_vjxxg")
emission_texture = SubResource("ImageTexture_y5ysy")
[sub_resource type="TorusMesh" id="TorusMesh_r5yhs"]
inner_radius = 0.875
+11 -1
View File
@@ -1,7 +1,9 @@
[gd_scene load_steps=7 format=3 uid="uid://2wem3a0y4agb"]
[gd_scene load_steps=9 format=3 uid="uid://2wem3a0y4agb"]
[ext_resource type="PackedScene" uid="uid://c37oos73shmdm" path="res://Objects/Meshes/safe.glb" id="1_1djbc"]
[ext_resource type="Script" path="res://Scripts/Safe.gd" id="2_mnk2b"]
[ext_resource type="AudioStream" uid="uid://mi8fox007pdr" path="res://Audio/button.wav" id="3_hu2uh"]
[ext_resource type="AudioStream" uid="uid://c403ltk7lrae0" path="res://Audio/reset.wav" id="4_npf4a"]
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_riq2x"]
data = PackedVector3Array(0, -1, -1, 0.1951, 1, -0.9808, 0, 1, -1, 0, -1, -1, 0.1951, -1, -0.9808, 0.1951, 1, -0.9808, 0.1951, -1, -0.9808, 0.3827, 1, -0.9239, 0.1951, 1, -0.9808, 0.1951, -1, -0.9808, 0.3827, -1, -0.9239, 0.3827, 1, -0.9239, 0.3827, -1, -0.9239, 0.5556, 1, -0.8315, 0.3827, 1, -0.9239, 0.3827, -1, -0.9239, 0.5556, -1, -0.8315, 0.5556, 1, -0.8315, 0.5556, -1, -0.8315, 0.7071, 1, -0.7071, 0.5556, 1, -0.8315, 0.5556, -1, -0.8315, 0.7071, -1, -0.7071, 0.7071, 1, -0.7071, 0.7071, -1, -0.7071, 0.8315, 1, -0.5556, 0.7071, 1, -0.7071, 0.7071, -1, -0.7071, 0.8315, -1, -0.5556, 0.8315, 1, -0.5556, 0.8315, -1, -0.5556, 0.9239, 1, -0.3827, 0.8315, 1, -0.5556, 0.8315, -1, -0.5556, 0.9239, -1, -0.3827, 0.9239, 1, -0.3827, 0.9239, -1, -0.3827, 0.9808, 1, -0.1951, 0.9239, 1, -0.3827, 0.9239, -1, -0.3827, 0.9808, -1, -0.1951, 0.9808, 1, -0.1951, 0.9808, -1, -0.1951, 1, 1, 0, 0.9808, 1, -0.1951, 0.9808, -1, -0.1951, 1, -1, 0, 1, 1, 0, 1, -1, 0, 0.9808, 1, 0.1951, 1, 1, 0, 1, -1, 0, 0.9808, -1, 0.1951, 0.9808, 1, 0.1951, 0.9808, -1, 0.1951, 0.9239, 1, 0.3827, 0.9808, 1, 0.1951, 0.9808, -1, 0.1951, 0.9239, -1, 0.3827, 0.9239, 1, 0.3827, 0.9239, -1, 0.3827, 0.8315, 1, 0.5556, 0.9239, 1, 0.3827, 0.9239, -1, 0.3827, 0.8315, -1, 0.5556, 0.8315, 1, 0.5556, 0.8315, -1, 0.5556, 0.7071, 1, 0.7071, 0.8315, 1, 0.5556, 0.8315, -1, 0.5556, 0.7071, -1, 0.7071, 0.7071, 1, 0.7071, 0.7071, -1, 0.7071, 0.5556, 1, 0.8315, 0.7071, 1, 0.7071, 0.7071, -1, 0.7071, 0.5556, -1, 0.8315, 0.5556, 1, 0.8315, 0.5556, -1, 0.8315, 0.3827, 1, 0.9239, 0.5556, 1, 0.8315, 0.5556, -1, 0.8315, 0.3827, -1, 0.9239, 0.3827, 1, 0.9239, 0.3827, -1, 0.9239, 0.1951, 1, 0.9808, 0.3827, 1, 0.9239, 0.3827, -1, 0.9239, 0.1951, -1, 0.9808, 0.1951, 1, 0.9808, 0.1951, -1, 0.9808, 0, 1, 1, 0.1951, 1, 0.9808, 0.1951, -1, 0.9808, 0, -1, 1, 0, 1, 1, 0, -1, 1, -0.1951, 1, 0.9808, 0, 1, 1, 0, -1, 1, -0.1951, -1, 0.9808, -0.1951, 1, 0.9808, -0.1951, -1, 0.9808, -0.3827, 1, 0.9239, -0.1951, 1, 0.9808, -0.1951, -1, 0.9808, -0.3827, -1, 0.9239, -0.3827, 1, 0.9239, -0.3827, -1, 0.9239, -0.5556, 1, 0.8315, -0.3827, 1, 0.9239, -0.3827, -1, 0.9239, -0.5556, -1, 0.8315, -0.5556, 1, 0.8315, -0.5556, -1, 0.8315, -0.7071, 1, 0.7071, -0.5556, 1, 0.8315, -0.5556, -1, 0.8315, -0.7071, -1, 0.7071, -0.7071, 1, 0.7071, -0.7071, -1, 0.7071, -0.8315, 1, 0.5556, -0.7071, 1, 0.7071, -0.7071, -1, 0.7071, -0.8315, -1, 0.5556, -0.8315, 1, 0.5556, -0.8315, -1, 0.5556, -0.9239, 1, 0.3827, -0.8315, 1, 0.5556, -0.8315, -1, 0.5556, -0.9239, -1, 0.3827, -0.9239, 1, 0.3827, -0.9239, -1, 0.3827, -0.9808, 1, 0.1951, -0.9239, 1, 0.3827, -0.9239, -1, 0.3827, -0.9808, -1, 0.1951, -0.9808, 1, 0.1951, -0.9808, -1, 0.1951, -1, 1, 0, -0.9808, 1, 0.1951, -0.9808, -1, 0.1951, -1, -1, 0, -1, 1, 0, -1, -1, 0, -0.9808, 1, -0.1951, -1, 1, 0, -1, -1, 0, -0.9808, -1, -0.1951, -0.9808, 1, -0.1951, -0.9808, -1, -0.1951, -0.9239, 1, -0.3827, -0.9808, 1, -0.1951, -0.9808, -1, -0.1951, -0.9239, -1, -0.3827, -0.9239, 1, -0.3827, -0.9239, -1, -0.3827, -0.8315, 1, -0.5556, -0.9239, 1, -0.3827, -0.9239, -1, -0.3827, -0.8315, -1, -0.5556, -0.8315, 1, -0.5556, -0.8315, -1, -0.5556, -0.7071, 1, -0.7071, -0.8315, 1, -0.5556, -0.8315, -1, -0.5556, -0.7071, -1, -0.7071, -0.7071, 1, -0.7071, -0.7071, -1, -0.7071, -0.5556, 1, -0.8315, -0.7071, 1, -0.7071, -0.7071, -1, -0.7071, -0.5556, -1, -0.8315, -0.5556, 1, -0.8315, -0.5556, -1, -0.8315, -0.3827, 1, -0.9239, -0.5556, 1, -0.8315, -0.5556, -1, -0.8315, -0.3827, -1, -0.9239, -0.3827, 1, -0.9239, 0.3827, 1, -0.9239, 0, 1, -1, 0.1951, 1, -0.9808, 0, 1, -1, -0.3827, 1, -0.9239, -0.1951, 1, -0.9808, -0.3827, 1, -0.9239, -0.7071, 1, -0.7071, -0.5556, 1, -0.8315, -0.7071, 1, -0.7071, -0.9239, 1, -0.3827, -0.8315, 1, -0.5556, -0.9239, 1, -0.3827, -1, 1, 0, -0.9808, 1, -0.1951, -1, 1, 0, -0.9239, 1, 0.3827, -0.9808, 1, 0.1951, -0.9239, 1, 0.3827, -0.7071, 1, 0.7071, -0.8315, 1, 0.5556, -0.7071, 1, 0.7071, -0.3827, 1, 0.9239, -0.5556, 1, 0.8315, -0.3827, 1, 0.9239, 0, 1, 1, -0.1951, 1, 0.9808, 0, 1, 1, 0.3827, 1, 0.9239, 0.1951, 1, 0.9808, 0.3827, 1, 0.9239, 0.7071, 1, 0.7071, 0.5556, 1, 0.8315, 0.7071, 1, 0.7071, 0.9239, 1, 0.3827, 0.8315, 1, 0.5556, 0.9239, 1, 0.3827, 1, 1, 0, 0.9808, 1, 0.1951, 1, 1, 0, 0.9239, 1, -0.3827, 0.9808, 1, -0.1951, 0.9239, 1, -0.3827, 0.7071, 1, -0.7071, 0.8315, 1, -0.5556, 0.7071, 1, -0.7071, 0.3827, 1, -0.9239, 0.5556, 1, -0.8315, 0.3827, 1, -0.9239, -0.3827, 1, -0.9239, 0, 1, -1, -0.3827, 1, -0.9239, -0.9239, 1, -0.3827, -0.7071, 1, -0.7071, -0.9239, 1, -0.3827, -0.9239, 1, 0.3827, -1, 1, 0, -0.9239, 1, 0.3827, -0.3827, 1, 0.9239, -0.7071, 1, 0.7071, -0.3827, 1, 0.9239, 0.3827, 1, 0.9239, 0, 1, 1, 0.3827, 1, 0.9239, 0.9239, 1, 0.3827, 0.7071, 1, 0.7071, 0.9239, 1, 0.3827, 0.9239, 1, -0.3827, 1, 1, 0, 0.9239, 1, -0.3827, 0.3827, 1, -0.9239, 0.7071, 1, -0.7071, 0.3827, 1, -0.9239, -0.9239, 1, -0.3827, -0.3827, 1, -0.9239, -0.9239, 1, -0.3827, -0.3827, 1, 0.9239, -0.9239, 1, 0.3827, -0.3827, 1, 0.9239, 0.9239, 1, 0.3827, 0.3827, 1, 0.9239, 0.9239, 1, 0.3827, Line truncated
@@ -38,6 +40,14 @@ shape = SubResource("ConcavePolygonShape3D_l0n2n")
[node name="CollisionShape3D" type="CollisionShape3D" parent="ButtonRight/Right" index="0"]
shape = SubResource("ConcavePolygonShape3D_dgxf4")
[node name="Button" type="AudioStreamPlayer" parent="." index="6"]
stream = ExtResource("3_hu2uh")
volume_db = -6.19
[node name="Reset" type="AudioStreamPlayer" parent="." index="7"]
stream = ExtResource("4_npf4a")
volume_db = -6.19
[connection signal="input_event" from="ButtonUp/Up" to="." method="_on_up_input_event"]
[connection signal="input_event" from="ButtonLeft/Left" to="." method="_on_left_input_event"]
[connection signal="input_event" from="ButtonDown/Down" to="." method="_on_down_input_event"]
+28 -6
View File
@@ -1,13 +1,35 @@
[gd_scene load_steps=3 format=3]
[gd_scene load_steps=4 format=3 uid="uid://bmqy37qumb7um"]
[ext_resource type="PackedScene" uid="uid://dv3a33uojtwi0" path="res://Objects/Meshes/tekst.glb" id="1_riskl"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_7mr2i"]
emission_enabled = true
emission = Color(1, 1, 1, 1)
emission_energy_multiplier = 0.05
[sub_resource type="Shader" id="Shader_qmlbg"]
code = "// NOTE: Shader automatically converted from Godot Engine 4.0.beta15's StandardMaterial3D.
shader_type spatial;
render_mode specular_disabled;
void light() {
float diff = LIGHT_COLOR.b - LIGHT_COLOR.g - LIGHT_COLOR.r;
if (diff > 0.5 && LIGHT_COLOR.b > LIGHT_COLOR.g && LIGHT_COLOR.b > LIGHT_COLOR.r) {
DIFFUSE_LIGHT += clamp(dot(NORMAL, LIGHT), 0.0, 1.0) * ATTENUATION * ALBEDO;
ALPHA = ATTENUATION;
}
}
void fragment() {
ALBEDO = vec3(0.4, 0.8, 1.0);
EMISSION = vec3(0.4, 0.8, 1.0);
ALPHA = 0.0;
}
"
[sub_resource type="ShaderMaterial" id="ShaderMaterial_q8ihn"]
render_priority = 0
shader = SubResource("Shader_qmlbg")
[node name="tekst" instance=ExtResource("1_riskl")]
[node name="Text" parent="." index="0"]
surface_material_override/0 = SubResource("StandardMaterial3D_7mr2i")
surface_material_override/0 = SubResource("ShaderMaterial_q8ihn")
+11 -2
View File
@@ -1,4 +1,4 @@
[gd_scene load_steps=5 format=3]
[gd_scene load_steps=5 format=3 uid="uid://4o2ljtcup5bo"]
[ext_resource type="Script" path="res://Scripts/Player.gd" id="1_jx17t"]
@@ -23,10 +23,19 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.8, 0)
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.4, 0)
fov = 60.0
[node name="Gun" type="MeshInstance3D" parent="Pivot/Camera"]
[node name="FlashLight" type="MeshInstance3D" parent="Pivot/Camera"]
transform = Transform3D(-4.37114e-08, 0, 1, -1, -4.37114e-08, -4.37114e-08, 4.37114e-08, -1, 1.91069e-15, 0.329452, -0.242565, -0.429142)
mesh = SubResource("CapsuleMesh_x6nb0")
[node name="SpotLight3D" type="SpotLight3D" parent="Pivot/Camera/FlashLight"]
transform = Transform3D(1, -1.64203e-15, 0, 0, -4.37114e-08, -1, 8.35188e-23, 1, -4.37114e-08, 0, -0.0445836, 0)
light_color = Color(0.345098, 0.764706, 1, 1)
light_volumetric_fog_energy = 100000.0
shadow_enabled = true
spot_range = 8.91
spot_angle = 15.0
spot_angle_attenuation = 3.13833
[node name="AudioListener3D" type="AudioListener3D" parent="Pivot/Camera"]
current = true
+27 -3
View File
@@ -1,11 +1,11 @@
[gd_scene load_steps=16 format=3 uid="uid://bybgy8p6uvnxy"]
[gd_scene load_steps=18 format=3 uid="uid://bybgy8p6uvnxy"]
[ext_resource type="PackedScene" path="res://Player.tscn" id="1_pmt73"]
[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="PackedScene" path="res://Objects/tekst.tscn" id="6_5og8x"]
[ext_resource type="PackedScene" uid="uid://bmqy37qumb7um" 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"]
@@ -30,6 +30,13 @@ ambient_light_source = 1
ssr_max_steps = 128
ssr_fade_out = 5.65685
glow_enabled = true
volumetric_fog_enabled = true
volumetric_fog_density = 0.01
volumetric_fog_anisotropy = 0.9
volumetric_fog_length = 16.0
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)
@@ -37,6 +44,12 @@ data = PackedVector3Array(-0.05, 0.05, 0.05, 0.05, 0.05, 0.05, -0.05, -0.05, 0.0
[sub_resource type="BoxMesh" id="BoxMesh_nilbs"]
size = Vector3(0.1, 0.1, 0.1)
[sub_resource type="CapsuleMesh" id="CapsuleMesh_3d1gr"]
height = 3.703
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_wr86f"]
data = PackedVector3Array(0, 1.8515, 0, 0, 1.8515, 0, 0, 1.8439, -0.0868, 0, 1.8515, 0, -0.0085, 1.8439, -0.0864, 0, 1.8439, -0.0868, 0, 1.8515, 0, 0, 1.8515, 0, -0.0085, 1.8439, -0.0864, 0, 1.8515, 0, -0.0169, 1.8439, -0.0852, -0.0085, 1.8439, -0.0864, 0, 1.8515, 0, 0, 1.8515, 0, -0.0169, 1.8439, -0.0852, 0, 1.8515, 0, -0.0252, 1.8439, -0.0831, -0.0169, 1.8439, -0.0852, 0, 1.8515, 0, 0, 1.8515, 0, -0.0252, 1.8439, -0.0831, 0, 1.8515, 0, -0.0332, 1.8439, -0.0802, -0.0252, 1.8439, -0.0831, 0, 1.8515, 0, 0, 1.8515, 0, -0.0332, 1.8439, -0.0802, 0, 1.8515, 0, -0.0409, 1.8439, -0.0766, -0.0332, 1.8439, -0.0802, 0, 1.8515, 0, 0, 1.8515, 0, -0.0409, 1.8439, -0.0766, 0, 1.8515, 0, -0.0482, 1.8439, -0.0722, -0.0409, 1.8439, -0.0766, 0, 1.8515, 0, 0, 1.8515, 0, -0.0482, 1.8439, -0.0722, 0, 1.8515, 0, -0.0551, 1.8439, -0.0671, -0.0482, 1.8439, -0.0722, 0, 1.8515, 0, 0, 1.8515, 0, -0.0551, 1.8439, -0.0671, 0, 1.8515, 0, -0.0614, 1.8439, -0.0614, -0.0551, 1.8439, -0.0671, 0, 1.8515, 0, 0, 1.8515, 0, -0.0614, 1.8439, -0.0614, 0, 1.8515, 0, -0.0671, 1.8439, -0.0551, -0.0614, 1.8439, -0.0614, 0, 1.8515, 0, 0, 1.8515, 0, -0.0671, 1.8439, -0.0551, 0, 1.8515, 0, -0.0722, 1.8439, -0.0482, -0.0671, 1.8439, -0.0551, 0, 1.8515, 0, 0, 1.8515, 0, -0.0722, 1.8439, -0.0482, 0, 1.8515, 0, -0.0766, 1.8439, -0.0409, -0.0722, 1.8439, -0.0482, 0, 1.8515, 0, 0, 1.8515, 0, -0.0766, 1.8439, -0.0409, 0, 1.8515, 0, -0.0802, 1.8439, -0.0332, -0.0766, 1.8439, -0.0409, 0, 1.8515, 0, 0, 1.8515, 0, -0.0802, 1.8439, -0.0332, 0, 1.8515, 0, -0.0831, 1.8439, -0.0252, -0.0802, 1.8439, -0.0332, 0, 1.8515, 0, 0, 1.8515, 0, -0.0831, 1.8439, -0.0252, 0, 1.8515, 0, -0.0852, 1.8439, -0.0169, -0.0831, 1.8439, -0.0252, 0, 1.8515, 0, 0, 1.8515, 0, -0.0852, 1.8439, -0.0169, 0, 1.8515, 0, -0.0864, 1.8439, -0.0085, -0.0852, 1.8439, -0.0169, 0, 1.8515, 0, 0, 1.8515, 0, -0.0864, 1.8439, -0.0085, 0, 1.8515, 0, -0.0868, 1.8439, 0, -0.0864, 1.8439, -0.0085, 0, 1.8515, 0, 0, 1.8515, 0, -0.0868, 1.8439, 0, 0, 1.8515, 0, -0.0864, 1.8439, 0.0085, -0.0868, 1.8439, 0, 0, 1.8515, 0, 0, 1.8515, 0, -0.0864, 1.8439, 0.0085, 0, 1.8515, 0, -0.0852, 1.8439, 0.0169, -0.0864, 1.8439, 0.0085, 0, 1.8515, 0, 0, 1.8515, 0, -0.0852, 1.8439, 0.0169, 0, 1.8515, 0, -0.0831, 1.8439, 0.0252, -0.0852, 1.8439, 0.0169, 0, 1.8515, 0, 0, 1.8515, 0, -0.0831, 1.8439, 0.0252, 0, 1.8515, 0, -0.0802, 1.8439, 0.0332, -0.0831, 1.8439, 0.0252, 0, 1.8515, 0, 0, 1.8515, 0, -0.0802, 1.8439, 0.0332, 0, 1.8515, 0, -0.0766, 1.8439, 0.0409, -0.0802, 1.8439, 0.0332, 0, 1.8515, 0, 0, 1.8515, 0, -0.0766, 1.8439, 0.0409, 0, 1.8515, 0, -0.0722, 1.8439, 0.0482, -0.0766, 1.8439, 0.0409, 0, 1.8515, 0, 0, 1.8515, 0, -0.0722, 1.8439, 0.0482, 0, 1.8515, 0, -0.0671, 1.8439, 0.0551, -0.0722, 1.8439, 0.0482, 0, 1.8515, 0, 0, 1.8515, 0, -0.0671, 1.8439, 0.0551, 0, 1.8515, 0, -0.0614, 1.8439, 0.0614, -0.0671, 1.8439, 0.0551, 0, 1.8515, 0, 0, 1.8515, 0, -0.0614, 1.8439, 0.0614, 0, 1.8515, 0, -0.0551, 1.8439, 0.0671, -0.0614, 1.8439, 0.0614, 0, 1.8515, 0, 0, 1.8515, 0, -0.0551, 1.8439, 0.0671, 0, 1.8515, 0, -0.0482, 1.8439, 0.0722, -0.0551, 1.8439, 0.0671, 0, 1.8515, 0, 0, 1.8515, 0, -0.0482, 1.8439, 0.0722, 0, 1.8515, 0, -0.0409, 1.8439, 0.0766, -0.0482, 1.8439, 0.0722, 0, 1.8515, 0, 0, 1.8515, 0, -0.0409, 1.8439, 0.0766, 0, 1.8515, 0, -0.0332, 1.8439, 0.0802, -0.0409, 1.8439, 0.0766, 0, 1.8515, 0, 0, 1.8515, 0, -0.0332, 1.8439, 0.0802, 0, 1.8515, 0, -0.0252, 1.8439, 0.0831, -0.0332, 1.8439, 0.0802, 0, 1.8515, 0, 0, 1.8515, 0, -0.0252, 1.8439, 0.0831, 0, 1.8515, 0, -0.0169, 1.8439, 0.0852, -0.0252, 1.8439, 0.0831, 0, 1.8515, 0, 0, 1.8515, 0, -0.0169, 1.8439, 0.0852, 0, 1.8515, 0, -0.0085, 1.8439, 0.0864, -0.0169, 1.8439, 0.0852, 0, 1.8515, 0, 0, 1.8515, 0, -0.0085, 1.8439, 0.0864, 0, 1.8515, 0, 0, 1.8439, 0.0868, -0.0085, 1.8439, 0.0864, 0, 1.8515, 0, 0, 1.8515, 0, 0, 1.8439, 0.0868, 0, 1.8515, 0, 0.0085, 1.8439, 0.0864, 0, 1.8439, 0.0868, 0, 1.8515, 0, 0, 1.8515, 0, 0.0085, 1.8439, 0.0864, 0, 1.8515, 0, 0.0169, 1.8439, 0.0852, 0.0085, 1.8439, 0.0864, 0, 1.8515, 0, 0, 1.8515, 0, 0.0169, 1.8439, 0.0852, 0, 1.8515, 0, 0.0252, 1.8439, 0.0831, 0.0169, 1.8439, 0.0852, 0, 1.8515, 0, 0, 1.8515, 0, 0.0252, 1.8439, 0.0831, 0, 1.8515, 0, 0.0332, 1.8439, 0.0802, 0.0252, 1.8439, 0.0831, 0, 1.8515, 0, 0, 1.8515, 0, 0.0332, 1.8439, 0.0802, 0, 1.8515, 0, 0.0409, 1.8439, 0.0766, 0.0332, 1.8439, 0.0802, 0, 1.8515, 0, 0, 1.8515, 0, 0.0409, 1.8439, 0.0766, 0, 1.8515, 0, 0.0482, 1.8439, 0.0722, 0.0409, 1.8439, 0.0766, 0, 1.8515, 0, 0, 1.8515, 0, 0.0482, 1.8439, 0.0722, 0, 1.8515, 0, 0.0551, 1.8439, 0.0671, 0.0482, 1.8439, 0.0722, 0, 1.8515, 0, 0, 1.8515, 0, 0.0551, 1.8439, 0.0671, 0, 1.8515, 0, 0.0614, 1.8439, 0.0614, 0.0551, 1.8439, 0.0671, 0, 1.8515, 0, 0, 1.8515, 0, 0.0614, 1.8439, 0.0614, 0, 1.8515, 0, 0.0671, 1.8439, 0.0551, 0.0614, 1.8439, 0.0614, 0, 1.8515, 0, 0, 1.8515, 0, 0.0671, 1.8439, 0.0551, 0, 1.8515, 0, 0.0722, 1.8439, 0.0482, 0.0671, 1.8439, 0.0551, 0, 1.8515, 0, 0, 1.8515, 0, 0.0722, 1.8439, 0.0482, 0, 1.8515, 0, 0.0766, 1.8439, 0.0Line truncated
[node name="Room" type="Node3D"]
[node name="Walls" type="MeshInstance3D" parent="."]
@@ -93,4 +106,15 @@ transform = Transform3D(0.2, 0, 0, 0, 0.2, 0, 0, 0, 0.2, -0.182896, 0.257219, 0.
[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)
[node name="FlashLight" type="MeshInstance3D" parent="safe"]
transform = Transform3D(0.266296, 0.138128, -0.00264013, 0, 0.00573306, 0.299945, 0.138153, -0.266248, 0.00508897, 0, -0.716513, 0)
mesh = SubResource("CapsuleMesh_3d1gr")
[node name="FlashLight" type="StaticBody3D" parent="safe/FlashLight"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="safe/FlashLight/FlashLight"]
shape = SubResource("ConcavePolygonShape3D_wr86f")
[connection signal="input_event" from="Lichtknopje" to="Lichtknopje" method="_on_input_event"]
[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"]
+1 -1
View File
@@ -1,7 +1,7 @@
@tool
extends Node3D
const SIZE = 3
const SIZE = 4
enum Direction {UP, RIGHT, DOWN, LEFT}
var sequence = []
+9
View File
@@ -3,6 +3,7 @@ extends CharacterBody3D
const WALK_SPEED = 5.0
const MOUSE_SENS = 0.002
var has_flashlight = false
var mouse_mode = 2
@@ -16,6 +17,8 @@ func _input(event):
elif event.is_action_pressed("mode"):
mouse_mode = mouse_mode ^ 1
Input.set_mouse_mode(mouse_mode)
elif event.is_action_pressed("alt") and has_flashlight:
$Pivot/Camera/FlashLight/SpotLight3D.visible = !$Pivot/Camera/FlashLight/SpotLight3D.visible
func _physics_process(delta):
if mouse_mode == 2:
@@ -24,3 +27,9 @@ func _physics_process(delta):
velocity.x = direction.x * WALK_SPEED
velocity.z = direction.z * WALK_SPEED
move_and_slide()
func _on_flash_light_input_event(camera, event, position, normal, shape_idx):
if event is InputEventMouseButton and event.is_action_pressed("interact"):
$Pivot/Camera/FlashLight.visible = true
has_flashlight = true
+8 -3
View File
@@ -10,6 +10,7 @@ func _ready():
bmat.emission_enabled = true
bmat.albedo_color = Color.LIGHT_SLATE_GRAY
bmat.emission = Color.LIGHT_BLUE
bmat.emission_intensity = 0.05
$ButtonUp.set_surface_override_material(0, bmat)
$ButtonLeft.set_surface_override_material(0, bmat)
$ButtonDown.set_surface_override_material(0, bmat)
@@ -17,10 +18,9 @@ func _ready():
func add_sequence_guess(dir):
if sequence[i] == dir:
print(".")
$Button.playing = true
i += 1
if (i == sequence.size()):
print("yay")
$Door.visible = false
$ButtonUp.visible = false
$ButtonDown.visible = false
@@ -28,7 +28,7 @@ func add_sequence_guess(dir):
$ButtonRight.visible = false
i = 0
else:
print("x")
$Reset.playing = true
i = 0
func _on_up_input_event(camera, event, position, normal, shape_idx):
@@ -46,3 +46,8 @@ func _on_down_input_event(camera, event, position, normal, shape_idx):
func _on_right_input_event(camera, event, position, normal, shape_idx):
if event is InputEventMouseButton and event.is_action_pressed("interact"):
add_sequence_guess(1)
func _on_flash_light_input_event(camera, event, position, normal, shape_idx):
if event is InputEventMouseButton and event.is_action_pressed("interact"):
$FlashLight.visible = false
+5
View File
@@ -57,3 +57,8 @@ mode={
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194306,"key_label":0,"unicode":0,"echo":false,"script":null)
]
}
alt={
"deadzone": 0.5,
"events": [Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"button_mask":0,"position":Vector2(0, 0),"global_position":Vector2(0, 0),"factor":1.0,"button_index":2,"pressed":false,"double_click":false,"script":null)
]
}