259 lines
6.4 KiB
Text
259 lines
6.4 KiB
Text
|
[gd_scene load_steps=2 format=2]
|
||
|
|
||
|
[ext_resource path="res://gui_scene/GUI/scene_selection/select_scene_button.gd" type="Script" id=1]
|
||
|
|
||
|
[node name="scene_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
|
||
|
|
||
|
[node name="scenes_box" type="CenterContainer" 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 = 0
|
||
|
mouse_default_cursor_shape = 0
|
||
|
size_flags_horizontal = 1
|
||
|
size_flags_vertical = 1
|
||
|
use_top_left = false
|
||
|
|
||
|
[node name="scenes" type="VBoxContainer" parent="scenes_box" index="0"]
|
||
|
|
||
|
anchor_left = 0.0
|
||
|
anchor_top = 0.0
|
||
|
anchor_right = 0.0
|
||
|
anchor_bottom = 0.0
|
||
|
margin_left = 441.0
|
||
|
margin_top = 266.0
|
||
|
margin_right = 583.0
|
||
|
margin_bottom = 334.0
|
||
|
rect_pivot_offset = Vector2( 0, 0 )
|
||
|
rect_clip_content = false
|
||
|
mouse_filter = 1
|
||
|
mouse_default_cursor_shape = 0
|
||
|
size_flags_horizontal = 7
|
||
|
size_flags_vertical = 7
|
||
|
alignment = 0
|
||
|
_sections_unfolded = [ "Size Flags" ]
|
||
|
|
||
|
[node name="main_scene" type="HBoxContainer" parent="scenes_box/scenes" index="0"]
|
||
|
|
||
|
editor/display_folded = true
|
||
|
anchor_left = 0.0
|
||
|
anchor_top = 0.0
|
||
|
anchor_right = 0.0
|
||
|
anchor_bottom = 0.0
|
||
|
margin_right = 142.0
|
||
|
margin_bottom = 20.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="label" type="Label" parent="scenes_box/scenes/main_scene" index="0"]
|
||
|
|
||
|
anchor_left = 0.0
|
||
|
anchor_top = 0.0
|
||
|
anchor_right = 0.0
|
||
|
anchor_bottom = 0.0
|
||
|
margin_top = 3.0
|
||
|
margin_right = 87.0
|
||
|
margin_bottom = 17.0
|
||
|
rect_pivot_offset = Vector2( 0, 0 )
|
||
|
rect_clip_content = false
|
||
|
mouse_filter = 2
|
||
|
mouse_default_cursor_shape = 0
|
||
|
size_flags_horizontal = 3
|
||
|
size_flags_vertical = 4
|
||
|
text = "Main scene"
|
||
|
percent_visible = 1.0
|
||
|
lines_skipped = 0
|
||
|
max_lines_visible = -1
|
||
|
_sections_unfolded = [ "Size Flags" ]
|
||
|
|
||
|
[node name="select_scene_button" type="Button" parent="scenes_box/scenes/main_scene" index="1"]
|
||
|
|
||
|
anchor_left = 0.0
|
||
|
anchor_top = 0.0
|
||
|
anchor_right = 0.0
|
||
|
anchor_bottom = 0.0
|
||
|
margin_left = 91.0
|
||
|
margin_right = 142.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 = 9
|
||
|
size_flags_vertical = 1
|
||
|
toggle_mode = false
|
||
|
enabled_focus_mode = 2
|
||
|
shortcut = null
|
||
|
group = null
|
||
|
text = "select"
|
||
|
flat = false
|
||
|
align = 1
|
||
|
script = ExtResource( 1 )
|
||
|
_sections_unfolded = [ "Size Flags" ]
|
||
|
scene_path = "res://game_scene/Game/Game.tscn"
|
||
|
start_position_path = "start_position"
|
||
|
|
||
|
[node name="test_grid_map" type="HBoxContainer" parent="scenes_box/scenes" index="1"]
|
||
|
|
||
|
editor/display_folded = true
|
||
|
anchor_left = 0.0
|
||
|
anchor_top = 0.0
|
||
|
anchor_right = 0.0
|
||
|
anchor_bottom = 0.0
|
||
|
margin_top = 24.0
|
||
|
margin_right = 142.0
|
||
|
margin_bottom = 44.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
|
||
|
_sections_unfolded = [ "Size Flags" ]
|
||
|
|
||
|
[node name="label" type="Label" parent="scenes_box/scenes/test_grid_map" index="0"]
|
||
|
|
||
|
anchor_left = 0.0
|
||
|
anchor_top = 0.0
|
||
|
anchor_right = 0.0
|
||
|
anchor_bottom = 0.0
|
||
|
margin_top = 3.0
|
||
|
margin_right = 87.0
|
||
|
margin_bottom = 17.0
|
||
|
rect_pivot_offset = Vector2( 0, 0 )
|
||
|
rect_clip_content = false
|
||
|
mouse_filter = 2
|
||
|
mouse_default_cursor_shape = 0
|
||
|
size_flags_horizontal = 3
|
||
|
size_flags_vertical = 4
|
||
|
text = "Test grid map"
|
||
|
percent_visible = 1.0
|
||
|
lines_skipped = 0
|
||
|
max_lines_visible = -1
|
||
|
_sections_unfolded = [ "Size Flags" ]
|
||
|
|
||
|
[node name="select_scene_button" type="Button" parent="scenes_box/scenes/test_grid_map" index="1"]
|
||
|
|
||
|
anchor_left = 0.0
|
||
|
anchor_top = 0.0
|
||
|
anchor_right = 0.0
|
||
|
anchor_bottom = 0.0
|
||
|
margin_left = 91.0
|
||
|
margin_right = 142.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 = 9
|
||
|
size_flags_vertical = 1
|
||
|
toggle_mode = false
|
||
|
enabled_focus_mode = 2
|
||
|
shortcut = null
|
||
|
group = null
|
||
|
text = "select"
|
||
|
flat = false
|
||
|
align = 1
|
||
|
script = ExtResource( 1 )
|
||
|
_sections_unfolded = [ "Size Flags" ]
|
||
|
scene_path = "res://dispensaire_gridmap/dispensaire_gridmap.tscn"
|
||
|
start_position_path = "start_position"
|
||
|
|
||
|
[node name="test_scenes" type="HBoxContainer" parent="scenes_box/scenes" index="2"]
|
||
|
|
||
|
editor/display_folded = true
|
||
|
anchor_left = 0.0
|
||
|
anchor_top = 0.0
|
||
|
anchor_right = 0.0
|
||
|
anchor_bottom = 0.0
|
||
|
margin_top = 48.0
|
||
|
margin_right = 142.0
|
||
|
margin_bottom = 68.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="label" type="Label" parent="scenes_box/scenes/test_scenes" index="0"]
|
||
|
|
||
|
anchor_left = 0.0
|
||
|
anchor_top = 0.0
|
||
|
anchor_right = 0.0
|
||
|
anchor_bottom = 0.0
|
||
|
margin_top = 3.0
|
||
|
margin_right = 87.0
|
||
|
margin_bottom = 17.0
|
||
|
rect_pivot_offset = Vector2( 0, 0 )
|
||
|
rect_clip_content = false
|
||
|
mouse_filter = 2
|
||
|
mouse_default_cursor_shape = 0
|
||
|
size_flags_horizontal = 3
|
||
|
size_flags_vertical = 4
|
||
|
text = "Test scenes"
|
||
|
percent_visible = 1.0
|
||
|
lines_skipped = 0
|
||
|
max_lines_visible = -1
|
||
|
_sections_unfolded = [ "Size Flags" ]
|
||
|
|
||
|
[node name="select_scene_button" type="Button" parent="scenes_box/scenes/test_scenes" index="1"]
|
||
|
|
||
|
anchor_left = 0.0
|
||
|
anchor_top = 0.0
|
||
|
anchor_right = 0.0
|
||
|
anchor_bottom = 0.0
|
||
|
margin_left = 91.0
|
||
|
margin_right = 142.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 = 9
|
||
|
size_flags_vertical = 1
|
||
|
toggle_mode = false
|
||
|
enabled_focus_mode = 2
|
||
|
shortcut = null
|
||
|
group = null
|
||
|
text = "select"
|
||
|
flat = false
|
||
|
align = 1
|
||
|
script = ExtResource( 1 )
|
||
|
_sections_unfolded = [ "Size Flags" ]
|
||
|
scene_path = "res://dispensaire_scenes/dispensaire_scenes.tscn"
|
||
|
start_position_path = "start_position"
|
||
|
|
||
|
[connection signal="pressed" from="scenes_box/scenes/main_scene/select_scene_button" to="scenes_box/scenes/main_scene/select_scene_button" method="_on_select_scene_button_pressed"]
|
||
|
|
||
|
[connection signal="pressed" from="scenes_box/scenes/test_grid_map/select_scene_button" to="scenes_box/scenes/test_grid_map/select_scene_button" method="_on_select_scene_button_pressed"]
|
||
|
|
||
|
[connection signal="pressed" from="scenes_box/scenes/test_scenes/select_scene_button" to="scenes_box/scenes/test_scenes/select_scene_button" method="_on_select_scene_button_pressed"]
|
||
|
|
||
|
|