2023-12-11 13:17:59 +02:00
|
|
|
[gd_scene load_steps=9 format=3 uid="uid://lrehk38exd5n"]
|
2023-11-21 12:40:06 +02:00
|
|
|
|
2023-11-22 18:07:28 +02:00
|
|
|
[ext_resource type="Script" path="res://content/system/keyboard/keyboard.gd" id="1_maojw"]
|
2023-11-21 12:40:06 +02:00
|
|
|
[ext_resource type="PackedScene" uid="uid://bsjqdvkt0u87c" path="res://content/ui/components/button/button.tscn" id="1_xdpwr"]
|
2023-12-13 23:22:52 +02:00
|
|
|
[ext_resource type="Script" path="res://content/ui/components/grid_container/grid_container.gd" id="3_mx544"]
|
2023-11-22 02:44:07 +02:00
|
|
|
[ext_resource type="Script" path="res://content/functions/movable.gd" id="4_86fct"]
|
2023-12-10 02:47:21 +02:00
|
|
|
[ext_resource type="Material" uid="uid://bnwimm214q67g" path="res://assets/materials/sec-500.material" id="5_8c8rc"]
|
2023-12-11 13:17:59 +02:00
|
|
|
[ext_resource type="Script" path="res://content/functions/occludable.gd" id="6_y4sdl"]
|
2023-11-21 12:40:06 +02:00
|
|
|
|
2023-11-22 02:44:07 +02:00
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_k5ib7"]
|
2023-11-25 02:46:41 +02:00
|
|
|
size = Vector3(0.79, 0.01, 0.26)
|
|
|
|
|
|
|
|
[sub_resource type="BoxMesh" id="BoxMesh_7rntc"]
|
|
|
|
size = Vector3(0.79, 0.01, 0.26)
|
2023-11-22 02:44:07 +02:00
|
|
|
|
2023-11-28 15:20:38 +02:00
|
|
|
[node name="Keyboard" type="StaticBody3D" groups=["ui_focus_stop"]]
|
2023-11-22 02:44:07 +02:00
|
|
|
transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0, 0, 0)
|
2023-11-28 16:14:21 +02:00
|
|
|
collision_layer = 2
|
|
|
|
collision_mask = 2
|
2023-11-21 12:40:06 +02:00
|
|
|
script = ExtResource("1_maojw")
|
|
|
|
|
2023-11-28 00:46:05 +02:00
|
|
|
[node name="Backspace" parent="." instance=ExtResource("1_xdpwr")]
|
2023-11-22 02:44:07 +02:00
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.66, 0, 0.02)
|
2023-11-28 00:46:05 +02:00
|
|
|
focusable = false
|
2023-11-26 01:02:03 +02:00
|
|
|
label = "backspace"
|
|
|
|
icon = true
|
2023-11-22 02:44:07 +02:00
|
|
|
metadata/key = 4194308
|
|
|
|
|
2023-11-28 00:46:05 +02:00
|
|
|
[node name="Caps" parent="." instance=ExtResource("1_xdpwr")]
|
2023-11-22 02:44:07 +02:00
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.06, 0, 0.15)
|
2023-11-28 00:46:05 +02:00
|
|
|
focusable = false
|
2023-11-26 01:02:03 +02:00
|
|
|
label = "keyboard_capslock"
|
|
|
|
icon = true
|
2023-11-21 12:40:06 +02:00
|
|
|
toggleable = true
|
|
|
|
|
2023-11-28 00:46:05 +02:00
|
|
|
[node name="Paste" parent="." instance=ExtResource("1_xdpwr")]
|
2023-11-23 00:59:46 +02:00
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.66, 0, 0.18)
|
2023-11-28 00:46:05 +02:00
|
|
|
focusable = false
|
2023-11-26 01:02:03 +02:00
|
|
|
label = "assignment"
|
|
|
|
icon = true
|
2023-11-23 00:59:46 +02:00
|
|
|
|
2023-11-21 12:40:06 +02:00
|
|
|
[node name="Keys" type="Node3D" parent="."]
|
|
|
|
script = ExtResource("3_mx544")
|
2023-11-22 02:44:07 +02:00
|
|
|
columns = 11
|
2023-11-21 12:40:06 +02:00
|
|
|
depth_gap = 0.06
|
|
|
|
size = Vector3(0.6, 1, 1)
|
2023-11-22 02:44:07 +02:00
|
|
|
|
|
|
|
[node name="Movable" type="Node" parent="."]
|
|
|
|
script = ExtResource("4_86fct")
|
|
|
|
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
2023-11-25 02:46:41 +02:00
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.300719, -0.009645, 0.0928761)
|
2023-11-22 02:44:07 +02:00
|
|
|
shape = SubResource("BoxShape3D_k5ib7")
|
2023-11-25 02:46:41 +02:00
|
|
|
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.300719, -0.009645, 0.0928761)
|
2023-12-10 02:47:21 +02:00
|
|
|
material_override = ExtResource("5_8c8rc")
|
2023-11-25 02:46:41 +02:00
|
|
|
mesh = SubResource("BoxMesh_7rntc")
|
2023-12-11 13:17:59 +02:00
|
|
|
|
|
|
|
[node name="Occludable" type="Node" parent="."]
|
|
|
|
script = ExtResource("6_y4sdl")
|