added text input, started adding label button

This commit is contained in:
2026-06-10 06:01:03 -05:00
parent 6c38b05832
commit 2e31012447
27 changed files with 163 additions and 19 deletions

View File

@@ -0,0 +1,65 @@
[gd_scene format=3 uid="uid://icaxptclt0rm"]
[ext_resource type="Script" uid="uid://dwbx108724v25" path="res://AgainstGravityUI/AGUI.Scripts/AGUI.Root/AGUI.Bases.Button3D.gd" id="1_1du0n"]
[ext_resource type="Script" uid="uid://cbexo34ybb17a" path="res://AgainstGravityUI/AGUI.Scripts/AGUI.Collider/AGUI.Bases.Button3D.Collider.gd" id="2_xjbij"]
[sub_resource type="BoxShape3D" id="BoxShape3D_xeeyd"]
[sub_resource type="Animation" id="Animation_1du0n"]
length = 0.001
tracks/0/type = "position_3d"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("StaticBody3D/MeshRoot")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = PackedFloat32Array(0, 1, 0, 0, 0)
[sub_resource type="Animation" id="Animation_xjbij"]
resource_name = "interact"
length = 0.1
tracks/0/type = "position_3d"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("StaticBody3D/MeshRoot")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = PackedFloat32Array(0, 1, 0, 0, 0, 0.03333334, 1, 0, -0.05, 0)
[sub_resource type="AnimationLibrary" id="AnimationLibrary_7pntp"]
_data = {
&"RESET": SubResource("Animation_1du0n"),
&"interact": SubResource("Animation_xjbij")
}
[node name="AGUIButtonBase3D" type="Node3D" unique_id=81597797]
script = ExtResource("1_1du0n")
baseColor = Color(0.3961465, 0.0014402646, 0.94223887, 1)
pressedColor = Color(0.70962924, 0.38504785, 0.12277315, 1)
[node name="StaticBody3D" type="StaticBody3D" parent="." unique_id=1473098479]
collision_layer = 2
collision_mask = 2
script = ExtResource("2_xjbij")
[node name="Collider" type="CollisionShape3D" parent="StaticBody3D" unique_id=335334790]
transform = Transform3D(1, 0, 0, 0, 0.011110017, 0, 0, 0, 1, 0, 0, 0)
shape = SubResource("BoxShape3D_xeeyd")
[node name="MeshRoot" type="CSGCombiner3D" parent="StaticBody3D" unique_id=1112723183]
transform = Transform3D(1, 0, 0, 0, 0.024529457, 0, 0, 0, 1, 0, 0, 0)
operation = 2
[node name="MainMesh" type="CSGBox3D" parent="StaticBody3D/MeshRoot" unique_id=1438018078]
[node name="Subtractor_Box" type="CSGBox3D" parent="StaticBody3D/MeshRoot/MainMesh" unique_id=842962794]
operation = 2
[node name="Subtractor_Cylinder" type="CSGCylinder3D" parent="StaticBody3D/MeshRoot/MainMesh/Subtractor_Box" unique_id=1951089581]
transform = Transform3D(0.9, 0, 0, 0, 0.9, 0, 0, 0, 0.9, 0, 0, 0)
operation = 2
radius = 0.734
[node name="Animator" type="AnimationPlayer" parent="StaticBody3D" unique_id=53081295]
root_node = NodePath("../..")
libraries/ = SubResource("AnimationLibrary_7pntp")

View File

