diff --git a/escape-room/escape-room-szene-room.tscn b/escape-room/escape-room-szene-room.tscn index 0350205..8188ec7 100644 --- a/escape-room/escape-room-szene-room.tscn +++ b/escape-room/escape-room-szene-room.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=92 format=3 uid="uid://bidp3paljsym7"] +[gd_scene load_steps=91 format=3 uid="uid://bidp3paljsym7"] [ext_resource type="Script" uid="uid://ci02ru6m6uoic" path="res://escape_room_szene_room.gd" id="1_p85ca"] [ext_resource type="PackedScene" uid="uid://clc5dre31iskm" path="res://addons/godot-xr-tools/xr/start_xr.tscn" id="2_risro"] @@ -15,7 +15,7 @@ [ext_resource type="PackedScene" uid="uid://c211w30s0sq2r" path="res://objekte/riddel_cube_board.tscn" id="10_i1fkd"] [ext_resource type="PackedScene" uid="uid://cc5oq67yhci3w" path="res://objekte/riddel_cube.tscn" id="11_8osd2"] [ext_resource type="Animation" uid="uid://nq3xh1olqipq" path="res://addons/godot-xr-tools/hands/animations/left/Grip Shaft.res" id="11_gqhg5"] -[ext_resource type="Script" path="res://addons/godot-xr-tools/hands/poses/hand_pose_settings.gd" id="12_enjo3"] +[ext_resource type="Script" uid="uid://c4we3yvdk1o5w" path="res://addons/godot-xr-tools/hands/poses/hand_pose_settings.gd" id="12_enjo3"] [ext_resource type="PackedScene" uid="uid://bsxptq5bplrew" path="res://objekte/riddel_node.tscn" id="12_i1fkd"] [ext_resource type="PackedScene" uid="uid://bx1rqc4aaet7h" path="res://objekte/escape_room_large.tscn" id="12_ted65"] [ext_resource type="PackedScene" uid="uid://db5t48e250adl" path="res://objekte/riddel_node_board.tscn" id="13_8osd2"] @@ -66,8 +66,6 @@ metadata/_custom_type_script = "uid://c4we3yvdk1o5w" vertex_color_use_as_albedo = true albedo_color = Color(0, 0, 1, 1) -[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_pq045"] - [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_i1fkd"] albedo_color = Color(0.13725491, 0.49019608, 0.25882354, 1) @@ -364,10 +362,6 @@ show_target = true [node name="PlayerBody" parent="XROrigin3D" instance=ExtResource("8_58sqr")] -[node name="CollisionShape3D" type="CollisionShape3D" parent="XROrigin3D/PlayerBody"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.9, 0) -shape = SubResource("CapsuleShape3D_pq045") - [node name="Interactions" type="Node3D" parent="." groups=["pickable"]] [node name="Würfeltisch" type="RigidBody3D" parent="Interactions"] @@ -653,13 +647,13 @@ shape = SubResource("BoxShape3D_gqhg5") [node name="Jewels" parent="Interactions" groups=["pickable"] instance=ExtResource("19_gqhg5")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.10403967, 0.8900795, 11.824045) -[node name="BookHolder" parent="Interactions" instance=ExtResource("23_d7g0e")] +[node name="BookHolder1" parent="Interactions" instance=ExtResource("23_d7g0e")] transform = Transform3D(0.85811865, 0, 0.5134514, 0, 1, 0, -0.5134514, 0, 0.85811865, -6.5540977, 0.05, -7.8741584) script = ExtResource("24_gkcf5") -[node name="MeshInstance3D" type="MeshInstance3D" parent="Interactions/BookHolder"] +[node name="MeshInstance3D" type="MeshInstance3D" parent="Interactions/BookHolder1"] -[node name="Label3D" type="Label3D" parent="Interactions/BookHolder/MeshInstance3D"] +[node name="Label3D" type="Label3D" parent="Interactions/BookHolder1/MeshInstance3D"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.7948583, 0) visible = false text = "hier steht der Text" @@ -668,6 +662,33 @@ outline_size = 2 horizontal_alignment = 0 vertical_alignment = 2 +[node name="BookHolder2" parent="Interactions" instance=ExtResource("23_d7g0e")] +transform = Transform3D(-0.91355264, 0, -0.4067208, 0, 1, 0, 0.4067208, 0, -0.91355264, 2.5342276, 0, 8.188446) +script = ExtResource("24_gkcf5") + +[node name="Label3D" parent="Interactions/BookHolder2/MeshInstance3D2" index="1"] +text = "Hinweis: +Ein Array mit 10 +Positionen wird instanziiert. +Das Lösungswort +nennt die Idizies, +wenn man es umdreht." + +[node name="BookHolder3" parent="Interactions" instance=ExtResource("23_d7g0e")] +transform = Transform3D(-0.46355888, 0, 0.88606614, 0, 1, 0, -0.88606614, 0, -0.46355888, -7.878164, 0, 3.4641764) +script = ExtResource("24_gkcf5") + +[node name="Label3D" parent="Interactions/BookHolder3/MeshInstance3D2" index="1"] +transform = Transform3D(0.99916327, -0.028438076, 0.02939403, 0, 0.71869695, 0.69532347, -0.040899068, -0.6947417, 0.71809566, -0.427099, 1.7251701, 9.536743e-07) +text = "Hinweis: +Von Oben nach unten. +Von links nach rechts. +Du weißt 3 = 8 und +5 = 2, sowie 6 = 4 und +8 = 1, die 1 = 6 +Viele Möglichkeiten bleiben +nicht mehr übrig." + [node name="static_room" type="Node3D" parent="."] metadata/_edit_lock_ = true @@ -867,4 +888,6 @@ outline_size = 2 [editable path="Interactions/NodeTable/RiddelNode10"] [editable path="Interactions/Jewels"] [editable path="Interactions/Jewels/MeshInstance3D/Sapphire-200"] +[editable path="Interactions/BookHolder2"] +[editable path="Interactions/BookHolder3"] [editable path="static_room/disco_ball"] diff --git a/escape-room/escape09.apk b/escape-room/escape09.apk index 2c9f06f..5c8d5a6 100644 Binary files a/escape-room/escape09.apk and b/escape-room/escape09.apk differ diff --git a/escape-room/objekte/riddel_cube_board.gd b/escape-room/objekte/riddel_cube_board.gd index 3811bef..08ec07e 100644 --- a/escape-room/objekte/riddel_cube_board.gd +++ b/escape-room/objekte/riddel_cube_board.gd @@ -1,7 +1,7 @@ extends Node3D # Die richtige Lösung als String (z.B. "12345678") -@export var correct_solution: String = "12345678" +@export var correct_solution: String = "63852471" # Referenzen zu den 8 SnapZones var snap_zones: Array[Node] = []