betere collision shapes, wat cleanup
This commit is contained in:
1 parent
7c5e3b9958
commit
8e6b0784e5
9 files changed
+46
-32
No files matched your search
+26
-13
@@ -1,4 +1,4 @@
|
|||||||
[gd_scene load_steps=10 format=3 uid="uid://2wem3a0y4agb"]
|
[gd_scene load_steps=11 format=3 uid="uid://2wem3a0y4agb"]
|
||||||
|
|
||||||
[ext_resource type="PackedScene" uid="uid://c37oos73shmdm" path="res://Objects/Meshes/safe.glb" id="1_1djbc"]
|
[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="Script" path="res://Scripts/Safe.gd" id="2_mnk2b"]
|
||||||
@@ -6,17 +6,20 @@
|
|||||||
[ext_resource type="AudioStream" uid="uid://c403ltk7lrae0" path="res://Audio/reset.wav" id="4_npf4a"]
|
[ext_resource type="AudioStream" uid="uid://c403ltk7lrae0" path="res://Audio/reset.wav" id="4_npf4a"]
|
||||||
[ext_resource type="AudioStream" uid="uid://d0bincgxhycg" path="res://Audio/doosje.wav" id="4_qd12a"]
|
[ext_resource type="AudioStream" uid="uid://d0bincgxhycg" path="res://Audio/doosje.wav" id="4_qd12a"]
|
||||||
|
|
||||||
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_sae2f"]
|
[sub_resource type="BoxShape3D" id="BoxShape3D_aljli"]
|
||||||
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
|
size = Vector3(2, 2, 2)
|
||||||
|
|
||||||
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_18are"]
|
[sub_resource type="SphereShape3D" id="SphereShape3D_md1id"]
|
||||||
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
|
radius = 1.75
|
||||||
|
|
||||||
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_8qvol"]
|
[sub_resource type="SphereShape3D" id="SphereShape3D_1tx7e"]
|
||||||
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
|
radius = 1.75
|
||||||
|
|
||||||
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_uryyy"]
|
[sub_resource type="SphereShape3D" id="SphereShape3D_f7rki"]
|
||||||
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
|
radius = 1.75
|
||||||
|
|
||||||
|
[sub_resource type="SphereShape3D" id="SphereShape3D_h6ph4"]
|
||||||
|
radius = 1.75
|
||||||
|
|
||||||
[node name="safe" instance=ExtResource("1_1djbc")]
|
[node name="safe" instance=ExtResource("1_1djbc")]
|
||||||
script = ExtResource("2_mnk2b")
|
script = ExtResource("2_mnk2b")
|
||||||
@@ -32,25 +35,35 @@ stream = ExtResource("4_qd12a")
|
|||||||
stream = ExtResource("4_npf4a")
|
stream = ExtResource("4_npf4a")
|
||||||
volume_db = -6.19
|
volume_db = -6.19
|
||||||
|
|
||||||
|
[node name="StaticBody3D" type="StaticBody3D" parent="Box" index="0"]
|
||||||
|
input_ray_pickable = false
|
||||||
|
|
||||||
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Box/StaticBody3D" index="0"]
|
||||||
|
shape = SubResource("BoxShape3D_aljli")
|
||||||
|
|
||||||
[node name="Down" type="StaticBody3D" parent="Door/ButtonDown" index="0"]
|
[node name="Down" type="StaticBody3D" parent="Door/ButtonDown" index="0"]
|
||||||
|
collision_layer = 2
|
||||||
|
|
||||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Door/ButtonDown/Down" index="0"]
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Door/ButtonDown/Down" index="0"]
|
||||||
shape = SubResource("ConcavePolygonShape3D_sae2f")
|
shape = SubResource("SphereShape3D_md1id")
|
||||||
|
|
||||||
[node name="Left" type="StaticBody3D" parent="Door/ButtonLeft" index="0"]
|
[node name="Left" type="StaticBody3D" parent="Door/ButtonLeft" index="0"]
|
||||||
|
collision_layer = 2
|
||||||
|
|
||||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Door/ButtonLeft/Left" index="0"]
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Door/ButtonLeft/Left" index="0"]
|
||||||
shape = SubResource("ConcavePolygonShape3D_18are")
|
shape = SubResource("SphereShape3D_1tx7e")
|
||||||
|
|
||||||
[node name="Right" type="StaticBody3D" parent="Door/ButtonRight" index="0"]
|
[node name="Right" type="StaticBody3D" parent="Door/ButtonRight" index="0"]
|
||||||
|
collision_layer = 2
|
||||||
|
|
||||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Door/ButtonRight/Right" index="0"]
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Door/ButtonRight/Right" index="0"]
|
||||||
shape = SubResource("ConcavePolygonShape3D_8qvol")
|
shape = SubResource("SphereShape3D_f7rki")
|
||||||
|
|
||||||
[node name="Up" type="StaticBody3D" parent="Door/ButtonUp" index="0"]
|
[node name="Up" type="StaticBody3D" parent="Door/ButtonUp" index="0"]
|
||||||
|
collision_layer = 2
|
||||||
|
|
||||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Door/ButtonUp/Up" index="0"]
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Door/ButtonUp/Up" index="0"]
|
||||||
shape = SubResource("ConcavePolygonShape3D_uryyy")
|
shape = SubResource("SphereShape3D_h6ph4")
|
||||||
|
|
||||||
[connection signal="input_event" from="Door/ButtonDown/Down" to="." method="_on_down_input_event"]
|
[connection signal="input_event" from="Door/ButtonDown/Down" to="." method="_on_down_input_event"]
|
||||||
[connection signal="input_event" from="Door/ButtonLeft/Left" to="." method="_on_left_input_event"]
|
[connection signal="input_event" from="Door/ButtonLeft/Left" to="." method="_on_left_input_event"]
|
||||||
|
|||||||
+5
-4
@@ -1,6 +1,6 @@
|
|||||||
[gd_scene load_steps=9 format=3 uid="uid://bm3d233ul4asx"]
|
[gd_scene load_steps=9 format=3 uid="uid://bm3d233ul4asx"]
|
||||||
|
|
||||||
[ext_resource type="PackedScene" path="res://Objects/combi.tscn" id="1_7rjc3"]
|
[ext_resource type="PackedScene" uid="uid://bgbv67hxphufl" path="res://Objects/combi.tscn" id="1_7rjc3"]
|
||||||
[ext_resource type="Script" path="res://Scripts/Slot.gd" id="1_ksddl"]
|
[ext_resource type="Script" path="res://Scripts/Slot.gd" id="1_ksddl"]
|
||||||
[ext_resource type="AudioStream" uid="uid://dr8lncxad2pwm" path="res://Audio/click.wav" id="3_pbq0q"]
|
[ext_resource type="AudioStream" uid="uid://dr8lncxad2pwm" path="res://Audio/click.wav" id="3_pbq0q"]
|
||||||
[ext_resource type="AudioStream" uid="uid://ib7k6myjnajr" path="res://Audio/congratulations.ogg" id="4_aojg2"]
|
[ext_resource type="AudioStream" uid="uid://ib7k6myjnajr" path="res://Audio/congratulations.ogg" id="4_aojg2"]
|
||||||
@@ -16,8 +16,8 @@ roughness = 0.67
|
|||||||
[sub_resource type="CapsuleMesh" id="CapsuleMesh_kkd31"]
|
[sub_resource type="CapsuleMesh" id="CapsuleMesh_kkd31"]
|
||||||
material = SubResource("StandardMaterial3D_pxfgr")
|
material = SubResource("StandardMaterial3D_pxfgr")
|
||||||
|
|
||||||
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_dec2n"]
|
[sub_resource type="BoxShape3D" id="BoxShape3D_v83up"]
|
||||||
data = PackedVector3Array(0, 1, 0, 0, 1, 0, 0, 0.9924, -0.0868, 0, 1, 0, -0.0085, 0.9924, -0.0864, 0, 0.9924, -0.0868, 0, 1, 0, 0, 1, 0, -0.0085, 0.9924, -0.0864, 0, 1, 0, -0.0169, 0.9924, -0.0852, -0.0085, 0.9924, -0.0864, 0, 1, 0, 0, 1, 0, -0.0169, 0.9924, -0.0852, 0, 1, 0, -0.0252, 0.9924, -0.0831, -0.0169, 0.9924, -0.0852, 0, 1, 0, 0, 1, 0, -0.0252, 0.9924, -0.0831, 0, 1, 0, -0.0332, 0.9924, -0.0802, -0.0252, 0.9924, -0.0831, 0, 1, 0, 0, 1, 0, -0.0332, 0.9924, -0.0802, 0, 1, 0, -0.0409, 0.9924, -0.0766, -0.0332, 0.9924, -0.0802, 0, 1, 0, 0, 1, 0, -0.0409, 0.9924, -0.0766, 0, 1, 0, -0.0482, 0.9924, -0.0722, -0.0409, 0.9924, -0.0766, 0, 1, 0, 0, 1, 0, -0.0482, 0.9924, -0.0722, 0, 1, 0, -0.0551, 0.9924, -0.0671, -0.0482, 0.9924, -0.0722, 0, 1, 0, 0, 1, 0, -0.0551, 0.9924, -0.0671, 0, 1, 0, -0.0614, 0.9924, -0.0614, -0.0551, 0.9924, -0.0671, 0, 1, 0, 0, 1, 0, -0.0614, 0.9924, -0.0614, 0, 1, 0, -0.0671, 0.9924, -0.0551, -0.0614, 0.9924, -0.0614, 0, 1, 0, 0, 1, 0, -0.0671, 0.9924, -0.0551, 0, 1, 0, -0.0722, 0.9924, -0.0482, -0.0671, 0.9924, -0.0551, 0, 1, 0, 0, 1, 0, -0.0722, 0.9924, -0.0482, 0, 1, 0, -0.0766, 0.9924, -0.0409, -0.0722, 0.9924, -0.0482, 0, 1, 0, 0, 1, 0, -0.0766, 0.9924, -0.0409, 0, 1, 0, -0.0802, 0.9924, -0.0332, -0.0766, 0.9924, -0.0409, 0, 1, 0, 0, 1, 0, -0.0802, 0.9924, -0.0332, 0, 1, 0, -0.0831, 0.9924, -0.0252, -0.0802, 0.9924, -0.0332, 0, 1, 0, 0, 1, 0, -0.0831, 0.9924, -0.0252, 0, 1, 0, -0.0852, 0.9924, -0.0169, -0.0831, 0.9924, -0.0252, 0, 1, 0, 0, 1, 0, -0.0852, 0.9924, -0.0169, 0, 1, 0, -0.0864, 0.9924, -0.0085, -0.0852, 0.9924, -0.0169, 0, 1, 0, 0, 1, 0, -0.0864, 0.9924, -0.0085, 0, 1, 0, -0.0868, 0.9924, 0, -0.0864, 0.9924, -0.0085, 0, 1, 0, 0, 1, 0, -0.0868, 0.9924, 0, 0, 1, 0, -0.0864, 0.9924, 0.0085, -0.0868, 0.9924, 0, 0, 1, 0, 0, 1, 0, -0.0864, 0.9924, 0.0085, 0, 1, 0, -0.0852, 0.9924, 0.0169, -0.0864, 0.9924, 0.0085, 0, 1, 0, 0, 1, 0, -0.0852, 0.9924, 0.0169, 0, 1, 0, -0.0831, 0.9924, 0.0252, -0.0852, 0.9924, 0.0169, 0, 1, 0, 0, 1, 0, -0.0831, 0.9924, 0.0252, 0, 1, 0, -0.0802, 0.9924, 0.0332, -0.0831, 0.9924, 0.0252, 0, 1, 0, 0, 1, 0, -0.0802, 0.9924, 0.0332, 0, 1, 0, -0.0766, 0.9924, 0.0409, -0.0802, 0.9924, 0.0332, 0, 1, 0, 0, 1, 0, -0.0766, 0.9924, 0.0409, 0, 1, 0, -0.0722, 0.9924, 0.0482, -0.0766, 0.9924, 0.0409, 0, 1, 0, 0, 1, 0, -0.0722, 0.9924, 0.0482, 0, 1, 0, -0.0671, 0.9924, 0.0551, -0.0722, 0.9924, 0.0482, 0, 1, 0, 0, 1, 0, -0.0671, 0.9924, 0.0551, 0, 1, 0, -0.0614, 0.9924, 0.0614, -0.0671, 0.9924, 0.0551, 0, 1, 0, 0, 1, 0, -0.0614, 0.9924, 0.0614, 0, 1, 0, -0.0551, 0.9924, 0.0671, -0.0614, 0.9924, 0.0614, 0, 1, 0, 0, 1, 0, -0.0551, 0.9924, 0.0671, 0, 1, 0, -0.0482, 0.9924, 0.0722, -0.0551, 0.9924, 0.0671, 0, 1, 0, 0, 1, 0, -0.0482, 0.9924, 0.0722, 0, 1, 0, -0.0409, 0.9924, 0.0766, -0.0482, 0.9924, 0.0722, 0, 1, 0, 0, 1, 0, -0.0409, 0.9924, 0.0766, 0, 1, 0, -0.0332, 0.9924, 0.0802, -0.0409, 0.9924, 0.0766, 0, 1, 0, 0, 1, 0, -0.0332, 0.9924, 0.0802, 0, 1, 0, -0.0252, 0.9924, 0.0831, -0.0332, 0.9924, 0.0802, 0, 1, 0, 0, 1, 0, -0.0252, 0.9924, 0.0831, 0, 1, 0, -0.0169, 0.9924, 0.0852, -0.0252, 0.9924, 0.0831, 0, 1, 0, 0, 1, 0, -0.0169, 0.9924, 0.0852, 0, 1, 0, -0.0085, 0.9924, 0.0864, -0.0169, 0.9924, 0.0852, 0, 1, 0, 0, 1, 0, -0.0085, 0.9924, 0.0864, 0, 1, 0, 0, 0.9924, 0.0868, -0.0085, 0.9924, 0.0864, 0, 1, 0, 0, 1, 0, 0, 0.9924, 0.0868, 0, 1, 0, 0.0085, 0.9924, 0.0864, 0, 0.9924, 0.0868, 0, 1, 0, 0, 1, 0, 0.0085, 0.9924, 0.0864, 0, 1, 0, 0.0169, 0.9924, 0.0852, 0.0085, 0.9924, 0.0864, 0, 1, 0, 0, 1, 0, 0.0169, 0.9924, 0.0852, 0, 1, 0, 0.0252, 0.9924, 0.0831, 0.0169, 0.9924, 0.0852, 0, 1, 0, 0, 1, 0, 0.0252, 0.9924, 0.0831, 0, 1, 0, 0.0332, 0.9924, 0.0802, 0.0252, 0.9924, 0.0831, 0, 1, 0, 0, 1, 0, 0.0332, 0.9924, 0.0802, 0, 1, 0, 0.0409, 0.9924, 0.0766, 0.0332, 0.9924, 0.0802, 0, 1, 0, 0, 1, 0, 0.0409, 0.9924, 0.0766, 0, 1, 0, 0.0482, 0.9924, 0.0722, 0.0409, 0.9924, 0.0766, 0, 1, 0, 0, 1, 0, 0.0482, 0.9924, 0.0722, 0, 1, 0, 0.0551, 0.9924, 0.0671, 0.0482, 0.9924, 0.0722, 0, 1, 0, 0, 1, 0, 0.0551, 0.9924, 0.0671, 0, 1, 0, 0.0614, 0.9924, 0.0614, 0.0551, 0.9924, 0.0671, 0, 1, 0, 0, 1, 0, 0.0614, 0.9924, 0.0614, 0, 1, 0, 0.0671, 0.9924, 0.0551, 0.0614, 0.9924, 0.0614, 0, 1, 0, 0, 1, 0, 0.0671, 0.9924, 0.0551, 0, 1, 0, 0.0722, 0.9924, 0.0482, 0.0671, 0.9924, 0.0551, 0, 1, 0, 0, 1, 0, 0.0722, 0.9924, 0.0482, 0, 1, 0, 0.0766, 0.9924, 0.0409, 0.0722, 0.9924, 0.0482, 0, 1, 0, 0, 1, 0, 0.0766, 0.9924, 0.0409, 0, 1, 0, 0.0802, 0.9924, 0.0332, 0.0766, 0.9924, 0.0409, 0, 1, 0, 0, 1, 0, 0.0802, 0.9924, 0.0332, 0, 1, 0, 0.0831, 0.9924, 0.0252, 0.0802, 0.9924, 0.0332, 0, 1, 0, 0, 1, 0, 0.0831, 0.9924, 0.0252, 0, 1, 0, 0.0852, 0.9924, 0.0169, 0.0831, 0.9924, 0.0252, 0, 1, 0, 0, 1, 0, 0.0852, 0.9924, 0.0169, 0, 1, 0, 0.0864, 0.9924, 0.0085, 0.0852, 0.9924, 0.0169, 0, 1, 0, 0, 1, 0, 0.0864, 0.9924, 0.0085, 0, 1, 0, 0.0868, 0.9924, 0, 0.0864, 0.9924, 0.0085, 0, 1, 0, 0, 1, 0, 0.0868, 0.9924, 0, 0, 1, 0, 0.0864, 0.9924, -0.0085, 0.0868, 0.9924, 0, 0, 1, 0, 0, 1, 0, 0.0864, 0.9924, -0Line truncated
|
size = Vector3(0.75, 1.75, 1)
|
||||||
|
|
||||||
[node name="Slot" type="Node3D"]
|
[node name="Slot" type="Node3D"]
|
||||||
script = ExtResource("1_ksddl")
|
script = ExtResource("1_ksddl")
|
||||||
@@ -42,9 +42,10 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.49363, 0, 0.131068)
|
|||||||
mesh = SubResource("CapsuleMesh_kkd31")
|
mesh = SubResource("CapsuleMesh_kkd31")
|
||||||
|
|
||||||
[node name="StaticBody3D" type="StaticBody3D" parent="Body/Knop"]
|
[node name="StaticBody3D" type="StaticBody3D" parent="Body/Knop"]
|
||||||
|
collision_layer = 2
|
||||||
|
|
||||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Body/Knop/StaticBody3D"]
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Body/Knop/StaticBody3D"]
|
||||||
shape = SubResource("ConcavePolygonShape3D_dec2n")
|
shape = SubResource("BoxShape3D_v83up")
|
||||||
|
|
||||||
[node name="Audio" type="AudioStreamPlayer" parent="Body/Knop"]
|
[node name="Audio" type="AudioStreamPlayer" parent="Body/Knop"]
|
||||||
stream = ExtResource("3_pbq0q")
|
stream = ExtResource("3_pbq0q")
|
||||||
|
|||||||
+5
-4
@@ -1,19 +1,20 @@
|
|||||||
[gd_scene load_steps=5 format=3]
|
[gd_scene load_steps=5 format=3 uid="uid://bgbv67hxphufl"]
|
||||||
|
|
||||||
[ext_resource type="PackedScene" uid="uid://bnvf3lw4nw6ar" path="res://Objects/Meshes/combi.glb" id="1_8m5ns"]
|
[ext_resource type="PackedScene" uid="uid://bnvf3lw4nw6ar" path="res://Objects/Meshes/combi.glb" id="1_8m5ns"]
|
||||||
[ext_resource type="Script" path="res://Scripts/comboslot.gd" id="2_h8o0h"]
|
[ext_resource type="Script" path="res://Scripts/comboslot.gd" id="2_h8o0h"]
|
||||||
[ext_resource type="AudioStream" uid="uid://di6nd8ms02gcq" path="res://Audio/shuffle.wav" id="3_pmwd1"]
|
[ext_resource type="AudioStream" uid="uid://di6nd8ms02gcq" path="res://Audio/shuffle.wav" id="3_pmwd1"]
|
||||||
|
|
||||||
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_7nn40"]
|
[sub_resource type="BoxShape3D" id="BoxShape3D_8hmon"]
|
||||||
data = PackedVector3Array(-0.5241, 0, -1, 0.5343, -0.1951, -0.9808, 0.5343, 0, -1, -0.5241, 0, -1, -0.5241, -0.1951, -0.9808, 0.5343, -0.1951, -0.9808, -0.5241, -0.1951, -0.9808, 0.5343, -0.3827, -0.9239, 0.5343, -0.1951, -0.9808, -0.5241, -0.1951, -0.9808, -0.5241, -0.3827, -0.9239, 0.5343, -0.3827, -0.9239, -0.5241, -0.3827, -0.9239, 0.5343, -0.5556, -0.8315, 0.5343, -0.3827, -0.9239, -0.5241, -0.3827, -0.9239, -0.5241, -0.5556, -0.8315, 0.5343, -0.5556, -0.8315, -0.5241, -0.5556, -0.8315, 0.5343, -0.7071, -0.7071, 0.5343, -0.5556, -0.8315, -0.5241, -0.5556, -0.8315, -0.5241, -0.7071, -0.7071, 0.5343, -0.7071, -0.7071, -0.5241, -0.7071, -0.7071, 0.5343, -0.8315, -0.5556, 0.5343, -0.7071, -0.7071, -0.5241, -0.7071, -0.7071, -0.5241, -0.8315, -0.5556, 0.5343, -0.8315, -0.5556, -0.5241, -0.8315, -0.5556, 0.5343, -0.9239, -0.3827, 0.5343, -0.8315, -0.5556, -0.5241, -0.8315, -0.5556, -0.5241, -0.9239, -0.3827, 0.5343, -0.9239, -0.3827, -0.5241, -0.9239, -0.3827, 0.5343, -0.9808, -0.1951, 0.5343, -0.9239, -0.3827, -0.5241, -0.9239, -0.3827, -0.5241, -0.9808, -0.1951, 0.5343, -0.9808, -0.1951, -0.5241, -0.9808, -0.1951, 0.5343, -1, 0, 0.5343, -0.9808, -0.1951, -0.5241, -0.9808, -0.1951, -0.5241, -1, 0, 0.5343, -1, 0, -0.5241, -1, 0, 0.5343, -0.9808, 0.1951, 0.5343, -1, 0, -0.5241, -1, 0, -0.5241, -0.9808, 0.1951, 0.5343, -0.9808, 0.1951, -0.5241, -0.9808, 0.1951, 0.5343, -0.9239, 0.3827, 0.5343, -0.9808, 0.1951, -0.5241, -0.9808, 0.1951, -0.5241, -0.9239, 0.3827, 0.5343, -0.9239, 0.3827, -0.5241, -0.9239, 0.3827, 0.5343, -0.8315, 0.5556, 0.5343, -0.9239, 0.3827, -0.5241, -0.9239, 0.3827, -0.5241, -0.8315, 0.5556, 0.5343, -0.8315, 0.5556, -0.5241, -0.8315, 0.5556, 0.5343, -0.7071, 0.7071, 0.5343, -0.8315, 0.5556, -0.5241, -0.8315, 0.5556, -0.5241, -0.7071, 0.7071, 0.5343, -0.7071, 0.7071, -0.5241, -0.7071, 0.7071, 0.5343, -0.5556, 0.8315, 0.5343, -0.7071, 0.7071, -0.5241, -0.7071, 0.7071, -0.5241, -0.5556, 0.8315, 0.5343, -0.5556, 0.8315, -0.5241, -0.5556, 0.8315, 0.5343, -0.3827, 0.9239, 0.5343, -0.5556, 0.8315, -0.5241, -0.5556, 0.8315, -0.5241, -0.3827, 0.9239, 0.5343, -0.3827, 0.9239, -0.5241, -0.3827, 0.9239, 0.5343, -0.1951, 0.9808, 0.5343, -0.3827, 0.9239, -0.5241, -0.3827, 0.9239, -0.5241, -0.1951, 0.9808, 0.5343, -0.1951, 0.9808, -0.5241, -0.1951, 0.9808, 0.5343, 0, 1, 0.5343, -0.1951, 0.9808, -0.5241, -0.1951, 0.9808, -0.5241, 0, 1, 0.5343, 0, 1, -0.5241, 0, 1, 0.5343, 0.1951, 0.9808, 0.5343, 0, 1, -0.5241, 0, 1, -0.5241, 0.1951, 0.9808, 0.5343, 0.1951, 0.9808, -0.5241, 0.1951, 0.9808, 0.5343, 0.3827, 0.9239, 0.5343, 0.1951, 0.9808, -0.5241, 0.1951, 0.9808, -0.5241, 0.3827, 0.9239, 0.5343, 0.3827, 0.9239, -0.5241, 0.3827, 0.9239, 0.5343, 0.5556, 0.8315, 0.5343, 0.3827, 0.9239, -0.5241, 0.3827, 0.9239, -0.5241, 0.5556, 0.8315, 0.5343, 0.5556, 0.8315, -0.5241, 0.5556, 0.8315, 0.5343, 0.7071, 0.7071, 0.5343, 0.5556, 0.8315, -0.5241, 0.5556, 0.8315, -0.5241, 0.7071, 0.7071, 0.5343, 0.7071, 0.7071, -0.5241, 0.7071, 0.7071, 0.5343, 0.8315, 0.5556, 0.5343, 0.7071, 0.7071, -0.5241, 0.7071, 0.7071, -0.5241, 0.8315, 0.5556, 0.5343, 0.8315, 0.5556, -0.5241, 0.8315, 0.5556, 0.5343, 0.9239, 0.3827, 0.5343, 0.8315, 0.5556, -0.5241, 0.8315, 0.5556, -0.5241, 0.9239, 0.3827, 0.5343, 0.9239, 0.3827, -0.5241, 0.9239, 0.3827, 0.5343, 0.9808, 0.1951, 0.5343, 0.9239, 0.3827, -0.5241, 0.9239, 0.3827, -0.5241, 0.9808, 0.1951, 0.5343, 0.9808, 0.1951, -0.5241, 0.9808, 0.1951, 0.5343, 1, 0, 0.5343, 0.9808, 0.1951, -0.5241, 0.9808, 0.1951, -0.5241, 1, 0, 0.5343, 1, 0, -0.5241, 1, 0, 0.5343, 0.9808, -0.1951, 0.5343, 1, 0, -0.5241, 1, 0, -0.5241, 0.9808, -0.1951, 0.5343, 0.9808, -0.1951, -0.5241, 0.9808, -0.1951, 0.5343, 0.9239, -0.3827, 0.5343, 0.9808, -0.1951, -0.5241, 0.9808, -0.1951, -0.5241, 0.9239, -0.3827, 0.5343, 0.9239, -0.3827, -0.5241, 0.9239, -0.3827, 0.5343, 0.8315, -0.5556, 0.5343, 0.9239, -0.3827, -0.5241, 0.9239, -0.3827, -0.5241, 0.8315, -0.5556, 0.5343, 0.8315, -0.5556, -0.5241, 0.8315, -0.5556, 0.5343, 0.7071, -0.7071, 0.5343, 0.8315, -0.5556, -0.5241, 0.8315, -0.5556, -0.5241, 0.7071, -0.7071, 0.5343, 0.7071, -0.7071, -0.5241, 0.7071, -0.7071, 0.5343, 0.5556, -0.8315, 0.5343, 0.7071, -0.7071, -0.5241, 0.7071, -0.7071, -0.5241, 0.5556, -0.8315, 0.5343, 0.5556, -0.8315, -0.5241, 0.5556, -0.8315, 0.5343, 0.3827, -0.9239, 0.5343, 0.5556, -0.8315, -0.5241, 0.5556, -0.8315, -0.5241, 0.3827, -0.9239, 0.5343, 0.3827, -0.9239, 0.5343, -0.3827, -0.9239, 0.5343, 0, -1, 0.5343, -0.1951, -0.9808, 0.5343, 0, -1, 0.5343, 0.3827, -0.9239, 0.5343, 0.1951, -0.9808, 0.5343, 0.3827, -0.9239, 0.5343, 0.7071, -0.7071, 0.5343, 0.5556, -0.8315, 0.5343, 0.7071, -0.7071, 0.5343, 0.9239, -0.3827, 0.5343, 0.8315, -0.5556, 0.5343, 0.9239, -0.3827, 0.5343, 1, 0, 0.5343, 0.9808, -0.1951, 0.5343, 1, 0, 0.5343, 0.9239, 0.3827, 0.5343, 0.9808, 0.1951, 0.5343, 0.9239, 0.3827, 0.5343, 0.7071, 0.7071, 0.5343, 0.8315, 0.5556, 0.5343, 0.7071, 0.7071, 0.5343, 0.3827, 0.9239, 0.5343, 0.5556, 0.8315, 0.5343, 0.3827, 0.9239, 0.5343, 0, 1, 0.5343, 0.1951,Line truncated
|
size = Vector3(1.3, 2, 2)
|
||||||
|
|
||||||
[node name="combi" instance=ExtResource("1_8m5ns")]
|
[node name="combi" instance=ExtResource("1_8m5ns")]
|
||||||
|
|
||||||
[node name="StaticBody3D" type="StaticBody3D" parent="Cylinder" index="0"]
|
[node name="StaticBody3D" type="StaticBody3D" parent="Cylinder" index="0"]
|
||||||
|
collision_layer = 2
|
||||||
script = ExtResource("2_h8o0h")
|
script = ExtResource("2_h8o0h")
|
||||||
|
|
||||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Cylinder/StaticBody3D" index="0"]
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Cylinder/StaticBody3D" index="0"]
|
||||||
shape = SubResource("ConcavePolygonShape3D_7nn40")
|
shape = SubResource("BoxShape3D_8hmon")
|
||||||
|
|
||||||
[node name="Audio" type="AudioStreamPlayer" parent="Cylinder/StaticBody3D" index="1"]
|
[node name="Audio" type="AudioStreamPlayer" parent="Cylinder/StaticBody3D" index="1"]
|
||||||
stream = ExtResource("3_pmwd1")
|
stream = ExtResource("3_pmwd1")
|
||||||
|
|||||||
@@ -2,12 +2,12 @@
|
|||||||
|
|
||||||
[ext_resource type="PackedScene" uid="uid://bjbpkdxe3m235" path="res://Objects/Meshes/ladekast.glb" id="1_gw865"]
|
[ext_resource type="PackedScene" uid="uid://bjbpkdxe3m235" path="res://Objects/Meshes/ladekast.glb" id="1_gw865"]
|
||||||
|
|
||||||
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_oani2"]
|
[sub_resource type="BoxShape3D" id="BoxShape3D_qmmg3"]
|
||||||
points = PackedVector3Array(0.881012, 1.2404, -0.991939, 0.971999, 2.0762, 0.989799, -0.976627, 2.0762, 0.989799, -0.88564, 1.2404, 0.991939, -0.976627, 2.0762, -0.989799, 0.971999, 2.0762, -0.989799, 0.881012, 1.2404, 0.991939, -0.88564, 1.2404, -0.991939, 0.977697, 1.89201, -0.995589, -0.981442, 1.92293, 0.994691, 0.913748, 1.36385, 0.993858, -0.981442, 1.92293, -0.994691, 0.977697, 1.89201, 0.995589, -0.917534, 1.39512, -0.992944, 0.913748, 1.36385, -0.993858, -0.917534, 1.39512, 0.992944)
|
size = Vector3(2, 5, 2)
|
||||||
|
|
||||||
[node name="ladekast" instance=ExtResource("1_gw865")]
|
[node name="ladekast" instance=ExtResource("1_gw865")]
|
||||||
|
|
||||||
[node name="StaticBody3D" type="StaticBody3D" parent="Kast" index="5"]
|
[node name="StaticBody3D" type="StaticBody3D" parent="Kast" index="5"]
|
||||||
|
|
||||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Kast/StaticBody3D" index="0"]
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Kast/StaticBody3D" index="0"]
|
||||||
shape = SubResource("ConvexPolygonShape3D_oani2")
|
shape = SubResource("BoxShape3D_qmmg3")
|
||||||
@@ -19,8 +19,10 @@ shape = SubResource("BoxShape3D_hprjx")
|
|||||||
visible = false
|
visible = false
|
||||||
|
|
||||||
[node name="Music" type="AudioStreamPlayer3D" parent="." index="5"]
|
[node name="Music" type="AudioStreamPlayer3D" parent="." index="5"]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.39983, 0.16465, -2.32134)
|
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, -2.39983, 0.16465, -2.32134)
|
||||||
stream = ExtResource("3_qep0f")
|
stream = ExtResource("3_qep0f")
|
||||||
|
unit_size = 3.6
|
||||||
|
attenuation_filter_db = -34.0
|
||||||
|
|
||||||
[connection signal="input_event" from="Knop/Knop" to="." method="_on_knop_input_event"]
|
[connection signal="input_event" from="Knop/Knop" to="." method="_on_knop_input_event"]
|
||||||
[connection signal="finished" from="Music" to="." method="_on_music_finished"]
|
[connection signal="finished" from="Music" to="." method="_on_music_finished"]
|
||||||
@@ -11,6 +11,7 @@ radius = 0.3
|
|||||||
height = 1.6
|
height = 1.6
|
||||||
|
|
||||||
[sub_resource type="SphereShape3D" id="SphereShape3D_2j6of"]
|
[sub_resource type="SphereShape3D" id="SphereShape3D_2j6of"]
|
||||||
|
radius = 0.3
|
||||||
|
|
||||||
[node name="Player" type="CharacterBody3D"]
|
[node name="Player" type="CharacterBody3D"]
|
||||||
script = ExtResource("1_jx17t")
|
script = ExtResource("1_jx17t")
|
||||||
|
|||||||
+2
-4
@@ -1,11 +1,10 @@
|
|||||||
@tool
|
@tool
|
||||||
extends Node3D
|
extends Node3D
|
||||||
|
|
||||||
const SIZE = 4
|
const SIZE = 5
|
||||||
enum Direction {UP, RIGHT, DOWN, LEFT}
|
enum Direction {UP, RIGHT, DOWN, LEFT}
|
||||||
var sequence = []
|
var sequence = []
|
||||||
|
|
||||||
# Called when the node enters the scene tree for the first time.
|
|
||||||
func _ready():
|
func _ready():
|
||||||
randomize()
|
randomize()
|
||||||
|
|
||||||
@@ -23,13 +22,12 @@ func _ready():
|
|||||||
for i in range(dir):
|
for i in range(dir):
|
||||||
arrow.rotate_90(0)
|
arrow.rotate_90(0)
|
||||||
painting.blit_rect(arrow, arrow.get_used_rect() ,Vector2i(x*128, y*128))
|
painting.blit_rect(arrow, arrow.get_used_rect() ,Vector2i(x*128, y*128))
|
||||||
if randi() % 4 == 0:
|
if randi() % SIZE == 0:
|
||||||
painting_em.blit_rect(arrow, arrow.get_used_rect() ,Vector2i(x*128, y*128))
|
painting_em.blit_rect(arrow, arrow.get_used_rect() ,Vector2i(x*128, y*128))
|
||||||
sequence.append(dir)
|
sequence.append(dir)
|
||||||
for i in range(4-dir):
|
for i in range(4-dir):
|
||||||
arrow.rotate_90(0)
|
arrow.rotate_90(0)
|
||||||
|
|
||||||
|
|
||||||
var texture = ImageTexture.create_from_image(painting)
|
var texture = ImageTexture.create_from_image(painting)
|
||||||
$Canvas.get_surface_override_material(0).albedo_texture = texture
|
$Canvas.get_surface_override_material(0).albedo_texture = texture
|
||||||
var texture_em = ImageTexture.create_from_image(painting_em)
|
var texture_em = ImageTexture.create_from_image(painting_em)
|
||||||
|
|||||||
@@ -28,7 +28,6 @@ func _physics_process(delta):
|
|||||||
velocity.z = direction.z * WALK_SPEED
|
velocity.z = direction.z * WALK_SPEED
|
||||||
move_and_slide()
|
move_and_slide()
|
||||||
|
|
||||||
|
|
||||||
func _on_flash_light_input_event(camera, event, position, normal, shape_idx):
|
func _on_flash_light_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"):
|
||||||
$Pivot/Camera/FlashLight.visible = true
|
$Pivot/Camera/FlashLight.visible = true
|
||||||
|
|||||||
+1
-2
@@ -4,7 +4,7 @@ var combination
|
|||||||
|
|
||||||
func _ready():
|
func _ready():
|
||||||
combination = randi() % 10000
|
combination = randi() % 10000
|
||||||
$".."/CombiCode.mesh.text = str(combination)
|
$".."/CombiCode.mesh.text = "%04d" % combination #met leading 0'en
|
||||||
|
|
||||||
func get_number():
|
func get_number():
|
||||||
return 1000 * $Body/"1"/Cylinder/StaticBody3D.number + \
|
return 1000 * $Body/"1"/Cylinder/StaticBody3D.number + \
|
||||||
@@ -12,7 +12,6 @@ func get_number():
|
|||||||
10 * $Body/"3"/Cylinder/StaticBody3D.number + \
|
10 * $Body/"3"/Cylinder/StaticBody3D.number + \
|
||||||
$Body/"4"/Cylinder/StaticBody3D.number
|
$Body/"4"/Cylinder/StaticBody3D.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
|
||||||
|
|||||||
Reference in new issue
Block a user