From 5de60b3571b8fe4952149fba8d6b1e4f514b392d Mon Sep 17 00:00:00 2001 From: Henry Date: Wed, 13 May 2026 16:27:47 +0100 Subject: [PATCH] Added virtua hand sprite and placeholder hand scenes. --- images/virtua_hand.png | Bin 0 -> 638 bytes images/virtua_hand.png.import | 40 ++++++++++++++++++++++++++++++++++ scenes/elevator_panel.tscn | 11 +++++++++- scenes/game.tscn | 12 +++++----- scenes/virtua_hand.tscn | 8 +++++++ scenes/world.tscn | 17 +++++++-------- 6 files changed, 72 insertions(+), 16 deletions(-) create mode 100644 images/virtua_hand.png create mode 100644 images/virtua_hand.png.import create mode 100644 scenes/virtua_hand.tscn diff --git a/images/virtua_hand.png b/images/virtua_hand.png new file mode 100644 index 0000000000000000000000000000000000000000..a97398e54f446280573fed2bc268f7a027d8b004 GIT binary patch literal 638 zcmeAS@N?(olHy`uVBq!ia0vp^W9 zx53&YdVZ@n#{2DVR=s;`&xuWY=e$YInY}}1vVQW3If~ZN<&^^E(FxjuXUyi>)G27# z%;ICcReani)Bcc`jftt+@k=X;FYS4J$=liR?3}6zCfyV5gu;Bh`#e>6CAPUL@ZNse z6cY9Mtk>Mlms1M1^#5JJaCg$<+8kB+`u)3hY|eEuyREt0H}u4@nDqOz++MBQHHo>v zr~6CDmMt4DzYAJ!*7+oKhG9VsQ}Oqk$@f1ptN%R{XK-|W!KIFilWKXb(*v^3tZbUP z;pD%bqj8&y3n%-Qv1`w(2U6VH`HhddJHIUw|5Ltvf82KY*V&FURypPF28KI>r>mdK II;Vst038oNvH$=8 literal 0 HcmV?d00001 diff --git a/images/virtua_hand.png.import b/images/virtua_hand.png.import new file mode 100644 index 0000000..2903dba --- /dev/null +++ b/images/virtua_hand.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://51p1gbyn5l02" +path="res://.godot/imported/virtua_hand.png-084dbdae92f1c48ec562ac4ffb96e407.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://images/virtua_hand.png" +dest_files=["res://.godot/imported/virtua_hand.png-084dbdae92f1c48ec562ac4ffb96e407.ctex"] + +[params] + +compress/mode=0 +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/scenes/elevator_panel.tscn b/scenes/elevator_panel.tscn index 304bf68..e62a9c5 100644 --- a/scenes/elevator_panel.tscn +++ b/scenes/elevator_panel.tscn @@ -2,6 +2,7 @@ [ext_resource type="Script" uid="uid://k1n4iyxp4iww" path="res://scenes/elevator_panel.gd" id="1_1gr6t"] [ext_resource type="Script" uid="uid://kltqwef8yx3r" path="res://scenes/screen.gd" id="1_3gei6"] +[ext_resource type="Texture2D" uid="uid://51p1gbyn5l02" path="res://images/virtua_hand.png" id="2_03crn"] [ext_resource type="Script" path="res://scenes/pulse.gd" id="2_pulse"] [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_n2snw"] @@ -32,6 +33,14 @@ theme_override_constants/margin_top = 15 theme_override_constants/margin_right = 15 theme_override_constants/margin_bottom = 15 +[node name="VirtuaHandTemp" type="Sprite2D" parent="PanelMargin" unique_id=14079675] +visible = false +z_index = 1 +texture_filter = 1 +position = Vector2(94, 438) +scale = Vector2(3.75, 3.75) +texture = ExtResource("2_03crn") + [node name="PanelColumn" type="VBoxContainer" parent="PanelMargin" unique_id=434338875] layout_mode = 2 @@ -65,7 +74,7 @@ theme_override_colors/font_color = Color(0.2, 1, 0.2, 1) theme_override_font_sizes/font_size = 32 text = ">:)" -[node name="Pulse" type="Node" parent="PanelMargin/PanelColumn/Screen"] +[node name="Pulse" type="Node" parent="PanelMargin/PanelColumn/Screen" unique_id=988615527] script = ExtResource("2_pulse") [node name="CloseButton" type="Button" parent="PanelMargin/PanelColumn" unique_id=554485629] diff --git a/scenes/game.tscn b/scenes/game.tscn index 8c88d4e..4c7222b 100644 --- a/scenes/game.tscn +++ b/scenes/game.tscn @@ -8,14 +8,14 @@ [ext_resource type="AudioStream" uid="uid://bavo8f76jr7i6" path="res://audio/ElevatorOpen1.wav" id="5_u5sy4"] [ext_resource type="AudioStream" uid="uid://dgqb1rovgwuan" path="res://audio/ElevatorClose1.wav" id="6_gee14"] [ext_resource type="AudioStream" uid="uid://c2iaspcnilk5" path="res://audio/556700__nachtmahrtv__elevator-bell.wav" id="7_bell"] -[ext_resource type="AudioStream" path="res://audio/Robot - Deep Breath.wav" id="8_breath"] -[ext_resource type="AudioStream" path="res://audio/Robot - Sounds Difficult.wav" id="9_diff"] -[ext_resource type="AudioStream" path="res://audio/Robot - I Understand.wav" id="10_under"] -[ext_resource type="AudioStream" path="res://audio/Robot - Thank You.wav" id="11_thx"] -[ext_resource type="AudioStream" path="res://audio/Ambience.wav" id="12_amb"] +[ext_resource type="AudioStream" uid="uid://bj5adk0tb5ymj" path="res://audio/Robot - Deep Breath.wav" id="8_breath"] [ext_resource type="PackedScene" uid="uid://bb0o3ov6u308v" path="res://scenes/component_spawn.tscn" id="9_0tnpc"] +[ext_resource type="AudioStream" uid="uid://ddaxnm2wg2ubd" path="res://audio/Robot - Sounds Difficult.wav" id="9_diff"] [ext_resource type="PackedScene" path="res://scenes/end_screen.tscn" id="10_endsc"] +[ext_resource type="AudioStream" uid="uid://dln0g1bnjh1of" path="res://audio/Robot - I Understand.wav" id="10_under"] +[ext_resource type="AudioStream" uid="uid://bwovhu6jfk0vt" path="res://audio/Robot - Thank You.wav" id="11_thx"] [ext_resource type="PackedScene" uid="uid://sgakdvtoblmd" path="res://scenes/title_screen.tscn" id="11_title"] +[ext_resource type="AudioStream" uid="uid://b3d6rntbosvc6" path="res://audio/Ambience.wav" id="12_amb"] [ext_resource type="PackedScene" path="res://scenes/pause_menu.tscn" id="12_pause"] [node name="Game" type="Node3D" unique_id=1456297160] @@ -63,8 +63,8 @@ stream = ExtResource("11_thx") [node name="Ambience" type="AudioStreamPlayer" parent="." unique_id=1100000005] process_mode = 3 stream = ExtResource("12_amb") -autoplay = true volume_db = -6.0 +autoplay = true [node name="ComponentSpawn" parent="." unique_id=649225939 instance=ExtResource("9_0tnpc")] diff --git a/scenes/virtua_hand.tscn b/scenes/virtua_hand.tscn new file mode 100644 index 0000000..b7fae54 --- /dev/null +++ b/scenes/virtua_hand.tscn @@ -0,0 +1,8 @@ +[gd_scene format=3 uid="uid://bkqwi2yqa0nvg"] + +[ext_resource type="Texture2D" uid="uid://51p1gbyn5l02" path="res://images/virtua_hand.png" id="1_ikq7c"] + +[node name="VirtuaHand" type="Sprite3D" unique_id=1811028460] +billboard = 1 +texture_filter = 0 +texture = ExtResource("1_ikq7c") diff --git a/scenes/world.tscn b/scenes/world.tscn index a173429..edc5db1 100644 --- a/scenes/world.tscn +++ b/scenes/world.tscn @@ -2,9 +2,9 @@ [ext_resource type="PackedScene" uid="uid://dowvqakiqkvk5" path="res://scenes/camera_3d.tscn" id="1_f3sb7"] [ext_resource type="PackedScene" uid="uid://cxnocjdotkl5e" path="res://scenes/hall_block.tscn" id="1_tlwt5"] -[ext_resource type="PackedScene" uid="uid://v07x1vbept3i" path="res://scenes/robot.tscn" id="3_71j4m"] [ext_resource type="PackedScene" uid="uid://brd3iponame0e" path="res://scenes/elevator.tscn" id="4_k0juu"] -[ext_resource type="Script" path="res://scenes/world.gd" id="5_world"] +[ext_resource type="PackedScene" uid="uid://bkqwi2yqa0nvg" path="res://scenes/virtua_hand.tscn" id="5_71j4m"] +[ext_resource type="Script" uid="uid://c6v2lhrkeup5i" path="res://scenes/world.gd" id="5_world"] [sub_resource type="BoxShape3D" id="BoxShape3D_k0juu"] size = Vector3(3.8, 6.6328125, 0.8612671) @@ -38,19 +38,15 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -8.351522) [node name="Elevator" parent="ElevatorSafeZone" unique_id=242258467 instance=ExtResource("4_k0juu")] transform = Transform3D(4, 0, 0, 0, 4, 0, 0, 0, 4, 0, 3, -0.061756134) -[node name="WallDisplay" type="Label3D" parent="ElevatorSafeZone/Elevator"] +[node name="WallDisplay" type="Label3D" parent="ElevatorSafeZone/Elevator" unique_id=1043205963] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.95, 0.05) -pixel_size = 0.005 +modulate = Color(0.83, 0.63, 0.09, 1) text = "10" font_size = 96 outline_size = 0 -modulate = Color(0.83, 0.63, 0.09, 1) -horizontal_alignment = 1 -vertical_alignment = 1 -[node name="ElevatorHum" type="AudioStreamPlayer3D" parent="ElevatorSafeZone/Elevator"] +[node name="ElevatorHum" type="AudioStreamPlayer3D" parent="ElevatorSafeZone/Elevator" unique_id=726289131] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0) -autoplay = false unit_size = 4.0 max_distance = 30.0 @@ -67,3 +63,6 @@ gizmo_extents = 1.46 unique_name_in_owner = true transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.5, 11.5) gizmo_extents = 1.46 + +[node name="VirtuaHand" parent="." unique_id=1811028460 instance=ExtResource("5_71j4m")] +transform = Transform3D(3, 0, 0, 0, 3, 0, 0, 0, 3, -2.9284577, 0.9347658, -8.833771)