godot-psd-training/sceen/platform/jjtc.tscn

94 lines
5.7 KiB
Plaintext
Raw Normal View History

[gd_scene load_steps=8 format=3 uid="uid://c1rooma5e6ir4"]
2024-04-23 18:06:31 +08:00
2024-04-26 15:14:40 +08:00
[ext_resource type="Script" path="res://sceen/platform/jjtc.gd" id="1_ebk0j"]
[ext_resource type="Script" path="res://sceen/platform/JJTC_Area3D.gd" id="3_j0a07"]
2024-04-23 18:06:31 +08:00
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_hm7py"]
resource_name = "20 - Default"
cull_mode = 2
albedo_color = Color(0.790731, 0.790731, 0.790731, 1)
metallic = 1.0
roughness = 0.858579
[sub_resource type="ArrayMesh" id="ArrayMesh_nqa4a"]
_surfaces = [{
"aabb": AABB(-0.0341152, -0.0976391, -0.0343226, 0.0682304, 0.195288, 0.0686552),
"format": 34896613377,
"index_count": 48,
"index_data": PackedByteArray(4, 0, 2, 0, 5, 0, 2, 0, 4, 0, 0, 0, 1, 0, 5, 0, 3, 0, 5, 0, 1, 0, 4, 0, 4, 0, 6, 0, 0, 0, 6, 0, 4, 0, 10, 0, 3, 0, 7, 0, 1, 0, 7, 0, 3, 0, 9, 0, 5, 0, 9, 0, 3, 0, 9, 0, 5, 0, 11, 0, 0, 0, 8, 0, 2, 0, 8, 0, 0, 0, 6, 0, 1, 0, 10, 0, 4, 0, 10, 0, 1, 0, 7, 0, 2, 0, 11, 0, 5, 0, 11, 0, 2, 0, 8, 0),
"name": "20 - Default",
"primitive": 3,
"uv_scale": Vector4(0, 0, 0, 0),
"vertex_count": 12,
"vertex_data": PackedByteArray(0, 0, 251, 255, 245, 255, 0, 0, 0, 0, 0, 0, 245, 255, 0, 0, 254, 255, 251, 255, 245, 255, 0, 0, 255, 255, 0, 0, 245, 255, 0, 0, 0, 0, 254, 127, 245, 255, 0, 0, 255, 255, 254, 127, 245, 255, 0, 0, 0, 0, 251, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 254, 255, 251, 255, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 0, 0, 0, 0, 254, 127, 0, 0, 0, 0, 255, 255, 254, 127, 0, 0, 0, 0)
}]
blend_shape_mode = 0
[sub_resource type="ArrayMesh" id="ArrayMesh_1eifb"]
resource_name = "JJTC_网格_015"
_surfaces = [{
"aabb": AABB(-0.0341152, -0.0976391, -0.0343226, 0.0682304, 0.195288, 0.0686552),
"attribute_data": PackedByteArray(56, 79, 145, 8, 87, 54, 157, 13, 60, 81, 142, 8, 69, 83, 145, 8, 61, 71, 157, 13, 40, 83, 7, 10, 121, 79, 142, 8, 87, 54, 80, 4, 56, 79, 248, 9, 101, 81, 7, 10, 61, 71, 80, 4, 69, 83, 248, 9, 63, 81, 145, 8, 202, 62, 157, 13, 202, 62, 80, 4, 63, 81, 248, 9, 56, 79, 254, 9, 60, 81, 251, 9, 69, 83, 254, 9, 40, 83, 155, 8, 121, 79, 251, 9, 56, 79, 139, 8, 101, 81, 155, 8, 69, 83, 139, 8, 63, 81, 254, 9, 63, 81, 139, 8),
"format": 34896613399,
"index_count": 48,
"index_data": PackedByteArray(13, 0, 7, 0, 14, 0, 7, 0, 13, 0, 1, 0, 4, 0, 14, 0, 10, 0, 14, 0, 4, 0, 13, 0, 12, 0, 16, 0, 0, 0, 16, 0, 12, 0, 24, 0, 9, 0, 19, 0, 5, 0, 19, 0, 9, 0, 22, 0, 15, 0, 23, 0, 11, 0, 23, 0, 15, 0, 25, 0, 2, 0, 20, 0, 6, 0, 20, 0, 2, 0, 17, 0, 3, 0, 24, 0, 12, 0, 24, 0, 3, 0, 18, 0, 8, 0, 25, 0, 15, 0, 25, 0, 8, 0, 21, 0),
"material": SubResource("StandardMaterial3D_hm7py"),
"name": "20 - Default",
"primitive": 3,
"uv_scale": Vector4(0, 0, 0, 0),
"vertex_count": 26,
"vertex_data": PackedByteArray(0, 0, 251, 255, 245, 255, 84, 213, 0, 0, 251, 255, 245, 255, 115, 209, 0, 0, 251, 255, 245, 255, 255, 255, 0, 0, 0, 0, 245, 255, 84, 213, 0, 0, 0, 0, 245, 255, 74, 192, 0, 0, 0, 0, 245, 255, 255, 255, 254, 255, 251, 255, 245, 255, 255, 255, 254, 255, 251, 255, 245, 255, 74, 192, 254, 255, 251, 255, 245, 255, 84, 213, 255, 255, 0, 0, 245, 255, 255, 255, 255, 255, 0, 0, 245, 255, 115, 209, 255, 255, 0, 0, 245, 255, 84, 213, 0, 0, 254, 127, 245, 255, 84, 213, 0, 0, 254, 127, 245, 255, 252, 197, 255, 255, 254, 127, 245, 255, 252, 197, 255, 255, 254, 127, 245, 255, 84, 213, 0, 0, 251, 255, 0, 0, 84, 213, 0, 0, 251, 255, 0, 0, 255, 255, 0, 0, 0, 0, 0, 0, 84, 213, 0, 0, 0, 0, 0, 0, 255, 255, 254, 255, 251, 255, 0, 0, 255, 255, 254, 255, 251, 255, 0, 0, 84, 213, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 84, 213, 0, 0, 254, 127, 0, 0, 84, 213, 255, 255, 254, 127, 0, 0, 84, 213, 84, 85, 170, 170, 180, 121, 205, 175, 255, 127, 255, 191, 84, 85, 170, 170, 198, 72, 69, 135, 255, 127, 255, 63, 255, 127, 255, 191, 56, 183, 185, 120, 170, 170, 84, 85, 255, 127, 255, 63, 74, 134, 49, 80, 170, 170, 84, 85, 84, 85, 170, 170, 0, 99, 254, 156, 254, 156, 0, 99, 170, 170, 84, 85, 84, 85, 170, 170, 255, 127, 255, 191, 84, 85, 170, 170, 255, 127, 255, 63, 255, 127, 255, 191, 170, 170, 84, 85, 255, 127, 255, 63, 170, 170, 84, 85, 84, 85, 170, 170, 170, 170, 84, 85)
}]
blend_shape_mode = 0
shadow_mesh = SubResource("ArrayMesh_nqa4a")
[sub_resource type="BoxShape3D" id="BoxShape3D_fbwyd"]
size = Vector3(0.0792694, 0.194519, 0.132751)
2024-04-23 18:06:31 +08:00
[sub_resource type="ViewportTexture" id="ViewportTexture_gubnu"]
viewport_path = NodePath("SubViewport")
[node name="JJTC" type="Node3D"]
2024-04-26 15:14:40 +08:00
script = ExtResource("1_ebk0j")
[node name="JJTC_Body" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1.8, 0, 0, 0, 1, -9.47739, 1.07247, 1.73642)
mesh = SubResource("ArrayMesh_1eifb")
skeleton = NodePath("")
2024-04-23 18:06:31 +08:00
2024-04-26 15:14:40 +08:00
[node name="JJTC_Area3D" type="Area3D" parent="JJTC_Body"]
script = ExtResource("3_j0a07")
[node name="CollisionShape3D" type="CollisionShape3D" parent="JJTC_Body/JJTC_Area3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0001297, 0.00211501, -0.00491333)
shape = SubResource("BoxShape3D_fbwyd")
2024-04-23 18:06:31 +08:00
[node name="SubViewport" type="SubViewport" parent="."]
2024-04-26 15:14:40 +08:00
size = Vector2i(55, 265)
2024-04-23 18:06:31 +08:00
[node name="ColorRect" type="ColorRect" parent="SubViewport"]
2024-04-26 15:14:40 +08:00
offset_right = 55.0
offset_bottom = 265.0
2024-04-23 18:06:31 +08:00
color = Color(0, 0.12549, 1, 1)
[node name="Label" type="Label" parent="SubViewport"]
2024-04-26 15:14:40 +08:00
offset_right = 55.0
offset_bottom = 267.0
2024-04-23 18:06:31 +08:00
theme_override_font_sizes/font_size = 32
2024-04-26 15:14:40 +08:00
text = "紧
钮"
2024-04-23 18:06:31 +08:00
horizontal_alignment = 1
vertical_alignment = 1
[node name="Sprite3D" type="Sprite3D" parent="."]
transform = Transform3D(0.128, 0, 0, 0, 0.128, 0, 0, 0, 0.128, -9.477, 1.07595, 1.77447)
2024-04-23 18:06:31 +08:00
texture = SubResource("ViewportTexture_gubnu")
2024-04-26 15:14:40 +08:00
2024-04-30 11:25:39 +08:00
[connection signal="input_event" from="JJTC_Body/JJTC_Area3D" to="JJTC_Body/JJTC_Area3D" method="_on_input_event"]
2024-04-26 15:14:40 +08:00
[connection signal="mouse_entered" from="JJTC_Body/JJTC_Area3D" to="JJTC_Body/JJTC_Area3D" method="_on_mouse_entered"]
[connection signal="mouse_exited" from="JJTC_Body/JJTC_Area3D" to="JJTC_Body/JJTC_Area3D" method="_on_mouse_exited"]