2024-05-14 15:13:29 +08:00
|
|
|
[gd_scene load_steps=8 format=3 uid="uid://d0lqunjq25ro8"]
|
2024-04-22 15:32:19 +08:00
|
|
|
|
|
|
|
[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"]
|
2024-05-14 15:13:29 +08:00
|
|
|
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_d1nsf"]
|
|
|
|
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_jh3l6"]
|
|
|
|
_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_um7vb"]
|
|
|
|
resource_name = "psl_网格_014"
|
|
|
|
_surfaces = [{
|
|
|
|
"aabb": AABB(-0.101208, -0.0440127, -0.0355776, 0.202415, 0.0880253, 0.0711652),
|
|
|
|
"attribute_data": PackedByteArray(56, 44, 1, 29, 8, 1, 194, 41, 247, 39, 7, 29, 133, 48, 7, 29, 187, 36, 194, 41, 72, 48, 29, 32, 127, 40, 1, 29, 8, 1, 29, 22, 247, 39, 252, 31, 133, 48, 252, 31, 187, 36, 29, 22, 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, 1, 0, 4, 0, 14, 0, 10, 0, 14, 0, 4, 0, 13, 0, 12, 0, 17, 0, 2, 0, 17, 0, 12, 0, 24, 0, 11, 0, 19, 0, 5, 0, 19, 0, 11, 0, 23, 0, 15, 0, 22, 0, 9, 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_d1nsf"),
|
|
|
|
"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, 62, 168, 0, 0, 0, 0, 245, 255, 255, 191, 255, 255, 0, 0, 245, 255, 255, 191, 255, 255, 0, 0, 245, 255, 62, 168, 255, 255, 0, 0, 245, 255, 84, 213, 0, 0, 255, 255, 245, 255, 84, 213, 0, 0, 255, 255, 245, 255, 62, 168, 0, 0, 255, 255, 245, 255, 255, 191, 255, 255, 255, 255, 245, 255, 255, 191, 255, 255, 255, 255, 245, 255, 62, 168, 255, 255, 255, 255, 245, 255, 84, 213, 255, 127, 0, 0, 245, 255, 255, 191, 255, 127, 0, 0, 245, 255, 255, 159, 255, 127, 255, 255, 245, 255, 255, 159, 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, 156, 66, 25, 175, 0, 0, 255, 127, 0, 0, 255, 127, 26, 47, 98, 61, 170, 170, 84, 85, 84, 85, 170, 170, 228, 208, 156, 194, 255, 255, 255, 127, 255, 255, 255, 127, 98, 189, 229, 80, 170, 170, 84, 85, 0, 0, 255, 127, 0, 0, 255, 127, 255, 255, 255, 127, 255, 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, 255, 255, 255, 127)
|
|
|
|
}]
|
|
|
|
blend_shape_mode = 0
|
|
|
|
shadow_mesh = SubResource("ArrayMesh_jh3l6")
|
2024-04-22 15:32:19 +08:00
|
|
|
|
2024-04-25 17:47:45 +08:00
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_lh1kl"]
|
|
|
|
size = Vector3(0.224365, 0.0963135, 0.103912)
|
2024-04-22 15:32:19 +08:00
|
|
|
|
|
|
|
[sub_resource type="ViewportTexture" id="ViewportTexture_3lap2"]
|
|
|
|
viewport_path = NodePath("SubViewport")
|
|
|
|
|
|
|
|
[node name="PSL" type="Node3D"]
|
|
|
|
script = ExtResource("1_fwlhs")
|
|
|
|
|
2024-05-14 15:13:29 +08:00
|
|
|
[node name="PSL_body" type="MeshInstance3D" parent="."]
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -9.41122, 2.3794, 1.74457)
|
|
|
|
mesh = SubResource("ArrayMesh_um7vb")
|
|
|
|
skeleton = NodePath("")
|
2024-04-22 15:32:19 +08:00
|
|
|
|
|
|
|
[node name="PSL_Area3D" type="Area3D" parent="PSL_body"]
|
2024-05-14 15:13:29 +08:00
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 9.41122, -2.3794, -1.74457)
|
2024-04-22 15:32:19 +08:00
|
|
|
script = ExtResource("1_5mk24")
|
|
|
|
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="PSL_body/PSL_Area3D"]
|
2024-04-25 17:47:45 +08:00
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -9.41262, 2.38976, 1.75505)
|
|
|
|
shape = SubResource("BoxShape3D_lh1kl")
|
2024-04-22 15:32:19 +08:00
|
|
|
|
|
|
|
[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="."]
|
2024-04-25 17:47:45 +08:00
|
|
|
transform = Transform3D(0.256, 0, 0, 0, 0.256, 0, 0, 0, 0.256, -9.41159, 2.37999, 1.78259)
|
2024-04-22 15:32:19 +08:00
|
|
|
texture = SubResource("ViewportTexture_3lap2")
|
|
|
|
|
2024-04-30 11:25:39 +08:00
|
|
|
[connection signal="input_event" from="PSL_body/PSL_Area3D" to="PSL_body/PSL_Area3D" method="_on_input_event"]
|
2024-04-22 15:32:19 +08:00
|
|
|
[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"]
|