Files
frog/scenes/client.tscn
T
2026-09-03 09:43:13 +02:00

88 lines
3.5 KiB
Plaintext

[gd_scene format=3 uid="uid://dkl8xiwoeqj08"]
[ext_resource type="Script" uid="uid://biax3djgh5pyc" path="res://scripts/client.gd" id="1_r26j7"]
[ext_resource type="PackedScene" uid="uid://ben6bv5gilclx" path="res://assets/blender/character.glb" id="2_r26j7"]
[ext_resource type="Texture2D" uid="uid://cipfm3wveqg0n" path="res://assets/blender/character_face.png" id="4_r26j7"]
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_ka232"]
radius = 0.5551758
height = 3.8041992
[sub_resource type="ViewportTexture" id="ViewportTexture_ka232"]
viewport_path = NodePath("Sprite3D/SubViewport")
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_t0ykn"]
albedo_texture = ExtResource("4_r26j7")
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_da3od"]
albedo_texture = ExtResource("4_r26j7")
[sub_resource type="BoxShape3D" id="BoxShape3D_ka232"]
size = Vector3(3.0332031, 4.130371, 6.7510376)
[node name="client" type="CharacterBody3D" unique_id=1499167018]
transform = Transform3D(0.8, 0, 0, 0, 0.8, 0, 0, 0, 0.8, 0, 0, 0)
script = ExtResource("1_r26j7")
[node name="CollisionShape3D" type="CollisionShape3D" parent="." unique_id=1826042797]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.9161952, 0)
shape = SubResource("CapsuleShape3D_ka232")
[node name="character" parent="." unique_id=431323508 instance=ExtResource("2_r26j7")]
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -1, 0, 0, 0)
[node name="Root_001" parent="character" index="1" unique_id=2038212169]
visible = false
[node name="Root_002" parent="character" index="2" unique_id=1241243829]
visible = false
[node name="Root_003" parent="character" index="3" unique_id=850147187]
visible = false
[node name="Sprite3D" type="Sprite3D" parent="." unique_id=1464118033]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.3408878, 3.930202, 0.1897316)
billboard = 1
texture = SubResource("ViewportTexture_ka232")
[node name="SubViewport" type="SubViewport" parent="Sprite3D" unique_id=748191708]
transparent_bg = true
size = Vector2i(700, 300)
[node name="RichTextLabel" type="RichTextLabel" parent="Sprite3D/SubViewport" unique_id=1321935142]
offset_right = 40.0
offset_bottom = 40.0
theme_override_font_sizes/normal_font_size = 40
bbcode_enabled = true
text = "yo comment"
fit_content = true
autowrap_mode = 0
[node name="NavigationAgent3D" type="NavigationAgent3D" parent="." unique_id=1094148667]
path_height_offset = 0.5
[node name="Timer" type="Timer" parent="." unique_id=893835033]
[node name="CSGBox3D" type="CSGBox3D" parent="." unique_id=1988650150]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3.7564616, 0.048583984)
material_override = SubResource("StandardMaterial3D_t0ykn")
size = Vector3(1.0544434, 0.13146973, 0.90283203)
material = SubResource("StandardMaterial3D_da3od")
[node name="CSGBox3D" type="CSGBox3D" parent="CSGBox3D" unique_id=856764805]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.18938732, 0)
size = Vector3(0.5744629, 0.27764893, 0.48632813)
[node name="StaticBody3D" type="StaticBody3D" parent="." unique_id=373760399 groups=["client"]]
collision_layer = 2
collision_mask = 2
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D" unique_id=220667643]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.044213, -2.4672549)
shape = SubResource("BoxShape3D_ka232")
[connection signal="navigation_finished" from="NavigationAgent3D" to="." method="_on_navigation_agent_3d_navigation_finished"]
[connection signal="timeout" from="Timer" to="." method="_on_timer_timeout"]
[editable path="character"]