Random combination code
This commit is contained in:
1 parent
e046ed821e
commit
75a9075694
6 files changed
+41
-73
No files matched your search
Binary file not shown.
@@ -1,30 +0,0 @@
|
|||||||
[remap]
|
|
||||||
|
|
||||||
importer="scene"
|
|
||||||
importer_version=1
|
|
||||||
type="PackedScene"
|
|
||||||
uid="uid://dv3a33uojtwi0"
|
|
||||||
path="res://.godot/imported/tekst.glb-5a5dc8db74b37318106f1ff67e5c8256.scn"
|
|
||||||
|
|
||||||
[deps]
|
|
||||||
|
|
||||||
source_file="res://Objects/Meshes/tekst.glb"
|
|
||||||
dest_files=["res://.godot/imported/tekst.glb-5a5dc8db74b37318106f1ff67e5c8256.scn"]
|
|
||||||
|
|
||||||
[params]
|
|
||||||
|
|
||||||
nodes/root_type="Node3D"
|
|
||||||
nodes/root_name="Scene Root"
|
|
||||||
nodes/apply_root_scale=true
|
|
||||||
nodes/root_scale=1.0
|
|
||||||
meshes/ensure_tangents=true
|
|
||||||
meshes/generate_lods=true
|
|
||||||
meshes/create_shadow_meshes=true
|
|
||||||
meshes/light_baking=1
|
|
||||||
meshes/lightmap_texel_size=0.2
|
|
||||||
skins/use_named_skins=true
|
|
||||||
animation/import=true
|
|
||||||
animation/fps=30
|
|
||||||
animation/trimming=false
|
|
||||||
import_script/path=""
|
|
||||||
_subresources={}
|
|
||||||
@@ -1,35 +0,0 @@
|
|||||||
[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="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("ShaderMaterial_q8ihn")
|
|
||||||
@@ -1,11 +1,11 @@
|
|||||||
[gd_scene load_steps=18 format=3 uid="uid://bybgy8p6uvnxy"]
|
[gd_scene load_steps=20 format=3 uid="uid://dlj15vm6dahio"]
|
||||||
|
|
||||||
[ext_resource type="PackedScene" uid="uid://4o2ljtcup5bo" 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="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="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://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" uid="uid://cpjo05ataob66" path="res://Objects/Painting.tscn" id="5_glq61"]
|
||||||
[ext_resource type="PackedScene" uid="uid://bmqy37qumb7um" path="res://Objects/tekst.tscn" id="6_5og8x"]
|
[ext_resource type="Shader" path="res://Shaders/Blacklight.gdshader" id="7_agddp"]
|
||||||
[ext_resource type="PackedScene" uid="uid://2wem3a0y4agb" path="res://Objects/Safe.tscn" id="7_kfu4q"]
|
[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="StandardMaterial3D" id="StandardMaterial3D_rahav"]
|
||||||
@@ -50,6 +50,15 @@ height = 3.703
|
|||||||
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_wr86f"]
|
[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
|
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
|
||||||
|
|
||||||
|
[sub_resource type="ShaderMaterial" id="ShaderMaterial_y08nn"]
|
||||||
|
render_priority = 0
|
||||||
|
shader = ExtResource("7_agddp")
|
||||||
|
|
||||||
|
[sub_resource type="TextMesh" id="TextMesh_jaaiy"]
|
||||||
|
material = SubResource("ShaderMaterial_y08nn")
|
||||||
|
text = "1984"
|
||||||
|
depth = 0.01
|
||||||
|
|
||||||
[node name="Room" type="Node3D"]
|
[node name="Room" type="Node3D"]
|
||||||
|
|
||||||
[node name="Walls" type="MeshInstance3D" parent="."]
|
[node name="Walls" type="MeshInstance3D" parent="."]
|
||||||
@@ -90,7 +99,7 @@ skeleton = NodePath("../..")
|
|||||||
[node name="Light" type="OmniLight3D" parent="Lichtknopje"]
|
[node name="Light" type="OmniLight3D" parent="Lichtknopje"]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.929229, -0.07078, 1.96962)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.929229, -0.07078, 1.96962)
|
||||||
|
|
||||||
[node name="OmniLight3D2" type="OmniLight3D" parent="."]
|
[node name="AmbiLight" type="OmniLight3D" parent="."]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.25, 0)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.25, 0)
|
||||||
light_energy = 0.01
|
light_energy = 0.01
|
||||||
|
|
||||||
@@ -100,9 +109,6 @@ transform = Transform3D(-0.1, 0, -8.74228e-09, 0, 0.1, 0, 8.74228e-09, 0, -0.1,
|
|||||||
[node name="Painting" parent="." instance=ExtResource("5_glq61")]
|
[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)
|
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")]
|
[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)
|
transform = Transform3D(0.3, 0, 0, 0, 0.3, 0, 0, 0, 0.3, -1.66055, 1.15536, -0.729811)
|
||||||
|
|
||||||
@@ -115,6 +121,10 @@ mesh = SubResource("CapsuleMesh_3d1gr")
|
|||||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="safe/FlashLight/FlashLight"]
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="safe/FlashLight/FlashLight"]
|
||||||
shape = SubResource("ConcavePolygonShape3D_wr86f")
|
shape = SubResource("ConcavePolygonShape3D_wr86f")
|
||||||
|
|
||||||
|
[node name="CombiCode" type="MeshInstance3D" parent="."]
|
||||||
|
transform = Transform3D(0.709362, -0.704845, -1.97442e-10, -4.37114e-08, -4.37114e-08, -1, 0.704845, 0.709362, -6.18169e-08, 1.36869, 2.24724, -1.40955)
|
||||||
|
mesh = SubResource("TextMesh_jaaiy")
|
||||||
|
|
||||||
[connection signal="input_event" from="Lichtknopje" to="Lichtknopje" method="_on_input_event"]
|
[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="Player" method="_on_flash_light_input_event"]
|
||||||
[connection signal="input_event" from="safe/FlashLight/FlashLight" to="safe" method="_on_flash_light_input_event"]
|
[connection signal="input_event" from="safe/FlashLight/FlashLight" to="safe" method="_on_flash_light_input_event"]
|
||||||
+5
-2
@@ -1,7 +1,10 @@
|
|||||||
extends Node3D
|
extends Node3D
|
||||||
|
|
||||||
|
var combination
|
||||||
|
|
||||||
func _ready():
|
func _ready():
|
||||||
pass
|
combination = randi() % 10000
|
||||||
|
$".."/CombiCode.mesh.text = str(combination)
|
||||||
|
|
||||||
func get_number():
|
func get_number():
|
||||||
return 1000 * $Body/"1"/Cylinder/StaticBody3D.number + \
|
return 1000 * $Body/"1"/Cylinder/StaticBody3D.number + \
|
||||||
@@ -13,6 +16,6 @@ func get_number():
|
|||||||
func _on_static_body_3d_input_event(camera, event, position, normal, shape_idx):
|
func _on_static_body_3d_input_event(camera, event, position, normal, shape_idx):
|
||||||
if event is InputEventMouseButton and event.is_action_pressed("interact"):
|
if event is InputEventMouseButton and event.is_action_pressed("interact"):
|
||||||
$Body/Knop/Audio.playing = true
|
$Body/Knop/Audio.playing = true
|
||||||
if get_number() == 1984:
|
if get_number() == combination:
|
||||||
$Lamp.light_color = Color.LIGHT_GREEN
|
$Lamp.light_color = Color.LIGHT_GREEN
|
||||||
$Congratulations.playing = true
|
$Congratulations.playing = true
|
||||||
@@ -0,0 +1,20 @@
|
|||||||
|
// 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;
|
||||||
|
}
|
||||||
Reference in new issue
Block a user