2018-08-05 18:25:15 +00:00
|
|
|
[gd_scene load_steps=4 format=2]
|
|
|
|
|
|
|
|
[ext_resource path="res://scenes/GUI/character_selection/character_selection_menu.gd" type="Script" id=1]
|
|
|
|
[ext_resource path="res://assets/GUI/images/new_launcher_bg_0-1.png" type="Texture" id=2]
|
|
|
|
[ext_resource path="res://assets/GUI/images/new_char.png" type="Texture" id=3]
|
|
|
|
|
|
|
|
[node name="character_selection_menu" type="Control"]
|
|
|
|
|
|
|
|
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="texture_rect" type="TextureRect" parent="." 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 = 1
|
|
|
|
mouse_default_cursor_shape = 0
|
|
|
|
size_flags_horizontal = 1
|
|
|
|
size_flags_vertical = 1
|
|
|
|
texture = ExtResource( 2 )
|
|
|
|
expand = true
|
|
|
|
stretch_mode = 7
|
|
|
|
_sections_unfolded = [ "Size Flags" ]
|
|
|
|
|
|
|
|
[node name="h_box_container" type="HBoxContainer" 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 = 3
|
|
|
|
size_flags_vertical = 3
|
|
|
|
alignment = 0
|
|
|
|
_sections_unfolded = [ "Size Flags" ]
|
|
|
|
|
|
|
|
[node name="character_slots" type="VBoxContainer" parent="h_box_container" index="0"]
|
|
|
|
|
|
|
|
anchor_left = 0.0
|
|
|
|
anchor_top = 0.0
|
|
|
|
anchor_right = 0.0
|
|
|
|
anchor_bottom = 0.0
|
2018-08-05 19:36:20 +00:00
|
|
|
margin_right = 342.0
|
2018-08-05 18:25:15 +00:00
|
|
|
margin_bottom = 600.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
|
|
|
|
alignment = 0
|
|
|
|
|
|
|
|
[node name="slot0_box" type="HBoxContainer" parent="h_box_container/character_slots" index="0"]
|
|
|
|
|
|
|
|
anchor_left = 0.0
|
|
|
|
anchor_top = 0.0
|
|
|
|
anchor_right = 0.0
|
|
|
|
anchor_bottom = 0.0
|
2018-08-05 19:36:20 +00:00
|
|
|
margin_right = 342.0
|
2018-08-05 18:25:15 +00:00
|
|
|
margin_bottom = 128.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
|
|
|
|
custom_constants/separation = 8
|
|
|
|
alignment = 0
|
|
|
|
_sections_unfolded = [ "Size Flags", "custom_constants" ]
|
|
|
|
|
|
|
|
[node name="character_button" type="TextureButton" parent="h_box_container/character_slots/slot0_box" index="0"]
|
|
|
|
|
|
|
|
anchor_left = 0.0
|
|
|
|
anchor_top = 0.0
|
|
|
|
anchor_right = 0.0
|
|
|
|
anchor_bottom = 0.0
|
|
|
|
margin_right = 128.0
|
|
|
|
margin_bottom = 128.0
|
|
|
|
rect_min_size = Vector2( 128, 128 )
|
|
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
|
|
rect_clip_content = false
|
|
|
|
focus_mode = 2
|
|
|
|
mouse_filter = 0
|
|
|
|
mouse_default_cursor_shape = 0
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
size_flags_vertical = 1
|
|
|
|
toggle_mode = false
|
|
|
|
enabled_focus_mode = 2
|
|
|
|
shortcut = null
|
|
|
|
group = null
|
|
|
|
texture_normal = ExtResource( 3 )
|
|
|
|
_sections_unfolded = [ "Rect", "Size Flags", "Textures" ]
|
|
|
|
|
2018-08-05 19:36:20 +00:00
|
|
|
[node name="character_name" type="Button" parent="h_box_container/character_slots/slot0_box" index="1"]
|
2018-08-05 18:25:15 +00:00
|
|
|
|
|
|
|
anchor_left = 0.0
|
|
|
|
anchor_top = 0.0
|
|
|
|
anchor_right = 0.0
|
|
|
|
anchor_bottom = 0.0
|
|
|
|
margin_left = 136.0
|
2018-08-05 19:36:20 +00:00
|
|
|
margin_top = 54.0
|
|
|
|
margin_right = 342.0
|
|
|
|
margin_bottom = 74.0
|
2018-08-05 18:25:15 +00:00
|
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
|
|
rect_clip_content = false
|
2018-08-05 19:36:20 +00:00
|
|
|
focus_mode = 2
|
|
|
|
mouse_filter = 0
|
2018-08-05 18:25:15 +00:00
|
|
|
mouse_default_cursor_shape = 0
|
2018-08-05 19:36:20 +00:00
|
|
|
size_flags_horizontal = 3
|
2018-08-05 18:25:15 +00:00
|
|
|
size_flags_vertical = 4
|
2018-08-05 19:36:20 +00:00
|
|
|
toggle_mode = false
|
|
|
|
enabled_focus_mode = 2
|
|
|
|
shortcut = null
|
|
|
|
group = null
|
2018-08-05 18:25:15 +00:00
|
|
|
text = "Créer un nouveau personnage."
|
2018-08-05 19:36:20 +00:00
|
|
|
flat = true
|
|
|
|
align = 1
|
|
|
|
_sections_unfolded = [ "Size Flags" ]
|
2018-08-05 18:25:15 +00:00
|
|
|
|
|
|
|
[node name="return_button" type="Button" parent="h_box_container/character_slots" index="1"]
|
|
|
|
|
|
|
|
anchor_left = 0.0
|
|
|
|
anchor_top = 0.0
|
|
|
|
anchor_right = 0.0
|
|
|
|
anchor_bottom = 0.0
|
|
|
|
margin_top = 580.0
|
|
|
|
margin_right = 54.0
|
|
|
|
margin_bottom = 600.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 = 2
|
|
|
|
size_flags_vertical = 10
|
|
|
|
toggle_mode = false
|
|
|
|
enabled_focus_mode = 2
|
|
|
|
shortcut = null
|
|
|
|
group = null
|
|
|
|
text = "Retour"
|
|
|
|
flat = false
|
|
|
|
align = 1
|
|
|
|
_sections_unfolded = [ "Size Flags" ]
|
|
|
|
|
|
|
|
[node name="container" type="Container" parent="h_box_container" index="1"]
|
|
|
|
|
|
|
|
anchor_left = 0.0
|
|
|
|
anchor_top = 0.0
|
|
|
|
anchor_right = 0.0
|
|
|
|
anchor_bottom = 0.0
|
2018-08-05 19:36:20 +00:00
|
|
|
margin_left = 346.0
|
2018-08-05 18:25:15 +00:00
|
|
|
margin_right = 1024.0
|
|
|
|
margin_bottom = 600.0
|
|
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
|
|
rect_clip_content = false
|
|
|
|
mouse_filter = 0
|
|
|
|
mouse_default_cursor_shape = 0
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
size_flags_vertical = 3
|
|
|
|
_sections_unfolded = [ "Size Flags" ]
|
|
|
|
|
|
|
|
[connection signal="pressed" from="h_box_container/character_slots/slot0_box/character_button" to="." method="_on_slot0_character_button_pressed"]
|
|
|
|
|
2018-08-05 19:36:20 +00:00
|
|
|
[connection signal="pressed" from="h_box_container/character_slots/slot0_box/character_name" to="." method="_on_slot0_character_button_pressed"]
|
|
|
|
|
2018-08-05 18:25:15 +00:00
|
|
|
[connection signal="pressed" from="h_box_container/character_slots/return_button" to="." method="_on_return_button_pressed"]
|
|
|
|
|
|
|
|
|