2023-11-23 00:59:46 +02:00
|
|
|
[gd_scene load_steps=10 format=3 uid="uid://blrhy2uccrdn4"]
|
|
|
|
|
2023-12-10 02:47:21 +02:00
|
|
|
[ext_resource type="Material" uid="uid://bujy3egn1oqac" path="res://assets/materials/pri-500.material" id="1_0kd7r"]
|
2023-11-23 00:59:46 +02:00
|
|
|
[ext_resource type="Script" path="res://content/ui/components/input/input.gd" id="1_uml3t"]
|
2023-11-25 02:46:41 +02:00
|
|
|
[ext_resource type="FontVariation" uid="uid://d2ofyimg5s65q" path="res://assets/fonts/ui_font_500.tres" id="3_ij5fh"]
|
2023-11-23 00:59:46 +02:00
|
|
|
|
|
|
|
[sub_resource type="BoxMesh" id="BoxMesh_kjbca"]
|
2023-11-23 19:26:09 +02:00
|
|
|
resource_local_to_scene = true
|
2024-03-21 17:19:09 +02:00
|
|
|
size = Vector3(0.15, 0.006, 0.03)
|
2023-11-23 00:59:46 +02:00
|
|
|
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_x4yp8"]
|
2023-11-23 19:26:09 +02:00
|
|
|
resource_local_to_scene = true
|
2024-03-21 17:19:09 +02:00
|
|
|
size = Vector3(0.15, 0.006, 0.03)
|
2023-11-23 00:59:46 +02:00
|
|
|
|
|
|
|
[sub_resource type="BoxMesh" id="BoxMesh_2736g"]
|
|
|
|
size = Vector3(0.001, 0.02, 0.001)
|
|
|
|
|
|
|
|
[sub_resource type="Animation" id="Animation_65tpe"]
|
|
|
|
length = 0.001
|
|
|
|
tracks/0/type = "value"
|
|
|
|
tracks/0/imported = false
|
|
|
|
tracks/0/enabled = true
|
|
|
|
tracks/0/path = NodePath("Label/Caret:visible")
|
|
|
|
tracks/0/interp = 1
|
|
|
|
tracks/0/loop_wrap = true
|
|
|
|
tracks/0/keys = {
|
|
|
|
"times": PackedFloat32Array(0),
|
|
|
|
"transitions": PackedFloat32Array(1),
|
|
|
|
"update": 0,
|
2023-11-23 04:41:13 +02:00
|
|
|
"values": [false]
|
2023-11-23 00:59:46 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
[sub_resource type="Animation" id="Animation_8ny1h"]
|
|
|
|
resource_name = "blink"
|
|
|
|
loop_mode = 1
|
|
|
|
tracks/0/type = "value"
|
|
|
|
tracks/0/imported = false
|
|
|
|
tracks/0/enabled = true
|
|
|
|
tracks/0/path = NodePath("Label/Caret:visible")
|
|
|
|
tracks/0/interp = 1
|
|
|
|
tracks/0/loop_wrap = true
|
|
|
|
tracks/0/keys = {
|
|
|
|
"times": PackedFloat32Array(0, 0.5, 1),
|
|
|
|
"transitions": PackedFloat32Array(1, 1, 1),
|
|
|
|
"update": 0,
|
|
|
|
"values": [true, false, true]
|
|
|
|
}
|
|
|
|
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_1sy4t"]
|
|
|
|
_data = {
|
|
|
|
"RESET": SubResource("Animation_65tpe"),
|
|
|
|
"blink": SubResource("Animation_8ny1h")
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="Input" type="StaticBody3D" groups=["ui_focus"]]
|
2024-03-21 17:19:09 +02:00
|
|
|
collision_layer = 6
|
2023-11-28 16:14:21 +02:00
|
|
|
collision_mask = 0
|
2023-11-23 00:59:46 +02:00
|
|
|
script = ExtResource("1_uml3t")
|
2023-11-26 01:02:03 +02:00
|
|
|
text = "Example"
|
2023-11-23 00:59:46 +02:00
|
|
|
|
2023-11-23 19:26:09 +02:00
|
|
|
[node name="Box" type="MeshInstance3D" parent="."]
|
2023-11-23 00:59:46 +02:00
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.003, 0)
|
|
|
|
material_override = ExtResource("1_0kd7r")
|
|
|
|
mesh = SubResource("BoxMesh_kjbca")
|
|
|
|
|
2023-11-23 19:26:09 +02:00
|
|
|
[node name="Collision" type="CollisionShape3D" parent="."]
|
2023-11-23 00:59:46 +02:00
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.003, 0)
|
|
|
|
shape = SubResource("BoxShape3D_x4yp8")
|
|
|
|
|
|
|
|
[node name="Label" type="Label3D" parent="."]
|
2024-03-21 17:19:09 +02:00
|
|
|
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, -0.073, 0.00618291, 0)
|
2023-11-25 02:46:41 +02:00
|
|
|
pixel_size = 0.001
|
2023-11-26 01:02:03 +02:00
|
|
|
text = "Example"
|
2023-11-25 02:46:41 +02:00
|
|
|
font = ExtResource("3_ij5fh")
|
|
|
|
font_size = 18
|
|
|
|
outline_size = 0
|
2023-11-23 00:59:46 +02:00
|
|
|
horizontal_alignment = 0
|
|
|
|
|
|
|
|
[node name="Caret" type="MeshInstance3D" parent="Label"]
|
2023-11-23 04:41:13 +02:00
|
|
|
visible = false
|
2023-11-23 00:59:46 +02:00
|
|
|
mesh = SubResource("BoxMesh_2736g")
|
|
|
|
skeleton = NodePath("../..")
|
|
|
|
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
|
|
|
libraries = {
|
|
|
|
"": SubResource("AnimationLibrary_1sy4t")
|
|
|
|
}
|