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

54 lines
1.9 KiB
Plaintext
Raw Normal View History

2024-04-26 15:14:40 +08:00
[gd_scene load_steps=6 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="PackedScene" uid="uid://b2b5du6g0swmc" path="res://Model/JJTC.blend" id="2_hep0w"]
[ext_resource type="Script" path="res://sceen/platform/JJTC_Area3D.gd" id="3_j0a07"]
2024-04-23 18:06:31 +08:00
2024-04-26 15:14:40 +08:00
[sub_resource type="BoxShape3D" id="BoxShape3D_7navh"]
size = Vector3(0.07, 0.21, 0.09)
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" parent="." instance=ExtResource("2_hep0w")]
transform = Transform3D(1, 0, 0, 0, 1.66, 0, 0, 0, 1, 5.73, -0.67, -9.14)
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, -9.478, 1.055, 1.74)
shape = SubResource("BoxShape3D_7navh")
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="."]
2024-04-26 15:14:40 +08:00
transform = Transform3D(0.128, 0, 0, 0, 0.128, 0, 0, 0, 0.128, -3.75, 1.075, -7.36)
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"]