308 lines
9 KiB
Text
308 lines
9 KiB
Text
[gd_scene load_steps=7 format=2]
|
|
|
|
[ext_resource path="res://login_scene/character_selection_menu.gd" type="Script" id=1]
|
|
[ext_resource path="res://scenes/Game/Character/Character.tscn" type="PackedScene" id=2]
|
|
[ext_resource path="res://assets/GUI/images/new_launcher_bg_0-1.png" type="Texture" id=3]
|
|
[ext_resource path="res://login_scene/character_slots.tscn" type="PackedScene" id=4]
|
|
[ext_resource path="res://login_scene/character_creation_box.tscn" type="PackedScene" id=5]
|
|
|
|
[sub_resource type="ViewportTexture" id=1]
|
|
|
|
resource_local_to_scene = true
|
|
flags = 0
|
|
viewport_path = NodePath("viewport")
|
|
|
|
[node name="character_selection_menu" type="Control" index="0"]
|
|
|
|
anchor_left = 0.0
|
|
anchor_top = 0.0
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
rect_clip_content = false
|
|
mouse_filter = 0
|
|
mouse_default_cursor_shape = 0
|
|
size_flags_horizontal = 1
|
|
size_flags_vertical = 1
|
|
script = ExtResource( 1 )
|
|
|
|
[node name="viewport" type="Viewport" parent="." index="0"]
|
|
|
|
arvr = false
|
|
size = Vector2( 512, 512 )
|
|
own_world = false
|
|
world = null
|
|
transparent_bg = true
|
|
msaa = 2
|
|
hdr = true
|
|
disable_3d = false
|
|
usage = 2
|
|
debug_draw = 0
|
|
render_target_v_flip = true
|
|
render_target_clear_mode = 0
|
|
render_target_update_mode = 2
|
|
audio_listener_enable_2d = false
|
|
audio_listener_enable_3d = false
|
|
physics_object_picking = false
|
|
gui_disable_input = false
|
|
gui_snap_controls_to_pixels = true
|
|
shadow_atlas_size = 0
|
|
shadow_atlas_quad_0 = 2
|
|
shadow_atlas_quad_1 = 2
|
|
shadow_atlas_quad_2 = 3
|
|
shadow_atlas_quad_3 = 4
|
|
_sections_unfolded = [ "Render Target", "Rendering" ]
|
|
|
|
[node name="character" parent="viewport" index="0" instance=ExtResource( 2 )]
|
|
|
|
[node name="texture_rect" type="TextureRect" parent="." index="1"]
|
|
|
|
anchor_left = 0.0
|
|
anchor_top = 0.0
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
rect_clip_content = false
|
|
mouse_filter = 1
|
|
mouse_default_cursor_shape = 0
|
|
size_flags_horizontal = 1
|
|
size_flags_vertical = 1
|
|
texture = ExtResource( 3 )
|
|
expand = true
|
|
stretch_mode = 7
|
|
_sections_unfolded = [ "Size Flags" ]
|
|
|
|
[node name="margin_container" type="MarginContainer" parent="." index="2"]
|
|
|
|
anchor_left = 0.0
|
|
anchor_top = 0.0
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
rect_clip_content = false
|
|
mouse_filter = 0
|
|
mouse_default_cursor_shape = 0
|
|
size_flags_horizontal = 1
|
|
size_flags_vertical = 1
|
|
custom_constants/margin_right = 8
|
|
custom_constants/margin_top = 8
|
|
custom_constants/margin_left = 8
|
|
custom_constants/margin_bottom = 8
|
|
_sections_unfolded = [ "Size Flags", "custom_constants" ]
|
|
|
|
[node name="character_box" type="HBoxContainer" parent="margin_container" index="0"]
|
|
|
|
anchor_left = 0.0
|
|
anchor_top = 0.0
|
|
anchor_right = 0.0
|
|
anchor_bottom = 0.0
|
|
margin_left = 8.0
|
|
margin_top = 8.0
|
|
margin_right = 1016.0
|
|
margin_bottom = 592.0
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
rect_clip_content = false
|
|
mouse_filter = 1
|
|
mouse_default_cursor_shape = 0
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
alignment = 0
|
|
_sections_unfolded = [ "Size Flags", "custom_constants" ]
|
|
|
|
[node name="character_slots" parent="margin_container/character_box" index="0" instance=ExtResource( 4 )]
|
|
|
|
margin_top = 282.0
|
|
margin_bottom = 302.0
|
|
size_flags_vertical = 6
|
|
custom_constants/separation = 8
|
|
_sections_unfolded = [ "Size Flags", "custom_constants" ]
|
|
|
|
[node name="character_creation_box" parent="margin_container/character_box" index="1" instance=ExtResource( 5 )]
|
|
|
|
visible = false
|
|
margin_left = 58.0
|
|
margin_top = 191.0
|
|
margin_right = 600.0
|
|
margin_bottom = 409.0
|
|
|
|
[node name="v_box_container" type="VBoxContainer" parent="margin_container/character_box" index="2"]
|
|
|
|
anchor_left = 0.0
|
|
anchor_top = 0.0
|
|
anchor_right = 0.0
|
|
anchor_bottom = 0.0
|
|
margin_left = 58.0
|
|
margin_right = 1008.0
|
|
margin_bottom = 584.0
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
rect_clip_content = false
|
|
mouse_filter = 1
|
|
mouse_default_cursor_shape = 0
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
alignment = 0
|
|
_sections_unfolded = [ "Size Flags" ]
|
|
|
|
[node name="nine_patch_rect" type="NinePatchRect" parent="margin_container/character_box/v_box_container" index="0"]
|
|
|
|
anchor_left = 0.0
|
|
anchor_top = 0.0
|
|
anchor_right = 0.0
|
|
anchor_bottom = 0.0
|
|
margin_left = 219.0
|
|
margin_top = 24.0
|
|
margin_right = 731.0
|
|
margin_bottom = 536.0
|
|
rect_min_size = Vector2( 512, 512 )
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
rect_clip_content = false
|
|
mouse_filter = 2
|
|
mouse_default_cursor_shape = 0
|
|
size_flags_horizontal = 6
|
|
size_flags_vertical = 6
|
|
texture = SubResource( 1 )
|
|
_sections_unfolded = [ "Axis Stretch", "Grow Direction", "Margin", "Rect", "Size Flags" ]
|
|
|
|
[node name="h_box_container" type="HBoxContainer" parent="margin_container/character_box/v_box_container" index="1"]
|
|
|
|
anchor_left = 0.0
|
|
anchor_top = 0.0
|
|
anchor_right = 0.0
|
|
anchor_bottom = 0.0
|
|
margin_left = 425.0
|
|
margin_top = 564.0
|
|
margin_right = 524.0
|
|
margin_bottom = 584.0
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
rect_clip_content = false
|
|
mouse_filter = 1
|
|
mouse_default_cursor_shape = 0
|
|
size_flags_horizontal = 6
|
|
size_flags_vertical = 1
|
|
alignment = 0
|
|
_sections_unfolded = [ "Size Flags" ]
|
|
|
|
[node name="turn_left" type="Button" parent="margin_container/character_box/v_box_container/h_box_container" index="0"]
|
|
|
|
anchor_left = 0.0
|
|
anchor_top = 0.0
|
|
anchor_right = 0.0
|
|
anchor_bottom = 0.0
|
|
margin_right = 25.0
|
|
margin_bottom = 20.0
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
rect_clip_content = false
|
|
focus_mode = 2
|
|
mouse_filter = 0
|
|
mouse_default_cursor_shape = 0
|
|
size_flags_horizontal = 1
|
|
size_flags_vertical = 1
|
|
toggle_mode = false
|
|
action_mode = 0
|
|
enabled_focus_mode = 2
|
|
shortcut = null
|
|
group = null
|
|
text = "<-"
|
|
flat = false
|
|
align = 1
|
|
|
|
[node name="zoom_out" type="Button" parent="margin_container/character_box/v_box_container/h_box_container" index="1"]
|
|
|
|
anchor_left = 0.0
|
|
anchor_top = 0.0
|
|
anchor_right = 0.0
|
|
anchor_bottom = 0.0
|
|
margin_left = 29.0
|
|
margin_right = 46.0
|
|
margin_bottom = 20.0
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
rect_clip_content = false
|
|
focus_mode = 2
|
|
mouse_filter = 0
|
|
mouse_default_cursor_shape = 0
|
|
size_flags_horizontal = 1
|
|
size_flags_vertical = 1
|
|
toggle_mode = false
|
|
enabled_focus_mode = 2
|
|
shortcut = null
|
|
group = null
|
|
text = "-"
|
|
flat = false
|
|
align = 1
|
|
|
|
[node name="zoom_in" type="Button" parent="margin_container/character_box/v_box_container/h_box_container" index="2"]
|
|
|
|
anchor_left = 0.0
|
|
anchor_top = 0.0
|
|
anchor_right = 0.0
|
|
anchor_bottom = 0.0
|
|
margin_left = 50.0
|
|
margin_right = 70.0
|
|
margin_bottom = 20.0
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
rect_clip_content = false
|
|
focus_mode = 2
|
|
mouse_filter = 0
|
|
mouse_default_cursor_shape = 0
|
|
size_flags_horizontal = 1
|
|
size_flags_vertical = 1
|
|
toggle_mode = false
|
|
enabled_focus_mode = 2
|
|
shortcut = null
|
|
group = null
|
|
text = "+"
|
|
flat = false
|
|
align = 1
|
|
|
|
[node name="turn_right" type="Button" parent="margin_container/character_box/v_box_container/h_box_container" index="3"]
|
|
|
|
anchor_left = 0.0
|
|
anchor_top = 0.0
|
|
anchor_right = 0.0
|
|
anchor_bottom = 0.0
|
|
margin_left = 74.0
|
|
margin_right = 99.0
|
|
margin_bottom = 20.0
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
rect_clip_content = false
|
|
focus_mode = 2
|
|
mouse_filter = 0
|
|
mouse_default_cursor_shape = 0
|
|
size_flags_horizontal = 1
|
|
size_flags_vertical = 1
|
|
toggle_mode = false
|
|
action_mode = 0
|
|
enabled_focus_mode = 2
|
|
shortcut = null
|
|
group = null
|
|
text = "->"
|
|
flat = false
|
|
align = 1
|
|
|
|
[connection signal="return_button_pressed" from="margin_container/character_box/character_slots" to="." method="_on_character_slots_return_button_pressed"]
|
|
|
|
[connection signal="creation_button_pressed" from="margin_container/character_box/character_creation_box" to="." method="_on_character_creation_box_creation_button_pressed"]
|
|
|
|
[connection signal="return_button_pressed" from="margin_container/character_box/character_creation_box" to="." method="_on_character_creation_box_return_button_pressed"]
|
|
|
|
[connection signal="sex_bar_changed" from="margin_container/character_box/character_creation_box" to="." method="_on_character_creation_box_sex_bar_changed"]
|
|
|
|
[connection signal="size_bar_changed" from="margin_container/character_box/character_creation_box" to="." method="_on_character_creation_box_size_bar_changed"]
|
|
|
|
[connection signal="button_down" from="margin_container/character_box/v_box_container/h_box_container/turn_left" to="." method="_on_turn_left_button_down"]
|
|
|
|
[connection signal="button_up" from="margin_container/character_box/v_box_container/h_box_container/turn_left" to="." method="_on_turn_left_button_up"]
|
|
|
|
[connection signal="button_down" from="margin_container/character_box/v_box_container/h_box_container/zoom_out" to="." method="_on_zoom_out_button_down"]
|
|
|
|
[connection signal="button_up" from="margin_container/character_box/v_box_container/h_box_container/zoom_out" to="." method="_on_zoom_out_button_up"]
|
|
|
|
[connection signal="button_down" from="margin_container/character_box/v_box_container/h_box_container/zoom_in" to="." method="_on_zoom_in_button_down"]
|
|
|
|
[connection signal="button_up" from="margin_container/character_box/v_box_container/h_box_container/zoom_in" to="." method="_on_zoom_in_button_up"]
|
|
|
|
[connection signal="button_down" from="margin_container/character_box/v_box_container/h_box_container/turn_right" to="." method="_on_turn_right_button_down"]
|
|
|
|
[connection signal="button_up" from="margin_container/character_box/v_box_container/h_box_container/turn_right" to="." method="_on_turn_right_button_up"]
|
|
|
|
|