180 lines
6.4 KiB
Plaintext
180 lines
6.4 KiB
Plaintext
[gd_scene format=3 uid="uid://jd1gw83hfog1"]
|
|
|
|
[ext_resource type="Script" uid="uid://cwd4rsma685f" path="res://ui/character_select.gd" id="1_select"]
|
|
[ext_resource type="PackedScene" path="res://ui/paint_panel.tscn" id="2_paint"]
|
|
[ext_resource type="PackedScene" uid="uid://css1vk3u8gt7o" path="res://character/player/assets/mouse.glb" id="3_mouse"]
|
|
[ext_resource type="Sky" uid="uid://bi632suyifms5" path="res://world/sky/cartoon_sky.tres" id="4_sky"]
|
|
[ext_resource type="Script" uid="uid://c6l2fl5jgvr1h" path="res://character/player/face/face_rig.gd" id="7_face_rig"]
|
|
|
|
[sub_resource type="Gradient" id="Gradient_bg"]
|
|
offsets = PackedFloat32Array(0, 0.55, 1)
|
|
colors = PackedColorArray(0.09, 0.3, 0.78, 1, 0.28, 0.6, 0.95, 1, 0.78, 0.88, 1, 1)
|
|
|
|
[sub_resource type="GradientTexture2D" id="GradientTexture2D_bg"]
|
|
gradient = SubResource("Gradient_bg")
|
|
width = 4
|
|
height = 512
|
|
fill_from = Vector2(0.5, 0)
|
|
fill_to = Vector2(0.5, 1)
|
|
|
|
[sub_resource type="Environment" id="Environment_preview"]
|
|
background_mode = 2
|
|
sky = ExtResource("4_sky")
|
|
ambient_light_source = 3
|
|
reflected_light_source = 2
|
|
|
|
[node name="CharacterSelect" type="Control" unique_id=1285412003]
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
script = ExtResource("1_select")
|
|
|
|
[node name="Background" type="TextureRect" parent="." unique_id=619181932]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
mouse_filter = 2
|
|
texture = SubResource("GradientTexture2D_bg")
|
|
expand_mode = 1
|
|
|
|
[node name="Margin" type="MarginContainer" parent="." unique_id=1895590897]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
mouse_filter = 2
|
|
theme_override_constants/margin_left = 48
|
|
theme_override_constants/margin_top = 40
|
|
theme_override_constants/margin_right = 48
|
|
theme_override_constants/margin_bottom = 40
|
|
|
|
[node name="Layout" type="HBoxContainer" parent="Margin" unique_id=1213332253]
|
|
layout_mode = 2
|
|
mouse_filter = 2
|
|
theme_override_constants/separation = 36
|
|
|
|
[node name="Preview" type="SubViewportContainer" parent="Margin/Layout" unique_id=718492618]
|
|
custom_minimum_size = Vector2(420, 520)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 0
|
|
size_flags_vertical = 4
|
|
stretch = true
|
|
|
|
[node name="PreviewViewport" type="SubViewport" parent="Margin/Layout/Preview" unique_id=369907966]
|
|
own_world_3d = true
|
|
handle_input_locally = false
|
|
size = Vector2i(420, 520)
|
|
render_target_update_mode = 4
|
|
|
|
[node name="Environment" type="WorldEnvironment" parent="Margin/Layout/Preview/PreviewViewport" unique_id=2065272503]
|
|
environment = SubResource("Environment_preview")
|
|
|
|
[node name="Sun" type="DirectionalLight3D" parent="Margin/Layout/Preview/PreviewViewport" unique_id=1776501976]
|
|
transform = Transform3D(0.866025, -0.353553, 0.353553, 0, 0.707107, 0.707107, -0.5, -0.612372, 0.612372, 0, 3, 0)
|
|
light_energy = 1.1
|
|
|
|
[node name="PreviewCamera" type="Camera3D" parent="Margin/Layout/Preview/PreviewViewport" unique_id=55319451]
|
|
unique_name_in_owner = true
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.62, 1.5)
|
|
|
|
[node name="Model" type="Node3D" parent="Margin/Layout/Preview/PreviewViewport" unique_id=1496447090]
|
|
unique_name_in_owner = true
|
|
transform = Transform3D(-1, 0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0)
|
|
|
|
[node name="mouse" parent="Margin/Layout/Preview/PreviewViewport/Model" unique_id=1730754830 instance=ExtResource("3_mouse")]
|
|
transform = Transform3D(0.18240133, 0, 0, 0, 0.18240133, 0, 0, 0, 0.18240133, 0, 0, 0)
|
|
|
|
[node name="FaceRig" type="Node" parent="Margin/Layout/Preview/PreviewViewport" unique_id=304595484]
|
|
unique_name_in_owner = true
|
|
script = ExtResource("7_face_rig")
|
|
mesh_path = NodePath("../Model/mouse/MouseRig/Skeleton3D/body_mesh")
|
|
default_expression_id = "builtin:face_01"
|
|
|
|
[node name="Right" type="VBoxContainer" parent="Margin/Layout" unique_id=605730650]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
theme_override_constants/separation = 14
|
|
|
|
[node name="CharTitle" type="Label" parent="Margin/Layout/Right" unique_id=584718962]
|
|
layout_mode = 2
|
|
theme_override_colors/font_color = Color(1, 1, 1, 1)
|
|
theme_override_colors/font_outline_color = Color(0.05, 0.1, 0.25, 0.85)
|
|
theme_override_constants/outline_size = 10
|
|
theme_override_font_sizes/font_size = 40
|
|
text = "角色"
|
|
|
|
[node name="CharRow" type="HBoxContainer" parent="Margin/Layout/Right" unique_id=1751305595]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 10
|
|
|
|
[node name="CharButton" type="Button" parent="Margin/Layout/Right/CharRow" unique_id=1541380555]
|
|
custom_minimum_size = Vector2(160, 46)
|
|
layout_mode = 2
|
|
text = "小老鼠"
|
|
|
|
[node name="Spacer" type="Control" parent="Margin/Layout/Right" unique_id=562037857]
|
|
custom_minimum_size = Vector2(0, 12)
|
|
layout_mode = 2
|
|
mouse_filter = 2
|
|
|
|
[node name="FaceTitle" type="Label" parent="Margin/Layout/Right" unique_id=111752993]
|
|
layout_mode = 2
|
|
theme_override_colors/font_color = Color(1, 1, 1, 1)
|
|
theme_override_colors/font_outline_color = Color(0.05, 0.1, 0.25, 0.85)
|
|
theme_override_constants/outline_size = 8
|
|
theme_override_font_sizes/font_size = 28
|
|
text = "脸部"
|
|
|
|
[node name="PresetScroll" type="ScrollContainer" parent="Margin/Layout/Right"]
|
|
custom_minimum_size = Vector2(0, 190)
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
|
|
[node name="PresetRow" type="HFlowContainer" parent="Margin/Layout/Right/PresetScroll"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
theme_override_constants/h_separation = 10
|
|
theme_override_constants/v_separation = 8
|
|
|
|
[node name="DrawButton" type="Button" parent="Margin/Layout/Right" unique_id=206641737]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(160, 46)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 0
|
|
text = "自己画"
|
|
|
|
[node name="Grow" type="Control" parent="Margin/Layout/Right" unique_id=6282062]
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
mouse_filter = 2
|
|
|
|
[node name="Bottom" type="HBoxContainer" parent="Margin/Layout/Right" unique_id=1107875429]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 12
|
|
alignment = 2
|
|
|
|
[node name="BackButton" type="Button" parent="Margin/Layout/Right/Bottom" unique_id=1760710150]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(130, 46)
|
|
layout_mode = 2
|
|
text = "返回"
|
|
|
|
[node name="ConfirmButton" type="Button" parent="Margin/Layout/Right/Bottom" unique_id=814522243]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(130, 46)
|
|
layout_mode = 2
|
|
text = "确定"
|
|
|
|
[node name="PaintPanel" parent="." unique_id=132648199 instance=ExtResource("2_paint")]
|
|
visible = false
|
|
layout_mode = 1
|