@@ -0,0 +1,72 @@
[gd_scene format=3 uid="uid://bcm2gnlwsvvd3"]
[ext_resource type="Script" uid="uid://3m5f4lxd2x3c" path="res://AgainstGravityUI/AGUI.Scripts/AGUI.Root/AGUI.CharacterButton3D.gd" id="1_4h73y"]
[ext_resource type="Script" uid="uid://dbv4hr2h4cfug" path="res://AgainstGravityUI/AGUI.Scripts/AGUI.Collider/AGUI.CharacterButton3D.Collider.gd" id="2_wcsv0"]
[sub_resource type="BoxShape3D" id="BoxShape3D_xeeyd"]
[sub_resource type="Animation" id="Animation_1du0n"]
length = 0.001
tracks/0/type = "position_3d"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("StaticBody3D/MeshRoot")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = PackedFloat32Array(0, 1, 0, 0, 0)
[sub_resource type="Animation" id="Animation_xjbij"]
resource_name = "interact"
length = 0.1
tracks/0/type = "position_3d"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("StaticBody3D/MeshRoot")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = PackedFloat32Array(0, 1, 0, 0, 0, 0.03333334, 1, 0, -0.05, 0)
[sub_resource type="AnimationLibrary" id="AnimationLibrary_7pntp"]
_data = {
&"RESET": SubResource("Animation_1du0n"),
&"interact": SubResource("Animation_xjbij")
}
[node name="AGUIIconButton3D" type="Node3D" unique_id=81597797]
script = ExtResource("1_4h73y")
baseColor = Color(0.52195215, 0.08105264, 0.9999997, 1)
pressedColor = Color(0.3094211, 0.50286317, 1, 1)
char = "?"
[node name="StaticBody3D" type="StaticBody3D" parent="." unique_id=1473098479]
collision_layer = 2
collision_mask = 2
script = ExtResource("2_wcsv0")
[node name="Collider" type="CollisionShape3D" parent="StaticBody3D" unique_id=335334790]
transform = Transform3D(1, 0, 0, 0, 0.011110017, 0, 0, 0, 1, 0, 0, 0)
shape = SubResource("BoxShape3D_xeeyd")
[node name="MeshRoot" type="CSGCombiner3D" parent="StaticBody3D" unique_id=1112723183]
transform = Transform3D(1, 0, 0, 0, 0.024529457, 0, 0, 0, 1, 0, 0, 0)
operation = 2
[node name="MainMesh" type="CSGBox3D" parent="StaticBody3D/MeshRoot" unique_id=1438018078]
[node name="Subtractor_Box" type="CSGBox3D" parent="StaticBody3D/MeshRoot/MainMesh" unique_id=842962794]
operation = 2
[node name="Subtractor_Cylinder" type="CSGCylinder3D" parent="StaticBody3D/MeshRoot/MainMesh/Subtractor_Box" unique_id=1951089581]
transform = Transform3D(0.9, 0, 0, 0, 0.9, 0, 0, 0, 0.9, 0, 0, 0)
operation = 2
radius = 0.734
[node name="Animator" type="AnimationPlayer" parent="StaticBody3D" unique_id=53081295]
root_node = NodePath("../..")
libraries/ = SubResource("AnimationLibrary_7pntp")
[node name="Label3D" type="Label3D" parent="StaticBody3D" unique_id=1429557569]
transform = Transform3D(1, 0, 0, 0, -4.371139e-08, 1, 0, -1, -4.371139e-08, 0, 0.024055064, 0)
text = "?"
font_size = 128
outline_size = 0

View File

@@ -0,0 +1,69 @@
[gd_scene format=3 uid="uid://f4tj743a8ym3"]
[ext_resource type="Script" uid="uid://dkmw6hfq1nkrk" path="res://AgainstGravityUI/AGUI.Scripts/AGUI.Root/AGUI.IconButton3D.gd" id="1_0vm27"]
[ext_resource type="Script" uid="uid://crq0dvryyehig" path="res://AgainstGravityUI/AGUI.Scripts/AGUI.Collider/AGUI.IconButton3D.Collider.gd" id="2_ldfx3"]
[ext_resource type="Texture2D" uid="uid://lu0kocwkk08d" path="res://assets/inquire.svg" id="3_8k0il"]
[sub_resource type="BoxShape3D" id="BoxShape3D_xeeyd"]
[sub_resource type="Animation" id="Animation_1du0n"]
length = 0.001
tracks/0/type = "position_3d"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("StaticBody3D/MeshRoot")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = PackedFloat32Array(0, 1, 0, 0, 0)
[sub_resource type="Animation" id="Animation_xjbij"]
resource_name = "interact"
length = 0.1
tracks/0/type = "position_3d"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("StaticBody3D/MeshRoot")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = PackedFloat32Array(0, 1, 0, 0, 0, 0.03333334, 1, 0, -0.05, 0)
[sub_resource type="AnimationLibrary" id="AnimationLibrary_7pntp"]
_data = {
&"RESET": SubResource("Animation_1du0n"),
&"interact": SubResource("Animation_xjbij")
}
[node name="AGUIIconButton3D" type="Node3D" unique_id=81597797]
script = ExtResource("1_0vm27")
[node name="StaticBody3D" type="StaticBody3D" parent="." unique_id=1473098479]
collision_layer = 2
collision_mask = 2
script = ExtResource("2_ldfx3")
[node name="Collider" type="CollisionShape3D" parent="StaticBody3D" unique_id=335334790]
transform = Transform3D(1, 0, 0, 0, 0.011110017, 0, 0, 0, 1, 0, 0, 0)
shape = SubResource("BoxShape3D_xeeyd")
[node name="MeshRoot" type="CSGCombiner3D" parent="StaticBody3D" unique_id=1112723183]
transform = Transform3D(1, 0, 0, 0, 0.024529457, 0, 0, 0, 1, 0, 0, 0)
operation = 2
[node name="MainMesh" type="CSGBox3D" parent="StaticBody3D/MeshRoot" unique_id=1438018078]
[node name="Subtractor_Box" type="CSGBox3D" parent="StaticBody3D/MeshRoot/MainMesh" unique_id=842962794]
operation = 2
[node name="Subtractor_Cylinder" type="CSGCylinder3D" parent="StaticBody3D/MeshRoot/MainMesh/Subtractor_Box" unique_id=1951089581]
transform = Transform3D(0.9, 0, 0, 0, 0.9, 0, 0, 0, 0.9, 0, 0, 0)
operation = 2
radius = 0.734
[node name="Animator" type="AnimationPlayer" parent="StaticBody3D" unique_id=53081295]
root_node = NodePath("../..")
libraries/ = SubResource("AnimationLibrary_7pntp")
[node name="Sprite3D" type="Sprite3D" parent="StaticBody3D" unique_id=1459504000]
transform = Transform3D(1, 0, 0, 0, -4.371139e-08, 1, 0, -1, -4.371139e-08, 0, 0.014697313, 0)
pixel_size = 0.001
texture = ExtResource("3_8k0il")

