godot-psd-training/sceen/platform/psl.tscn
joylink_fanyuhong 23dc1835fe jjtc调整
2024-04-23 18:06:31 +08:00

91 lines
5.6 KiB
Plaintext

[gd_scene load_steps=8 format=3 uid="uid://d0lqunjq25ro8"]
[ext_resource type="Script" path="res://sceen/platform/PSL_Area3D.gd" id="1_5mk24"]
[ext_resource type="Script" path="res://sceen/platform/psl.gd" id="1_fwlhs"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_v2w26"]
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_q3710"]
_surfaces = [{
"aabb": AABB(-0.101208, -0.0440127, -0.0355776, 0.202415, 0.0880253, 0.0711652),
"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, 0, 0, 245, 255, 0, 0, 255, 255, 0, 0, 245, 255, 0, 0, 0, 0, 255, 255, 245, 255, 0, 0, 255, 255, 255, 255, 245, 255, 0, 0, 255, 127, 0, 0, 245, 255, 0, 0, 255, 127, 255, 255, 245, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 255, 127, 0, 0, 0, 0, 0, 0, 255, 127, 255, 255, 0, 0, 0, 0)
}]
blend_shape_mode = 0
[sub_resource type="ArrayMesh" id="ArrayMesh_xtvya"]
resource_name = "screenDoor_网格_062"
_surfaces = [{
"aabb": AABB(-0.101208, -0.0440127, -0.0355776, 0.202415, 0.0880253, 0.0711652),
"attribute_data": PackedByteArray(56, 44, 1, 29, 247, 39, 7, 29, 8, 1, 194, 41, 133, 48, 7, 29, 187, 36, 194, 41, 72, 48, 29, 32, 127, 40, 1, 29, 8, 1, 29, 22, 247, 39, 252, 31, 187, 36, 29, 22, 133, 48, 252, 31, 143, 44, 29, 32, 62, 44, 7, 29, 225, 18, 194, 41, 225, 18, 29, 22, 62, 44, 252, 31, 56, 44, 2, 32, 247, 39, 8, 32, 133, 48, 8, 32, 72, 48, 27, 29, 127, 40, 2, 32, 247, 39, 251, 28, 133, 48, 251, 28, 143, 44, 27, 29, 62, 44, 8, 32, 62, 44, 251, 28),
"format": 34896613399,
"index_count": 48,
"index_data": PackedByteArray(13, 0, 7, 0, 14, 0, 7, 0, 13, 0, 2, 0, 4, 0, 14, 0, 9, 0, 14, 0, 4, 0, 13, 0, 12, 0, 17, 0, 1, 0, 17, 0, 12, 0, 24, 0, 11, 0, 19, 0, 5, 0, 19, 0, 11, 0, 23, 0, 15, 0, 22, 0, 10, 0, 22, 0, 15, 0, 25, 0, 0, 0, 20, 0, 6, 0, 20, 0, 0, 0, 16, 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_v2w26"),
"name": "20 - Default",
"primitive": 3,
"uv_scale": Vector4(0, 0, 0, 0),
"vertex_count": 26,
"vertex_data": PackedByteArray(0, 0, 0, 0, 245, 255, 84, 213, 0, 0, 0, 0, 245, 255, 255, 191, 0, 0, 0, 0, 245, 255, 255, 127, 255, 255, 0, 0, 245, 255, 255, 191, 255, 255, 0, 0, 245, 255, 255, 127, 255, 255, 0, 0, 245, 255, 84, 213, 0, 0, 255, 255, 245, 255, 84, 213, 0, 0, 255, 255, 245, 255, 255, 127, 0, 0, 255, 255, 245, 255, 255, 191, 255, 255, 255, 255, 245, 255, 255, 127, 255, 255, 255, 255, 245, 255, 255, 191, 255, 255, 255, 255, 245, 255, 84, 213, 255, 127, 0, 0, 245, 255, 255, 191, 255, 127, 0, 0, 245, 255, 255, 127, 255, 127, 255, 255, 245, 255, 255, 127, 255, 127, 255, 255, 245, 255, 255, 191, 0, 0, 0, 0, 0, 0, 84, 213, 0, 0, 0, 0, 0, 0, 255, 191, 255, 255, 0, 0, 0, 0, 255, 191, 255, 255, 0, 0, 0, 0, 84, 213, 0, 0, 255, 255, 0, 0, 84, 213, 0, 0, 255, 255, 0, 0, 255, 191, 255, 255, 255, 255, 0, 0, 255, 191, 255, 255, 255, 255, 0, 0, 84, 213, 255, 127, 0, 0, 0, 0, 255, 191, 255, 127, 255, 255, 0, 0, 255, 191, 84, 85, 170, 170, 0, 0, 255, 127, 255, 127, 255, 255, 0, 0, 255, 127, 255, 127, 255, 255, 170, 170, 84, 85, 84, 85, 170, 170, 255, 127, 255, 255, 254, 255, 255, 127, 255, 127, 255, 255, 255, 255, 255, 127, 170, 170, 84, 85, 0, 0, 255, 127, 255, 127, 255, 255, 255, 127, 255, 255, 254, 255, 255, 127, 84, 85, 170, 170, 0, 0, 255, 127, 0, 0, 255, 127, 170, 170, 84, 85, 84, 85, 170, 170, 255, 255, 255, 127, 255, 255, 255, 127, 170, 170, 84, 85, 0, 0, 255, 127, 254, 255, 255, 127)
}]
blend_shape_mode = 0
shadow_mesh = SubResource("ArrayMesh_q3710")
[sub_resource type="BoxShape3D" id="BoxShape3D_bgvqo"]
[sub_resource type="ViewportTexture" id="ViewportTexture_3lap2"]
viewport_path = NodePath("SubViewport")
[node name="PSL" type="Node3D"]
script = ExtResource("1_fwlhs")
[node name="PSL_body" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.68225, 2.3794, -7.38919)
mesh = SubResource("ArrayMesh_xtvya")
skeleton = NodePath("")
metadata/_edit_lock_ = true
[node name="PSL_Area3D" type="Area3D" parent="PSL_body"]
script = ExtResource("1_5mk24")
[node name="CollisionShape3D" type="CollisionShape3D" parent="PSL_body/PSL_Area3D"]
transform = Transform3D(0.215, 0, 0, 0, 0.095, 0, 0, 0, 0.1, 0, 0, 0)
shape = SubResource("BoxShape3D_bgvqo")
[node name="SubViewport" type="SubViewport" parent="."]
size = Vector2i(64, 32)
[node name="ColorRect" type="ColorRect" parent="SubViewport"]
offset_right = 64.0
offset_bottom = 32.0
color = Color(0, 0.0901961, 1, 1)
[node name="Label" type="Label" parent="SubViewport"]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_font_sizes/font_size = 32
text = "PSL"
horizontal_alignment = 1
vertical_alignment = 1
[node name="Sprite3D" type="Sprite3D" parent="."]
transform = Transform3D(0.256, 0, 0, 0, 0.256, 0, 0, 0, 0.256, -3.682, 2.379, -7.35)
texture = SubResource("ViewportTexture_3lap2")
[connection signal="mouse_entered" from="PSL_body/PSL_Area3D" to="PSL_body/PSL_Area3D" method="_on_mouse_entered"]
[connection signal="mouse_exited" from="PSL_body/PSL_Area3D" to="PSL_body/PSL_Area3D" method="_on_mouse_exited"]