diff --git a/ChronoWatch.gd b/ChronoWatch.gd index b781c95..c2fe899 100644 --- a/ChronoWatch.gd +++ b/ChronoWatch.gd @@ -9,9 +9,10 @@ var current_age = AgeState.BABY # Referenzen zu den anderen Nodes (müssen im Inspektor zugewiesen werden) @export var controller : XRController3D @export var player_body : CharacterBody3D +@export var player : XROrigin3D # Referenz zum Aussehen der Uhr (für Farbänderung) -@onready var visual_mesh = $CSGMesh3D +@onready var visual_mesh = $Player func _ready(): # 1. Controller finden, falls nicht zugewiesen @@ -33,13 +34,9 @@ func _ready(): func _on_button_pressed(button_name: String): # Input Abfrage (A/B oder X/Y je nach Controller) match button_name: - "primary_click": # Älter werden + "trigger_click": # Älter werden change_age(1) - "secondary_click": # Jünger werden - change_age(-1) - "ax_button": # Fallback - change_age(1) - "by_button": # Fallback + "grip_click": # Jünger werden change_age(-1) func change_age(direction: int): @@ -75,18 +72,21 @@ func apply_age_physics(): player_body.player_height_min = 0.2 # Max begrenzt die Kapselhöhe auf ca. 60cm player_body.player_height_max = 0.6 + player.translate(Vector3(0, 0.05, 0)) AgeState.CHILD: # Kind: Mittelgroß - player_body.player_height_min = 0.4 - # Max begrenzt auf ca. 1.30m - player_body.player_height_max = 1.3 + player_body.player_height_min = 0.3 + # Max begrenzt auf ca. 1.20m + player_body.player_height_max = 1.2 + player.translate(Vector3(0, 0.05, 0)) AgeState.TEEN: # Teenager: Standard VR Werte (Groß) player_body.player_height_min = 0.6 # Max ist hoch genug für jeden Erwachsenen (2.5m ist Standard-Puffer) - player_body.player_height_max = 2.5 + player_body.player_height_max = 2.5 + player.translate(Vector3(0, 0.05, 0)) func update_visuals(): # Ändert die Farbe der Uhr zur Bestätigung diff --git a/emitting_material.tres b/emitting_material.tres new file mode 100644 index 0000000..091f9d9 --- /dev/null +++ b/emitting_material.tres @@ -0,0 +1,6 @@ +[gd_resource type="StandardMaterial3D" format=3 uid="uid://b1dddxhf8femn"] + +[resource] +emission_enabled = true +emission = Color(0.83137256, 0.7372549, 0, 1) +emission_energy_multiplier = 2.15 diff --git a/level.tscn b/level.tscn index c0abf2b..7b775ba 100644 --- a/level.tscn +++ b/level.tscn @@ -1,9 +1,10 @@ -[gd_scene load_steps=89 format=4 uid="uid://dv2iwxsd3rqha"] +[gd_scene load_steps=104 format=4 uid="uid://dv2iwxsd3rqha"] [ext_resource type="PackedScene" uid="uid://clc5dre31iskm" path="res://addons/godot-xr-tools/xr/start_xr.tscn" id="1_8b0r0"] [ext_resource type="PackedScene" uid="uid://srkkei4i3bwx" path="res://player.tscn" id="2_0b4ue"] [ext_resource type="PackedScene" uid="uid://ctltchlf2j2r4" path="res://addons/xr-simulator/XRSimulator.tscn" id="3_f2txt"] [ext_resource type="PackedScene" uid="uid://dw4a062ro7owt" path="res://assets/kenney/Models/DAE format/floorFull.dae" id="4_8b0r0"] +[ext_resource type="ArrayMesh" uid="uid://b1655snpfcof2" path="res://assets/kenney/Models/OBJ format/floorFull.obj" id="4_v5j5c"] [ext_resource type="PackedScene" uid="uid://bhewffsxq4w72" path="res://assets/kenney/Models/DAE format/bookcaseClosed.dae" id="5_f2txt"] [ext_resource type="PackedScene" uid="uid://br6q1fpwbquxs" path="res://assets/wheel/steering_wheel_classic.glb" id="6_1ainy"] [ext_resource type="Texture2D" uid="uid://hikj246mo547" path="res://assets/tippi/Models/GLB format/Textures/colormap.png" id="7_2orkt"] @@ -13,20 +14,35 @@ [ext_resource type="Texture2D" uid="uid://dstv63bc0f6tp" path="res://assets/tippi/passwort.png" id="11_8b0r0"] [ext_resource type="PackedScene" uid="uid://bx2bo1fh2ins8" path="res://assets/tippi/Models/FBX format/flag-banner-short.fbx" id="11_v5j5c"] [ext_resource type="PackedScene" uid="uid://bhyh5r314bg5w" path="res://assets/kids_fort/uploads_files_2455036_BlanketFort.gltf" id="12_aicyk"] +[ext_resource type="ArrayMesh" uid="uid://dvj7w4t8pq5x" path="res://assets/kenney/Models/OBJ format/lampSquareCeiling.obj" id="14_h6smj"] +[ext_resource type="Material" uid="uid://b1dddxhf8femn" path="res://emitting_material.tres" id="15_fedht"] +[ext_resource type="ArrayMesh" uid="uid://c66elxhdbvigk" path="res://assets/kenney/Models/OBJ format/lampRoundFloor.obj" id="15_v5j5c"] +[ext_resource type="ArrayMesh" uid="uid://bdjnavkmitj58" path="res://assets/kenney/Models/OBJ format/lampRoundTable.obj" id="16_4c15r"] +[ext_resource type="ArrayMesh" uid="uid://c1ekycr8j1haq" path="res://assets/kenney/Models/OBJ format/rugRound.obj" id="16_5pxul"] +[ext_resource type="ArrayMesh" uid="uid://bo8kbkqmwr41w" path="res://assets/kenney/Models/OBJ format/bedBunk.obj" id="20_42xju"] +[ext_resource type="ArrayMesh" uid="uid://tvmiqe200vbu" path="res://assets/kenney/Models/OBJ format/table.obj" id="21_ilwjd"] +[ext_resource type="ArrayMesh" uid="uid://bthlqrehl0rmn" path="res://assets/kenney/Models/OBJ format/chairCushion.obj" id="22_y3bce"] +[ext_resource type="ArrayMesh" uid="uid://c878di0641jjs" path="res://assets/kenney/Models/OBJ format/trashcan.obj" id="23_y3bce"] +[ext_resource type="ArrayMesh" uid="uid://ca20qer1ydf2i" path="res://assets/kenney/Models/OBJ format/loungeChair.obj" id="24_u3yai"] +[ext_resource type="ArrayMesh" uid="uid://cynws4v6den" path="res://assets/kenney/Models/OBJ format/bookcaseClosedDoors.obj" id="25_fj6e6"] -[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_oi3di"] +[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_h6smj"] sky_horizon_color = Color(0.66224277, 0.6717428, 0.6867428, 1) ground_horizon_color = Color(0.66224277, 0.6717428, 0.6867428, 1) -[sub_resource type="Sky" id="Sky_0b4ue"] -sky_material = SubResource("ProceduralSkyMaterial_oi3di") +[sub_resource type="Sky" id="Sky_v5j5c"] +sky_material = SubResource("ProceduralSkyMaterial_h6smj") -[sub_resource type="Environment" id="Environment_f2txt"] -background_mode = 2 -sky = SubResource("Sky_0b4ue") -tonemap_mode = 2 +[sub_resource type="Environment" id="Environment_5pxul"] +background_mode = 1 +sky = SubResource("Sky_v5j5c") +glow_enabled = true +glow_bloom = 0.4 +fog_enabled = true +fog_density = 0.0 +volumetric_fog_density = 0.7059 -[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_h6smj"] +[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_dtg4e"] [sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_nxitj"] data = PackedVector3Array(-10, -0.05, 7.5, -10, -0.05, -7.5, -10, 0.05, -7.5, 10, -0.05, -7.5, -10, -0.05, -7.5, -10, -0.05, 7.5, -10, 0.05, -7.5, -10, -0.05, -7.5, 10, -0.05, -7.5, -10, 0.05, -7.5, -10, 0.05, 7.5, -10, -0.05, 7.5, -10, -0.05, 7.5, -10, 0.05, 7.5, 10, 0.05, 7.5, 10, 0.05, 7.5, -10, 0.05, 7.5, -10, 0.05, -7.5, -10, -0.05, 7.5, 10, -0.05, 7.5, 10, -0.05, -7.5, 10, 0.05, 7.5, 10, -0.05, 7.5, -10, -0.05, 7.5, 10, -0.05, -7.5, 10, -0.05, 7.5, 10, 0.05, 7.5, 10, -0.05, -7.5, 10, 0.05, -7.5, -10, 0.05, -7.5, -10, 0.05, -7.5, 10, 0.05, -7.5, 10, 0.05, 7.5, 10, 0.05, 7.5, 10, 0.05, -7.5, 10, -0.05, -7.5) @@ -620,37 +636,44 @@ data = PackedVector3Array(-50, -0.05, 50, -50, -0.05, -50, -50, 0.05, -50, 50, - [sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_u3yai"] data = PackedVector3Array(10, 0, 50, 10.050001, 0, 49.95, 10, 0, 49.95, 10, 0, 50.05, 10, 0, 50, 10, 3, 50.05, 110, 0, 49.95, 10, 0, 50, 10, 0, 50.05, 10, 0, 50, 109.950005, 0, 49.95, 10.050001, 0, 49.95, 109.950005, 0, 49.95, 10.050001, 3, 49.95, 10.050001, 0, 49.95, 10, 3, 50.05, 10, 0, 50, 10, 3, 50, 10, 0, 50.05, 10, 3, 50.05, 110, 3, 50.05, 110, 3, 50.05, 10, 3, 50, 10, 3, 49.95, 10, 3, 50, 110, 3, 50.05, 10, 3, 50.05, 10, 3, 49.95, 10.050001, 3, 49.95, 110, 3, 50.05, 109.950005, 0, 49.95, 10, 0, 50, 110, 0, 49.95, 10, 0, 50.05, 110, 0, 50.05, 110, 0, 50, 10, 0, 50.05, 110, 0, 50, 110, 0, 49.95, 10, 0, 50.05, 110, 3, 50.05, 110, 0, 50.05, 110, 0, 50.05, 110, 3, 50, 110, 0, 50, 10.050001, 3, 49.95, 109.950005, 0, 49.95, 109.950005, 3, 49.95, 110, 3, 50.05, 10.050001, 3, 49.95, 109.950005, 3, 49.95, 110, 0, 50.05, 110, 3, 50.05, 110, 3, 50, 110, 3, 50, 109.950005, 3, 49.95, 110, 3, 49.95, 109.950005, 3, 49.95, 110, 3, 50, 110, 3, 50.05, 10, 0, -50.05, 10, 3, -50, 10, 0, -50, 110, 0, -50.05, 10, 0, -50, 10, 0, -49.95, 10, 0, -50.05, 10, 0, -50, 110, 0, -50.05, 10, 0, -49.95, 10.049999, 0, -49.95, 110, 0, -50.05, 10, 0, -50.05, 110, 0, -50.05, 10, 3, -50.05, 10, 0, -50.05, 10, 3, -50.05, 10, 3, -50, 10, 3, -50, 10.049999, 3, -49.95, 10, 3, -49.95, 109.95, 3, -49.95, 10.049999, 0, -49.95, 10.049999, 3, -49.95, 10, 3, -50.05, 110, 3, -49.95, 10, 3, -50, 10, 3, -50, 109.95, 3, -49.95, 10.049999, 3, -49.95, 110, 0, -50.05, 10.049999, 0, -49.95, 109.95, 0, -49.95, 10.049999, 0, -49.95, 109.95, 3, -49.95, 109.95, 0, -49.95, 110, 0, -50, 109.95, 0, -49.95, 110, 0, -49.95, 110, 0, -50.05, 109.95, 0, -49.95, 110, 0, -50, 110, 0, -50.05, 110, 0, -50, 110, 3, -50.05, 10, 3, -50.05, 110, 0, -50.05, 110, 3, -50.05, 10, 3, -50, 110, 3, -49.95, 109.95, 3, -49.95, 10, 3, -50.05, 110, 3, -50.05, 110, 3, -50, 10, 3, -50.05, 110, 3, -50, 110, 3, -49.95, 110, 3, -50.05, 110, 0, -50, 110, 3, -50, 110.049995, 0, -50, 110, 0, -50, 110, 0, -49.95, 110.05, 0, 50, 110, 0, -49.95, 109.95, 0, -49.95, 110.049995, 0, -50, 110, 0, -49.95, 110.05, 0, 50, 110.049995, 0, -50, 110.049995, 3, -50, 110, 0, -50, 109.950005, 0, 49.95, 109.95, 0, -49.95, 109.95, 3, -49.95, 110.049995, 0, -50, 110.05, 0, 50, 110.049995, 3, -50, 110, 0, 49.95, 109.95, 0, -49.95, 109.950005, 0, 49.95, 110.05, 0, 50, 109.95, 0, -49.95, 110, 0, 49.95, 110.05, 0, 50, 110, 0, 49.95, 110, 0, 50, 110.05, 0, 50, 110, 0, 50, 110, 3, 50, 110.049995, 3, -50, 110, 3, -50, 110, 0, -50, 110.049995, 3, -50, 110, 3, -49.95, 110, 3, -50, 110.049995, 3, -50, 109.950005, 3, 49.95, 110, 3, -49.95, 110, 3, -49.95, 109.950005, 3, 49.95, 109.95, 3, -49.95, 109.950005, 0, 49.95, 109.95, 3, -49.95, 109.950005, 3, 49.95, 110.05, 0, 50, 110.05, 3, 50, 110.049995, 3, -50, 110.05, 0, 50, 110, 3, 50, 110.05, 3, 50, 110.049995, 3, -50, 110, 3, 49.95, 109.950005, 3, 49.95, 110.049995, 3, -50, 110.05, 3, 50, 110, 3, 49.95, 110.05, 3, 50, 110, 3, 50, 110, 3, 49.95, 9.949999, 0, 7.5, 10.050001, 0, 49.95, 10.049999, 0, 7.5, 9.949999, 0, 7.5, 10, 0, 49.95, 10.050001, 0, 49.95, 9.949999, 0, 7.5, 9.950001, 0, 50, 10, 0, 49.95, 9.950001, 0, 50, 10, 0, 50, 10, 0, 49.95, 9.949999, 0, 7.5, 10.049999, 0, 7.5, 10.049999, 3, 7.5, 9.949999, 0, 7.5, 9.950001, 3, 50, 9.950001, 0, 50, 10.049999, 0, 7.5, 10.050001, 0, 49.95, 10.050001, 3, 49.95, 9.950001, 0, 50, 9.950001, 3, 50, 10, 0, 50, 9.949999, 0, 7.5, 10.049999, 3, 7.5, 9.949999, 3, 7.5, 9.949999, 0, 7.5, 9.949999, 3, 7.5, 9.950001, 3, 50, 10.049999, 0, 7.5, 10.050001, 3, 49.95, 10.049999, 3, 7.5, 9.950001, 3, 50, 10, 3, 50, 10, 0, 50, 9.949999, 3, 7.5, 10.049999, 3, 7.5, 9.950001, 3, 50, 10.049999, 3, 7.5, 10.050001, 3, 49.95, 10, 3, 49.95, 10.049999, 3, 7.5, 10, 3, 49.95, 9.950001, 3, 50, 9.950001, 3, 50, 10, 3, 49.95, 10, 3, 50, 9.949999, 0, -50, 10, 0, -49.95, 10, 0, -50, 9.949999, 0, -50, 10.050001, 0, -7.5, 10, 0, -49.95, 10.050001, 0, -7.5, 10.049999, 0, -49.95, 10, 0, -49.95, 9.949999, 0, -50, 9.950001, 0, -7.5, 10.050001, 0, -7.5, 9.949999, 0, -50, 10, 0, -50, 10, 3, -50, 9.949999, 0, -50, 9.950001, 3, -7.5, 9.950001, 0, -7.5, 10.050001, 0, -7.5, 10.050001, 3, -7.5, 10.049999, 0, -49.95, 9.950001, 0, -7.5, 9.950001, 3, -7.5, 10.050001, 0, -7.5, 9.949999, 0, -50, 10, 3, -50, 9.949999, 3, -50, 9.949999, 0, -50, 9.949999, 3, -50, 9.950001, 3, -7.5, 10.050001, 3, -7.5, 10.049999, 3, -49.95, 10.049999, 0, -49.95, 10.050001, 0, -7.5, 9.950001, 3, -7.5, 10.050001, 3, -7.5, 9.949999, 3, -50, 10, 3, -50, 10, 3, -49.95, 9.950001, 3, -7.5, 10, 3, -49.95, 10.049999, 3, -49.95, 9.949999, 3, -50, 10, 3, -49.95, 9.950001, 3, -7.5, 9.950001, 3, -7.5, 10.049999, 3, -49.95, 10.050001, 3, -7.5) +[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_fj6e6"] +data = PackedVector3Array(0, 0.049999997, 0, 0, 0, 0, 0, 0.049999997, 1, 0, 0, 1, 0, 0.049999997, 1, 0, 0, 0, 0, 0.049999997, 0, 0, 0.049999997, 1, -1, 0.049999997, 0, -1, 0.049999997, 1, -1, 0.049999997, 0, 0, 0.049999997, 1, 0, 0, 1, 0, 0, 0, -1, 0, 1, -1, 0, 0, -1, 0, 1, 0, 0, 0, 0, 0, 1, -1, 0, 1, 0, 0.049999997, 1, -1, 0.049999997, 1, 0, 0.049999997, 1, -1, 0, 1, -1, 0, 0, 0, 0, 0, -1, 0.049999997, 0, 0, 0.049999997, 0, -1, 0.049999997, 0, 0, 0, 0, -1, 0, 0, -1, 0.049999997, 0, -1, 0, 1, -1, 0.049999997, 1, -1, 0, 1, -1, 0.049999997, 0, 0, 0.049999997, 0, 0, 0, 0, 0, 0.049999997, 1, 0, 0, 1, 0, 0.049999997, 1, 0, 0, 0, 0, 0.049999997, 0, 0, 0.049999997, 1, -1, 0.049999997, 0, -1, 0.049999997, 1, -1, 0.049999997, 0, 0, 0.049999997, 1, 0, 0, 1, 0, 0, 0, -1, 0, 1, -1, 0, 0, -1, 0, 1, 0, 0, 0, 0, 0, 1, -1, 0, 1, 0, 0.049999997, 1, -1, 0.049999997, 1, 0, 0.049999997, 1, -1, 0, 1, -1, 0, 0, 0, 0, 0, -1, 0.049999997, 0, 0, 0.049999997, 0, -1, 0.049999997, 0, 0, 0, 0, -1, 0, 0, -1, 0.049999997, 0, -1, 0, 1, -1, 0.049999997, 1, -1, 0, 1, -1, 0.049999997, 0) + +[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_2h3vt"] +data = PackedVector3Array(-0.099199995, 0.14999999, 0.0208, -0.099199995, 0, 0.0208, -0.099199995, 0.14999999, 0.099199995, -0.099199995, 0, 0.099199995, -0.099199995, 0.14999999, 0.099199995, -0.099199995, 0, 0.0208, -0.099199995, 0, 0.099199995, -0.0208, 0, 0.099199995, -0.099199995, 0.14999999, 0.099199995, -0.0208, 0.14999999, 0.099199995, -0.099199995, 0.14999999, 0.099199995, -0.0208, 0, 0.099199995, -0.0208, 0, 0.0208, -0.099199995, 0, 0.0208, -0.0208, 0.14999999, 0.0208, -0.099199995, 0.14999999, 0.0208, -0.0208, 0.14999999, 0.0208, -0.099199995, 0, 0.0208, 0, 0.14999999, 0.12, -0.0208, 0.14999999, 0.0208, 0, 0.14999999, 0, -0.12, 0.14999999, 0, 0, 0.14999999, 0, -0.0208, 0.14999999, 0.0208, -0.0208, 0.14999999, 0.0208, 0, 0.14999999, 0.12, -0.0208, 0.14999999, 0.099199995, -0.099199995, 0.14999999, 0.0208, -0.12, 0.14999999, 0, -0.0208, 0.14999999, 0.0208, -0.12, 0.14999999, 0.12, -0.0208, 0.14999999, 0.099199995, 0, 0.14999999, 0.12, -0.099199995, 0.14999999, 0.099199995, -0.12, 0.14999999, 0, -0.099199995, 0.14999999, 0.0208, -0.099199995, 0.14999999, 0.099199995, -0.0208, 0.14999999, 0.099199995, -0.12, 0.14999999, 0.12, -0.12, 0.14999999, 0, -0.099199995, 0.14999999, 0.099199995, -0.12, 0.14999999, 0.12, 0, 0.14999999, 0, 0, 0, 0, 0, 0.14999999, 0.12, 0, 0, 0.12, 0, 0.14999999, 0.12, 0, 0, 0, -0.12, 0, 0, 0, 0, 0, -0.12, 0.14999999, 0, 0, 0.14999999, 0, -0.12, 0.14999999, 0, 0, 0, 0, 0, 0, 0.12, -0.12, 0, 0.12, 0, 0.14999999, 0.12, -0.12, 0.14999999, 0.12, 0, 0.14999999, 0.12, -0.12, 0, 0.12, 0, 0, 0, -0.0208, 0, 0.099199995, 0, 0, 0.12, -0.12, 0, 0.12, 0, 0, 0.12, -0.0208, 0, 0.099199995, -0.0208, 0, 0.099199995, 0, 0, 0, -0.0208, 0, 0.0208, -0.099199995, 0, 0.099199995, -0.12, 0, 0.12, -0.0208, 0, 0.099199995, -0.12, 0, 0, -0.0208, 0, 0.0208, 0, 0, 0, -0.099199995, 0, 0.0208, -0.12, 0, 0.12, -0.099199995, 0, 0.099199995, -0.099199995, 0, 0.0208, -0.0208, 0, 0.0208, -0.12, 0, 0, -0.12, 0, 0.12, -0.099199995, 0, 0.0208, -0.12, 0, 0, -0.12, 0, 0, -0.12, 0.14999999, 0, -0.12, 0, 0.12, -0.12, 0.14999999, 0.12, -0.12, 0, 0.12, -0.12, 0.14999999, 0, -0.0208, 0, 0.0208, -0.0208, 0.14999999, 0.0208, -0.0208, 0, 0.099199995, -0.0208, 0.14999999, 0.099199995, -0.0208, 0, 0.099199995, -0.0208, 0.14999999, 0.0208, -0.0691, 0.024999999, 0.050899997, -0.050899997, 0.024999999, 0.050899997, -0.0691, 0.21, 0.050899997, -0.050899997, 0.21, 0.050899997, -0.0691, 0.21, 0.050899997, -0.050899997, 0.024999999, 0.050899997, -0.050899997, 0.21, 0.050899997, -0.050899997, 0.024999999, 0.050899997, -0.050899997, 0.21, 0.0691, -0.050899997, 0.024999999, 0.0691, -0.050899997, 0.21, 0.0691, -0.050899997, 0.024999999, 0.050899997, -0.050899997, 0.024999999, 0.0691, -0.050899997, 0.024999999, 0.050899997, -0.0691, 0.024999999, 0.0691, -0.0691, 0.024999999, 0.050899997, -0.0691, 0.024999999, 0.0691, -0.050899997, 0.024999999, 0.050899997, -0.0208, 0.22999999, 0.0208, -0.0208, 0.21, 0.0208, -0.0208, 0.22999999, 0.099199995, -0.0208, 0.21, 0.099199995, -0.0208, 0.22999999, 0.099199995, -0.0208, 0.21, 0.0208, -0.099199995, 0.21, 0.0208, -0.0208, 0.21, 0.0208, -0.099199995, 0.22999999, 0.0208, -0.0208, 0.22999999, 0.0208, -0.099199995, 0.22999999, 0.0208, -0.0208, 0.21, 0.0208, -0.0208, 0.22999999, 0.0208, -0.0208, 0.22999999, 0.099199995, -0.099199995, 0.22999999, 0.0208, -0.099199995, 0.22999999, 0.099199995, -0.099199995, 0.22999999, 0.0208, -0.0208, 0.22999999, 0.099199995, -0.0208, 0.21, 0.0208, -0.050899997, 0.21, 0.0691, -0.0208, 0.21, 0.099199995, -0.099199995, 0.21, 0.099199995, -0.0208, 0.21, 0.099199995, -0.050899997, 0.21, 0.0691, -0.050899997, 0.21, 0.0691, -0.0208, 0.21, 0.0208, -0.050899997, 0.21, 0.050899997, -0.0691, 0.21, 0.0691, -0.099199995, 0.21, 0.099199995, -0.050899997, 0.21, 0.0691, -0.099199995, 0.21, 0.0208, -0.050899997, 0.21, 0.050899997, -0.0208, 0.21, 0.0208, -0.0691, 0.21, 0.050899997, -0.099199995, 0.21, 0.099199995, -0.0691, 0.21, 0.0691, -0.0691, 0.21, 0.050899997, -0.050899997, 0.21, 0.050899997, -0.099199995, 0.21, 0.0208, -0.099199995, 0.21, 0.099199995, -0.0691, 0.21, 0.050899997, -0.099199995, 0.21, 0.0208, -0.050899997, 0.024999999, 0.0691, -0.0691, 0.024999999, 0.0691, -0.050899997, 0.21, 0.0691, -0.0691, 0.21, 0.0691, -0.050899997, 0.21, 0.0691, -0.0691, 0.024999999, 0.0691, -0.0208, 0.21, 0.099199995, -0.099199995, 0.21, 0.099199995, -0.0208, 0.22999999, 0.099199995, -0.099199995, 0.22999999, 0.099199995, -0.0208, 0.22999999, 0.099199995, -0.099199995, 0.21, 0.099199995, -0.099199995, 0.21, 0.0208, -0.099199995, 0.22999999, 0.0208, -0.099199995, 0.21, 0.099199995, -0.099199995, 0.22999999, 0.099199995, -0.099199995, 0.21, 0.099199995, -0.099199995, 0.22999999, 0.0208, -0.0691, 0.024999999, 0.050899997, -0.0691, 0.21, 0.050899997, -0.0691, 0.024999999, 0.0691, -0.0691, 0.21, 0.0691, -0.0691, 0.024999999, 0.0691, -0.0691, 0.21, 0.050899997, -0.099199995, 0.14999999, 0.0208, -0.099199995, 0, 0.0208, -0.099199995, 0.14999999, 0.099199995, -0.099199995, 0, 0.099199995, -0.099199995, 0.14999999, 0.099199995, -0.099199995, 0, 0.0208, -0.099199995, 0, 0.099199995, -0.0208, 0, 0.099199995, -0.099199995, 0.14999999, 0.099199995, -0.0208, 0.14999999, 0.099199995, -0.099199995, 0.14999999, 0.099199995, -0.0208, 0, 0.099199995, -0.0208, 0, 0.0208, -0.099199995, 0, 0.0208, -0.0208, 0.14999999, 0.0208, -0.099199995, 0.14999999, 0.0208, -0.0208, 0.14999999, 0.0208, -0.099199995, 0, 0.0208, 0, 0.14999999, 0.12, -0.0208, 0.14999999, 0.0208, 0, 0.14999999, 0, -0.12, 0.14999999, 0, 0, 0.14999999, 0, -0.0208, 0.14999999, 0.0208, -0.0208, 0.14999999, 0.0208, 0, 0.14999999, 0.12, -0.0208, 0.14999999, 0.099199995, -0.099199995, 0.14999999, 0.0208, -0.12, 0.14999999, 0, -0.0208, 0.14999999, 0.0208, -0.12, 0.14999999, 0.12, -0.0208, 0.14999999, 0.099199995, 0, 0.14999999, 0.12, -0.099199995, 0.14999999, 0.099199995, -0.12, 0.14999999, 0, -0.099199995, 0.14999999, 0.0208, -0.099199995, 0.14999999, 0.099199995, -0.0208, 0.14999999, 0.099199995, -0.12, 0.14999999, 0.12, -0.12, 0.14999999, 0, -0.099199995, 0.14999999, 0.099199995, -0.12, 0.14999999, 0.12, 0, 0.14999999, 0, 0, 0, 0, 0, 0.14999999, 0.12, 0, 0, 0.12, 0, 0.14999999, 0.12, 0, 0, 0, -0.12, 0, 0, 0, 0, 0, -0.12, 0.14999999, 0, 0, 0.14999999, 0, -0.12, 0.14999999, 0, 0, 0, 0, 0, 0, 0.12, -0.12, 0, 0.12, 0, 0.14999999, 0.12, -0.12, 0.14999999, 0.12, 0, 0.14999999, 0.12, -0.12, 0, 0.12, 0, 0, 0, -0.0208, 0, 0.099199995, 0, 0, 0.12, -0.12, 0, 0.12, 0, 0, 0.12, -0.0208, 0, 0.099199995, -0.0208, 0, 0.099199995, 0, 0, 0, -0.0208, 0, 0.0208, -0.099199995, 0, 0.099199995, -0.12, 0, 0.12, -0.0208, 0, 0.099199995, -0.12, 0, 0, -0.0208, 0, 0.0208, 0, 0, 0, -0.099199995, 0, 0.0208, -0.12, 0, 0.12, -0.099199995, 0, 0.099199995, -0.099199995, 0, 0.0208, -0.0208, 0, 0.0208, -0.12, 0, 0, -0.12, 0, 0.12, -0.099199995, 0, 0.0208, -0.12, 0, 0, -0.12, 0, 0, -0.12, 0.14999999, 0, -0.12, 0, 0.12, -0.12, 0.14999999, 0.12, -0.12, 0, 0.12, -0.12, 0.14999999, 0, -0.0208, 0, 0.0208, -0.0208, 0.14999999, 0.0208, -0.0208, 0, 0.099199995, -0.0208, 0.14999999, 0.099199995, -0.0208, 0, 0.099199995, -0.0208, 0.14999999, 0.0208, -0.0691, 0.024999999, 0.050899997, -0.050899997, 0.024999999, 0.050899997, -0.0691, 0.21, 0.050899997, -0.050899997, 0.21, 0.050899997, -0.0691, 0.21, 0.050899997, -0.050899997, 0.024999999, 0.050899997, -0.050899997, 0.21, 0.050899997, -0.050899997, 0.024999999, 0.050899997, -0.050899997, 0.21, 0.0691, -0.050899997, 0.024999999, 0.0691, -0.050899997, 0.21, 0.0691, -0.050899997, 0.024999999, 0.050899997, -0.050899997, 0.024999999, 0.0691, -0.050899997, 0.024999999, 0.050899997, -0.0691, 0.024999999, 0.0691, -0.0691, 0.024999999, 0.050899997, -0.0691, 0.024999999, 0.0691, -0.050899997, 0.024999999, 0.050899997, -0.0208, 0.22999999, 0.0208, -0.0208, 0.21, 0.0208, -0.0208, 0.22999999, 0.099199995, -0.0208, 0.21, 0.099199995, -0.0208, 0.22999999, 0.099199995, -0.0208, 0.21, 0.0208, -0.099199995, 0.21, 0.0208, -0.0208, 0.21, 0.0208, -0.099199995, 0.22999999, 0.0208, -0.0208, 0.22999999, 0.0208, -0.099199995, 0.22999999, 0.0208, -0.0208, 0.21, 0.0208, -0.0208, 0.22999999, 0.0208, -0.0208, 0.22999999, 0.099199995, -0.099199995, 0.22999999, 0.0208, -0.099199995, 0.22999999, 0.099199995, -0.099199995, 0.22999999, 0.0208, -0.0208, 0.22999999, 0.099199995, -0.0208, 0.21, 0.0208, -0.050899997, 0.21, 0.0691, -0.0208, 0.21, 0.099199995, -0.099199995, 0.21, 0.099199995, -0.0208, 0.21, 0.099199995, -0.050899997, 0.21, 0.0691, -0.050899997, 0.21, 0.0691, -0.0208, 0.21, 0.0208, -0.050899997, 0.21, 0.050899997, -0.0691, 0.21, 0.0691, -0.099199995, 0.21, 0.099199995, -0.050899997, 0.21, 0.0691, -0.099199995, 0.21, 0.0208, -0.050899997, 0.21, 0.050899997, -0.0208, 0.21, 0.0208, -0.0691, 0.21, 0.050899997, -0.099199995, 0.21, 0.099199995, -0.0691, 0.21, 0.0691, -0.0691, 0.21, 0.050899997, -0.050899997, 0.21, 0.050899997, -0.099199995, 0.21, 0.0208, -0.099199995, 0.21, 0.099199995, -0.0691, 0.21, 0.050899997, -0.099199995, 0.21, 0.0208, -0.050899997, 0.024999999, 0.0691, -0.0691, 0.024999999, 0.0691, -0.050899997, 0.21, 0.0691, -0.0691, 0.21, 0.0691, -0.050899997, 0.21, 0.0691, -0.0691, 0.024999999, 0.0691, -0.0208, 0.21, 0.099199995, -0.099199995, 0.21, 0.099199995, -0.0208, 0.22999999, 0.099199995, -0.099199995, 0.22999999, 0.099199995, -0.0208, 0.22999999, 0.099199995, -0.099199995, 0.21, 0.099199995, -0.099199995, 0.21, 0.0208, -0.099199995, 0.22999999, 0.0208, -0.099199995, 0.21, 0.099199995, -0.099199995, 0.22999999, 0.099199995, -0.099199995, 0.21, 0.099199995, -0.099199995, 0.22999999, 0.0208, -0.0691, 0.024999999, 0.050899997, -0.0691, 0.21, 0.050899997, -0.0691, 0.024999999, 0.0691, -0.0691, 0.21, 0.0691, -0.0691, 0.024999999, 0.0691, -0.0691, 0.21, 0.050899997) + +[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_fj6e6"] +points = PackedVector3Array(-0.4, 0, 0, 0, 0, 0, -0.4, 0, 0.25, -0.4, 0.85, 0, 0, 0, 0.25, 0, 0.85, 0, -0.4, 0.85, 0.25, 0, 0.85, 0.25) + [node name="Level" type="Node3D"] +[node name="WorldEnvironment" type="WorldEnvironment" parent="."] +environment = SubResource("Environment_5pxul") + [node name="StartXR" parent="." instance=ExtResource("1_8b0r0")] [node name="XRSimulator" parent="." instance=ExtResource("3_f2txt")] -[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."] -transform = Transform3D(-0.8660254, -0.43301278, 0.25, 0, 0.49999997, 0.86602545, -0.50000006, 0.75, -0.43301266, 0, 0, 0) -shadow_enabled = true - -[node name="WorldEnvironment" type="WorldEnvironment" parent="."] -environment = SubResource("Environment_f2txt") - [node name="Player" parent="." instance=ExtResource("2_0b4ue")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5, 2, 0) +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5, 1, 0) -[node name="Floor" type="StaticBody3D" parent="."] +[node name="Ceiling" type="StaticBody3D" parent="."] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3.05, 0) -[node name="Box" type="CSGBox3D" parent="Floor"] +[node name="Box" type="CSGBox3D" parent="Ceiling"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.05, 0) size = Vector3(20, 0.1, 15) -material = SubResource("StandardMaterial3D_h6smj") +material = SubResource("StandardMaterial3D_dtg4e") -[node name="Collision" type="CollisionShape3D" parent="Floor"] +[node name="Collision" type="CollisionShape3D" parent="Ceiling"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.05, 0) shape = SubResource("ConcavePolygonShape3D_nxitj") -[node name="floorFull" parent="Floor" instance=ExtResource("4_8b0r0")] +[node name="floorFull" parent="Ceiling" instance=ExtResource("4_8b0r0")] transform = Transform3D(20, 0, 0, 0, 0.1, 0, 0, 0, 15, -10, 0, -7.5) [node name="FloorMouseHole" type="StaticBody3D" parent="."] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.05, 0) [node name="Box" type="CSGBox3D" parent="FloorMouseHole"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -12.5, -0.05, -6.5) @@ -683,6 +706,7 @@ size = Vector3(1.5, 1.5, 0.1) shape = SubResource("ConcavePolygonShape3D_i2t4f") [node name="Walls" type="StaticBody3D" parent="."] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.05, 0) [node name="WallsCombiner" type="CSGCombiner3D" parent="Walls"] @@ -1027,3 +1051,107 @@ material = SubResource("StandardMaterial3D_yjxuc") [node name="CSGBakedCollisionShape3D" type="CollisionShape3D" parent="EndlessWalls"] shape = SubResource("ConcavePolygonShape3D_u3yai") + +[node name="FloorMesh" type="MeshInstance3D" parent="."] +transform = Transform3D(20, 0, 0, 0, 0.1, 0, 0, 0, 15, 10, -0.05, -7.5) +mesh = ExtResource("4_v5j5c") +skeleton = NodePath("") + +[node name="StaticBody3D" type="StaticBody3D" parent="FloorMesh"] + +[node name="CollisionShape3D" type="CollisionShape3D" parent="FloorMesh/StaticBody3D"] +shape = SubResource("ConcavePolygonShape3D_fj6e6") + +[node name="RugRound" type="MeshInstance3D" parent="."] +transform = Transform3D(4, 0, 0, 0, 4, 0, 0, 0, 4, 6.5529776, 0, -1.8160443) +mesh = ExtResource("16_5pxul") + +[node name="LampFloor" type="MeshInstance3D" parent="."] +transform = Transform3D(2, 0, 0, 0, 2, 0, 0, 0, 2, -1.0264539, -0.055401444, -1.7185531) +mesh = ExtResource("15_v5j5c") +skeleton = NodePath("../LampCeiling") +surface_material_override/1 = ExtResource("15_fedht") + +[node name="StaticBody3D" type="StaticBody3D" parent="LampFloor"] + +[node name="CollisionShape3D" type="CollisionShape3D" parent="LampFloor/StaticBody3D"] +shape = SubResource("ConcavePolygonShape3D_2h3vt") + +[node name="OmniLight3D" type="OmniLight3D" parent="LampFloor"] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.059792638, 0.75792307, 0.058504105) +light_color = Color(0.9999998, 0.97600156, 0.82039374, 1) +shadow_enabled = true +shadow_opacity = 0.2 +omni_range = 20.0 + +[node name="LampDesk" type="MeshInstance3D" parent="."] +transform = Transform3D(2, 0, 0, 0, 2, 0, 0, 0, 2, -9.25967, 1.1513798, -5.417075) +mesh = ExtResource("16_4c15r") +skeleton = NodePath("../LampCeiling") +surface_material_override/1 = ExtResource("15_fedht") + +[node name="StaticBody3D" type="StaticBody3D" parent="LampDesk"] + +[node name="CollisionShape3D" type="CollisionShape3D" parent="LampDesk/StaticBody3D"] +shape = SubResource("ConcavePolygonShape3D_2h3vt") + +[node name="OmniLight3D" type="OmniLight3D" parent="LampDesk"] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.05979252, 0.2235552, 0.058504105) +light_color = Color(0.9999998, 0.97600156, 0.82039374, 1) +light_energy = 0.25 +shadow_enabled = true +shadow_opacity = 0.2 +omni_attenuation = 2.0 + +[node name="LampCeiling" type="MeshInstance3D" parent="."] +transform = Transform3D(4, 0, 0, 0, 2, 0, 0, 0, 4, 4.868057, 2.6786077, -0.09295726) +mesh = ExtResource("14_h6smj") +surface_material_override/0 = ExtResource("15_fedht") + +[node name="StaticBody3D" type="StaticBody3D" parent="LampCeiling"] + +[node name="CollisionShape3D" type="CollisionShape3D" parent="LampCeiling/StaticBody3D"] +shape = SubResource("ConcavePolygonShape3D_2h3vt") + +[node name="OmniLight3D" type="OmniLight3D" parent="LampCeiling"] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.059792638, 0.011913776, 0.058504112) +light_color = Color(0.9999998, 0.97600156, 0.82039374, 1) +shadow_enabled = true +shadow_opacity = 0.2 +omni_range = 20.0 + +[node name="BedDouble" type="MeshInstance3D" parent="."] +transform = Transform3D(-8.742278e-08, 0, 2, 0, 2, 0, -2, 0, -8.742278e-08, 0.56529236, 0, 5.69729) +mesh = ExtResource("20_42xju") + +[node name="Table" type="MeshInstance3D" parent="."] +transform = Transform3D(2, 0, 0, 0, 2, 0, 0, 0, 2, 7.675036, 0, 4.2814264) +mesh = ExtResource("21_ilwjd") + +[node name="Chair" type="MeshInstance3D" parent="."] +transform = Transform3D(-8.742278e-08, 0, 2, 0, 2, 0, -2, 0, -8.742278e-08, 7.9298906, 0, 4.518753) +mesh = ExtResource("22_y3bce") + +[node name="Chair2" type="MeshInstance3D" parent="."] +transform = Transform3D(2, 0, 0, 0, 2, 0, 0, 0, 2, 6.7225423, 0, 5.4195642) +mesh = ExtResource("22_y3bce") +skeleton = NodePath("../Chair") + +[node name="Trash" type="MeshInstance3D" parent="."] +transform = Transform3D(-8.742278e-08, 0, -2, 0, 2, 0, 2, 0, -8.742278e-08, -9.296007, 0, -3.0788617) +mesh = ExtResource("23_y3bce") + +[node name="MeshInstance3D" type="MeshInstance3D" parent="."] +transform = Transform3D(-1.5071267, 0, 1.3147506, 0, 2, 0, -1.3147506, 0, -1.5071267, 7.5478053, 0, -5.367187) +mesh = ExtResource("24_u3yai") + +[node name="RigidBody3D" type="RigidBody3D" parent="."] +transform = Transform3D(-0.98628557, 0, -0.16504776, 0, 1, 0, 0.16504776, 0, -0.98628557, 1.4925582, 0.050784707, -6.055413) + +[node name="MeshInstance3D" type="MeshInstance3D" parent="RigidBody3D"] +transform = Transform3D(2, 0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0) +mesh = ExtResource("25_fj6e6") + +[node name="CollisionShape3D2" type="CollisionShape3D" parent="RigidBody3D"] +transform = Transform3D(2, 0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0) +shape = SubResource("ConvexPolygonShape3D_fj6e6") diff --git a/player.tscn b/player.tscn index b11930f..a35c9dc 100644 --- a/player.tscn +++ b/player.tscn @@ -1,20 +1,15 @@ -[gd_scene load_steps=9 format=3 uid="uid://srkkei4i3bwx"] +[gd_scene load_steps=8 format=3 uid="uid://srkkei4i3bwx"] [ext_resource type="PackedScene" uid="uid://njx823gyk04n" path="res://addons/godot-xr-tools/hands/scenes/highpoly/left_hand.tscn" id="2_hqtel"] [ext_resource type="PackedScene" uid="uid://raeeicvvindd" path="res://addons/godot-xr-tools/hands/scenes/highpoly/right_hand.tscn" id="2_i3pqv"] [ext_resource type="PackedScene" uid="uid://bl2nuu3qhlb5k" path="res://addons/godot-xr-tools/functions/movement_direct.tscn" id="2_sweqy"] [ext_resource type="PackedScene" uid="uid://diyu06cw06syv" path="res://addons/godot-xr-tools/player/player_body.tscn" id="4_2hs0m"] [ext_resource type="Script" uid="uid://ceqc6auge0rjs" path="res://ChronoWatch.gd" id="4_sweqy"] +[ext_resource type="PackedScene" uid="uid://buevt1k3wgtq6" path="res://watch.tscn" id="6_1jxqw"] [sub_resource type="BoxShape3D" id="BoxShape3D_hqtel"] size = Vector3(0.1, 0.1, 0.2) -[sub_resource type="SphereMesh" id="SphereMesh_hqtel"] -radius = 0.05 -height = 0.1 - -[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_sweqy"] - [node name="Player" type="XROrigin3D"] [node name="Camera" type="XRCamera3D" parent="."] @@ -44,14 +39,15 @@ hand_offset_mode = 4 [node name="CollisionShape3D" type="CollisionShape3D" parent="RightController/Area3D"] shape = SubResource("BoxShape3D_hqtel") -[node name="Watch" type="Node3D" parent="RightController/Area3D" node_paths=PackedStringArray("controller", "player_body")] +[node name="Watch" type="Node3D" parent="RightController/Area3D" node_paths=PackedStringArray("controller", "player_body", "player")] +transform = Transform3D(0.7, 0, 0, 0, 0.7, 0, 0, 0, 0.7, 0, 0, 0) script = ExtResource("4_sweqy") controller = NodePath("../..") player_body = NodePath("../../../PlayerBody") +player = NodePath("../../..") -[node name="CSGMesh3D" type="CSGMesh3D" parent="RightController/Area3D/Watch"] -mesh = SubResource("SphereMesh_hqtel") -material = SubResource("StandardMaterial3D_sweqy") +[node name="Sketchfab_Scene" parent="RightController/Area3D/Watch" instance=ExtResource("6_1jxqw")] +transform = Transform3D(0.00025759128, -0.0019833425, 0, 0.0018915471, 0.00024566916, -0.0006014116, 0.00059640256, 7.745919e-05, 0.001907434, 0, -0.034, 0.108) [node name="PlayerBody" parent="." instance=ExtResource("4_2hs0m")] player_height_rate = 20.0 diff --git a/soviet_stopwatch.glb b/soviet_stopwatch.glb new file mode 100644 index 0000000..1ead792 Binary files /dev/null and b/soviet_stopwatch.glb differ diff --git a/soviet_stopwatch.glb.import b/soviet_stopwatch.glb.import new file mode 100644 index 0000000..ce41895 --- /dev/null +++ b/soviet_stopwatch.glb.import @@ -0,0 +1,42 @@ +[remap] + +importer="scene" +importer_version=1 +type="PackedScene" +uid="uid://b7km8snujtv88" +path="res://.godot/imported/soviet_stopwatch.glb-81df29526d8e1e28e3ff8e514b295a41.scn" + +[deps] + +source_file="res://soviet_stopwatch.glb" +dest_files=["res://.godot/imported/soviet_stopwatch.glb-81df29526d8e1e28e3ff8e514b295a41.scn"] + +[params] + +nodes/root_type="" +nodes/root_name="" +nodes/root_script=null +nodes/apply_root_scale=true +nodes/root_scale=1.0 +nodes/import_as_skeleton_bones=false +nodes/use_name_suffixes=true +nodes/use_node_type_suffixes=true +meshes/ensure_tangents=true +meshes/generate_lods=true +meshes/create_shadow_meshes=true +meshes/light_baking=1 +meshes/lightmap_texel_size=0.2 +meshes/force_disable_compression=false +skins/use_named_skins=true +animation/import=true +animation/fps=30 +animation/trimming=false +animation/remove_immutable_tracks=true +animation/import_rest_as_RESET=false +import_script/path="" +materials/extract=0 +materials/extract_format=0 +materials/extract_path="" +_subresources={} +gltf/naming_version=2 +gltf/embedded_image_handling=1 diff --git a/soviet_stopwatch_0.png b/soviet_stopwatch_0.png new file mode 100644 index 0000000..ceb214b Binary files /dev/null and b/soviet_stopwatch_0.png differ diff --git a/soviet_stopwatch_0.png.import b/soviet_stopwatch_0.png.import new file mode 100644 index 0000000..77bde1e --- /dev/null +++ b/soviet_stopwatch_0.png.import @@ -0,0 +1,45 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://boxxryiaa2prc" +path.s3tc="res://.godot/imported/soviet_stopwatch_0.png-1d78b1e5ca08020f8b81272d1097189d.s3tc.ctex" +path.etc2="res://.godot/imported/soviet_stopwatch_0.png-1d78b1e5ca08020f8b81272d1097189d.etc2.ctex" +metadata={ +"imported_formats": ["s3tc_bptc", "etc2_astc"], +"vram_texture": true +} +generator_parameters={ +"md5": "e3f5379041d863dba739a9270a3a1ddf" +} + +[deps] + +source_file="res://soviet_stopwatch_0.png" +dest_files=["res://.godot/imported/soviet_stopwatch_0.png-1d78b1e5ca08020f8b81272d1097189d.s3tc.ctex", "res://.godot/imported/soviet_stopwatch_0.png-1d78b1e5ca08020f8b81272d1097189d.etc2.ctex"] + +[params] + +compress/mode=2 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=true +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=0 diff --git a/soviet_stopwatch_1.png b/soviet_stopwatch_1.png new file mode 100644 index 0000000..1e910b9 Binary files /dev/null and b/soviet_stopwatch_1.png differ diff --git a/soviet_stopwatch_1.png.import b/soviet_stopwatch_1.png.import new file mode 100644 index 0000000..ae406b1 --- /dev/null +++ b/soviet_stopwatch_1.png.import @@ -0,0 +1,45 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://btocqqp8hqpoa" +path.s3tc="res://.godot/imported/soviet_stopwatch_1.png-1171d9feed63db9eae28300dd6aa21fb.s3tc.ctex" +path.etc2="res://.godot/imported/soviet_stopwatch_1.png-1171d9feed63db9eae28300dd6aa21fb.etc2.ctex" +metadata={ +"imported_formats": ["s3tc_bptc", "etc2_astc"], +"vram_texture": true +} +generator_parameters={ +"md5": "e3b9f9cf927bd72cc11cde9c5c7415f8" +} + +[deps] + +source_file="res://soviet_stopwatch_1.png" +dest_files=["res://.godot/imported/soviet_stopwatch_1.png-1171d9feed63db9eae28300dd6aa21fb.s3tc.ctex", "res://.godot/imported/soviet_stopwatch_1.png-1171d9feed63db9eae28300dd6aa21fb.etc2.ctex"] + +[params] + +compress/mode=2 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=true +mipmaps/limit=-1 +roughness/mode=8 +roughness/src_normal="res://soviet_stopwatch_2.png" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=0 diff --git a/soviet_stopwatch_2.png b/soviet_stopwatch_2.png new file mode 100644 index 0000000..4989d0e Binary files /dev/null and b/soviet_stopwatch_2.png differ diff --git a/soviet_stopwatch_2.png.import b/soviet_stopwatch_2.png.import new file mode 100644 index 0000000..c612401 --- /dev/null +++ b/soviet_stopwatch_2.png.import @@ -0,0 +1,45 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cbmhk3g300v3p" +path.s3tc="res://.godot/imported/soviet_stopwatch_2.png-b21f004519680b2a86b6ae237d4c64f0.s3tc.ctex" +path.etc2="res://.godot/imported/soviet_stopwatch_2.png-b21f004519680b2a86b6ae237d4c64f0.etc2.ctex" +metadata={ +"imported_formats": ["s3tc_bptc", "etc2_astc"], +"vram_texture": true +} +generator_parameters={ +"md5": "f9c7bf1bf0f625907f4343887e189520" +} + +[deps] + +source_file="res://soviet_stopwatch_2.png" +dest_files=["res://.godot/imported/soviet_stopwatch_2.png-b21f004519680b2a86b6ae237d4c64f0.s3tc.ctex", "res://.godot/imported/soviet_stopwatch_2.png-b21f004519680b2a86b6ae237d4c64f0.etc2.ctex"] + +[params] + +compress/mode=2 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=1 +compress/channel_pack=0 +mipmaps/generate=true +mipmaps/limit=-1 +roughness/mode=1 +roughness/src_normal="res://soviet_stopwatch_2.png" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=0 diff --git a/soviet_stopwatch_3.png b/soviet_stopwatch_3.png new file mode 100644 index 0000000..db0cb00 Binary files /dev/null and b/soviet_stopwatch_3.png differ diff --git a/soviet_stopwatch_3.png.import b/soviet_stopwatch_3.png.import new file mode 100644 index 0000000..1d02f7b --- /dev/null +++ b/soviet_stopwatch_3.png.import @@ -0,0 +1,45 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://owtiqwxg714x" +path.s3tc="res://.godot/imported/soviet_stopwatch_3.png-98a1501b1c9069e4c0c2c7f3f580e2ad.s3tc.ctex" +path.etc2="res://.godot/imported/soviet_stopwatch_3.png-98a1501b1c9069e4c0c2c7f3f580e2ad.etc2.ctex" +metadata={ +"imported_formats": ["s3tc_bptc", "etc2_astc"], +"vram_texture": true +} +generator_parameters={ +"md5": "e70e09286c494b6524dc9016a87b85bf" +} + +[deps] + +source_file="res://soviet_stopwatch_3.png" +dest_files=["res://.godot/imported/soviet_stopwatch_3.png-98a1501b1c9069e4c0c2c7f3f580e2ad.s3tc.ctex", "res://.godot/imported/soviet_stopwatch_3.png-98a1501b1c9069e4c0c2c7f3f580e2ad.etc2.ctex"] + +[params] + +compress/mode=2 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=true +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=0 diff --git a/soviet_stopwatch_4.png b/soviet_stopwatch_4.png new file mode 100644 index 0000000..544254c Binary files /dev/null and b/soviet_stopwatch_4.png differ diff --git a/soviet_stopwatch_4.png.import b/soviet_stopwatch_4.png.import new file mode 100644 index 0000000..99ff849 --- /dev/null +++ b/soviet_stopwatch_4.png.import @@ -0,0 +1,45 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://7hq3jrqm23l8" +path.s3tc="res://.godot/imported/soviet_stopwatch_4.png-402465da973ccc00a58c0ec8c5a87191.s3tc.ctex" +path.etc2="res://.godot/imported/soviet_stopwatch_4.png-402465da973ccc00a58c0ec8c5a87191.etc2.ctex" +metadata={ +"imported_formats": ["s3tc_bptc", "etc2_astc"], +"vram_texture": true +} +generator_parameters={ +"md5": "0cccc8f5a9747826dc2d15aa374f3e02" +} + +[deps] + +source_file="res://soviet_stopwatch_4.png" +dest_files=["res://.godot/imported/soviet_stopwatch_4.png-402465da973ccc00a58c0ec8c5a87191.s3tc.ctex", "res://.godot/imported/soviet_stopwatch_4.png-402465da973ccc00a58c0ec8c5a87191.etc2.ctex"] + +[params] + +compress/mode=2 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=true +mipmaps/limit=-1 +roughness/mode=8 +roughness/src_normal="res://soviet_stopwatch_5.png" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=0 diff --git a/soviet_stopwatch_5.png b/soviet_stopwatch_5.png new file mode 100644 index 0000000..5e60b87 Binary files /dev/null and b/soviet_stopwatch_5.png differ diff --git a/soviet_stopwatch_5.png.import b/soviet_stopwatch_5.png.import new file mode 100644 index 0000000..0bd8160 --- /dev/null +++ b/soviet_stopwatch_5.png.import @@ -0,0 +1,45 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bnue6m364vknt" +path.s3tc="res://.godot/imported/soviet_stopwatch_5.png-ec656e7b95adef8908eaa9a2643001f9.s3tc.ctex" +path.etc2="res://.godot/imported/soviet_stopwatch_5.png-ec656e7b95adef8908eaa9a2643001f9.etc2.ctex" +metadata={ +"imported_formats": ["s3tc_bptc", "etc2_astc"], +"vram_texture": true +} +generator_parameters={ +"md5": "4d24f22da878ac2b938c0a7a2b9ef1f1" +} + +[deps] + +source_file="res://soviet_stopwatch_5.png" +dest_files=["res://.godot/imported/soviet_stopwatch_5.png-ec656e7b95adef8908eaa9a2643001f9.s3tc.ctex", "res://.godot/imported/soviet_stopwatch_5.png-ec656e7b95adef8908eaa9a2643001f9.etc2.ctex"] + +[params] + +compress/mode=2 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=1 +compress/channel_pack=0 +mipmaps/generate=true +mipmaps/limit=-1 +roughness/mode=1 +roughness/src_normal="res://soviet_stopwatch_5.png" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=0 diff --git a/soviet_stopwatch_6.png b/soviet_stopwatch_6.png new file mode 100644 index 0000000..80d2471 Binary files /dev/null and b/soviet_stopwatch_6.png differ diff --git a/soviet_stopwatch_6.png.import b/soviet_stopwatch_6.png.import new file mode 100644 index 0000000..1bbe6d3 --- /dev/null +++ b/soviet_stopwatch_6.png.import @@ -0,0 +1,45 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bejtnhrfj4r3o" +path.s3tc="res://.godot/imported/soviet_stopwatch_6.png-b231614a235c33e29df52e17809d83a2.s3tc.ctex" +path.etc2="res://.godot/imported/soviet_stopwatch_6.png-b231614a235c33e29df52e17809d83a2.etc2.ctex" +metadata={ +"imported_formats": ["s3tc_bptc", "etc2_astc"], +"vram_texture": true +} +generator_parameters={ +"md5": "df4337f33fbe415626cc586b478e5483" +} + +[deps] + +source_file="res://soviet_stopwatch_6.png" +dest_files=["res://.godot/imported/soviet_stopwatch_6.png-b231614a235c33e29df52e17809d83a2.s3tc.ctex", "res://.godot/imported/soviet_stopwatch_6.png-b231614a235c33e29df52e17809d83a2.etc2.ctex"] + +[params] + +compress/mode=2 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=true +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=0 diff --git a/soviet_stopwatch_7.png b/soviet_stopwatch_7.png new file mode 100644 index 0000000..740d52f Binary files /dev/null and b/soviet_stopwatch_7.png differ diff --git a/soviet_stopwatch_7.png.import b/soviet_stopwatch_7.png.import new file mode 100644 index 0000000..a9de621 --- /dev/null +++ b/soviet_stopwatch_7.png.import @@ -0,0 +1,45 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://mhjbmw3x84nm" +path.s3tc="res://.godot/imported/soviet_stopwatch_7.png-027395902c0760263cf3311c8a3365bd.s3tc.ctex" +path.etc2="res://.godot/imported/soviet_stopwatch_7.png-027395902c0760263cf3311c8a3365bd.etc2.ctex" +metadata={ +"imported_formats": ["s3tc_bptc", "etc2_astc"], +"vram_texture": true +} +generator_parameters={ +"md5": "1707088d70ab26366c60033dba99a3a8" +} + +[deps] + +source_file="res://soviet_stopwatch_7.png" +dest_files=["res://.godot/imported/soviet_stopwatch_7.png-027395902c0760263cf3311c8a3365bd.s3tc.ctex", "res://.godot/imported/soviet_stopwatch_7.png-027395902c0760263cf3311c8a3365bd.etc2.ctex"] + +[params] + +compress/mode=2 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=true +mipmaps/limit=-1 +roughness/mode=8 +roughness/src_normal="res://soviet_stopwatch_8.png" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=0 diff --git a/soviet_stopwatch_8.png b/soviet_stopwatch_8.png new file mode 100644 index 0000000..091e8dc Binary files /dev/null and b/soviet_stopwatch_8.png differ diff --git a/soviet_stopwatch_8.png.import b/soviet_stopwatch_8.png.import new file mode 100644 index 0000000..2fc6ceb --- /dev/null +++ b/soviet_stopwatch_8.png.import @@ -0,0 +1,45 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dbyj7e3b5onn4" +path.s3tc="res://.godot/imported/soviet_stopwatch_8.png-41f3f4729f7abc27df55ef0fd8f18aed.s3tc.ctex" +path.etc2="res://.godot/imported/soviet_stopwatch_8.png-41f3f4729f7abc27df55ef0fd8f18aed.etc2.ctex" +metadata={ +"imported_formats": ["s3tc_bptc", "etc2_astc"], +"vram_texture": true +} +generator_parameters={ +"md5": "e5eda68ff23b6728ef4f6959d0d5c4d9" +} + +[deps] + +source_file="res://soviet_stopwatch_8.png" +dest_files=["res://.godot/imported/soviet_stopwatch_8.png-41f3f4729f7abc27df55ef0fd8f18aed.s3tc.ctex", "res://.godot/imported/soviet_stopwatch_8.png-41f3f4729f7abc27df55ef0fd8f18aed.etc2.ctex"] + +[params] + +compress/mode=2 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=1 +compress/channel_pack=0 +mipmaps/generate=true +mipmaps/limit=-1 +roughness/mode=1 +roughness/src_normal="res://soviet_stopwatch_8.png" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=0 diff --git a/stopwatch.mtl b/stopwatch.mtl new file mode 100644 index 0000000..5ac4bc4 --- /dev/null +++ b/stopwatch.mtl @@ -0,0 +1,60 @@ +# 3ds Max Wavefront OBJ Exporter v0.99 - (c)2007 guruware +# File Created: 31.10.2022 18:51:07 + +newmtl STEEL + Kd 0.5000 0.5000 0.5000 + Ks 1.0000 1.0000 1.0000 + Tr 0.0000 + d 1.0000 + Tf 1.0000 1.0000 1.0000 + Pr 0.0000 + Pm 0.0000 + Pc 0.0000 + Pcr 0.0000 + Ni 1.5200 + Ke 0.0000 0.0000 0.0000 + illum 2 + map_Kd -bm 0.0000 textures\Map__20_Composite.png + map_Pr textures\steel_R.png + map_Pm textures\steel_M.png + bump textures\steel_N.png + map_bump textures\steel_N.png + +newmtl GLASS + Kd 0.5000 0.5000 0.5000 + Ks 1.0000 1.0000 1.0000 + Tr 0.0000 + d 1.0000 + Tf 1.0000 1.0000 1.0000 + Pr 0.0000 + Pm 0.0000 + Pc 0.0000 + Pcr 0.0000 + Ni 1.5200 + Ke 0.0000 0.0000 0.0000 + illum 2 + map_Kd textures\glass_D_alpha.png + map_d textures\glass_O.png + map_Pr textures\glass_R.png + map_Pm textures\glass_M.png + bump textures\glass_N.png + map_bump textures\glass_N.png + +newmtl FACE + Kd 0.5000 0.5000 0.5000 + Ks 1.0000 1.0000 1.0000 + Tr 0.0000 + d 1.0000 + Tf 1.0000 1.0000 1.0000 + Pr 0.0000 + Pm 0.0000 + Pc 0.0000 + Pcr 0.0000 + Ni 1.5200 + Ke 0.0000 0.0000 0.0000 + illum 2 + map_Kd -bm 0.0000 textures\Map__18_Composite.png + map_Pr textures\face_R.png + map_Pm textures\face_M.png + bump textures\face_N.png + map_bump textures\face_N.png diff --git a/watch.tscn b/watch.tscn new file mode 100644 index 0000000..c73d206 --- /dev/null +++ b/watch.tscn @@ -0,0 +1,5 @@ +[gd_scene load_steps=2 format=3 uid="uid://buevt1k3wgtq6"] + +[ext_resource type="PackedScene" uid="uid://b7km8snujtv88" path="res://soviet_stopwatch.glb" id="1_3rl8q"] + +[node name="Sketchfab_Scene" instance=ExtResource("1_3rl8q")]