View File

@@ -0,0 +1,69 @@
[gd_scene format=3 uid="uid://bigr5fyb4o6pr"]
[ext_resource type="Script" uid="uid://d0up8mkp431mn" path="res://AgainstGravityUI/AGUI.Scripts/AGUI.Root/AGUI.ToggleCharacterButton3D.gd" id="1_yh8o1"]
[ext_resource type="Script" uid="uid://dfdsr0t25d4ha" path="res://AgainstGravityUI/AGUI.Scripts/AGUI.Collider/AGUI.ToggleCharacterButton3D.Collider.gd" id="2_runkp"]
[sub_resource type="BoxShape3D" id="BoxShape3D_xeeyd"]
[sub_resource type="Animation" id="Animation_1du0n"]
length = 0.001
tracks/0/type = "position_3d"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("StaticBody3D/MeshRoot")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = PackedFloat32Array(0, 1, 0, 0, 0)
[sub_resource type="Animation" id="Animation_xjbij"]
resource_name = "interact"
length = 0.1
tracks/0/type = "position_3d"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("StaticBody3D/MeshRoot")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = PackedFloat32Array(0, 1, 0, 0, 0, 0.03333334, 1, 0, -0.05, 0)
[sub_resource type="AnimationLibrary" id="AnimationLibrary_7pntp"]
_data = {
&"RESET": SubResource("Animation_1du0n"),
&"interact": SubResource("Animation_xjbij")
}
[node name="AGUIIconButton3D" type="Node3D" unique_id=81597797]
script = ExtResource("1_yh8o1")
[node name="StaticBody3D" type="StaticBody3D" parent="." unique_id=1473098479]
collision_layer = 2
collision_mask = 2
script = ExtResource("2_runkp")
[node name="Collider" type="CollisionShape3D" parent="StaticBody3D" unique_id=335334790]
transform = Transform3D(1, 0, 0, 0, 0.011110017, 0, 0, 0, 1, 0, 0, 0)
shape = SubResource("BoxShape3D_xeeyd")
[node name="MeshRoot" type="CSGCombiner3D" parent="StaticBody3D" unique_id=1112723183]
transform = Transform3D(1, 0, 0, 0, 0.024529457, 0, 0, 0, 1, 0, 0, 0)
operation = 2
[node name="MainMesh" type="CSGBox3D" parent="StaticBody3D/MeshRoot" unique_id=1438018078]
[node name="Subtractor_Box" type="CSGBox3D" parent="StaticBody3D/MeshRoot/MainMesh" unique_id=842962794]
operation = 2
[node name="Subtractor_Cylinder" type="CSGCylinder3D" parent="StaticBody3D/MeshRoot/MainMesh/Subtractor_Box" unique_id=1951089581]
transform = Transform3D(0.9, 0, 0, 0, 0.9, 0, 0, 0, 0.9, 0, 0, 0)
operation = 2
radius = 0.734
[node name="Animator" type="AnimationPlayer" parent="StaticBody3D" unique_id=53081295]
root_node = NodePath("../..")
libraries/ = SubResource("AnimationLibrary_7pntp")
[node name="Label3D" type="Label3D" parent="StaticBody3D" unique_id=1429557569]
transform = Transform3D(1, 0, 0, 0, -4.371139e-08, 1, 0, -1, -4.371139e-08, 0, 0.024055064, 0)
text = "?"
font_size = 128
outline_size = 0