LevelSelectionScreen.tscn 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. [gd_scene load_steps=4 format=2]
  2. [ext_resource path="res://UI/level_selection_screen.gd" type="Script" id=1]
  3. [ext_resource path="res://UI/LevelButton.tscn" type="PackedScene" id=2]
  4. [ext_resource path="res://Fonts/hanken/hanken_18.tres" type="DynamicFont" id=3]
  5. [node name="LevelSelectionScreen" type="Control"]
  6. anchor_right = 1.0
  7. anchor_bottom = 1.0
  8. script = ExtResource( 1 )
  9. [node name="ColorRect" type="ColorRect" parent="."]
  10. margin_right = 1280.0
  11. margin_bottom = 720.0
  12. color = Color( 0.121569, 0.560784, 0.592157, 1 )
  13. [node name="Margin" type="MarginContainer" parent="."]
  14. anchor_right = 1.0
  15. anchor_bottom = 1.0
  16. margin_left = 50.0
  17. margin_top = 50.0
  18. margin_right = -50.0
  19. margin_bottom = -50.0
  20. [node name="VBoxContainer" type="VBoxContainer" parent="Margin"]
  21. margin_right = 1180.0
  22. margin_bottom = 620.0
  23. [node name="GridContainer" type="GridContainer" parent="Margin/VBoxContainer"]
  24. editor/display_folded = true
  25. margin_right = 1180.0
  26. margin_bottom = 591.0
  27. size_flags_vertical = 3
  28. custom_constants/vseparation = 32
  29. custom_constants/hseparation = 32
  30. columns = 3
  31. [node name="LevelButton" parent="Margin/VBoxContainer/GridContainer" instance=ExtResource( 2 )]
  32. margin_right = 372.0
  33. size_flags_horizontal = 3
  34. text = "just the beginning"
  35. level = "res://levels/Lv01_beginning.tscn"
  36. [node name="LevelButton2" parent="Margin/VBoxContainer/GridContainer" instance=ExtResource( 2 )]
  37. margin_left = 404.0
  38. margin_right = 776.0
  39. size_flags_horizontal = 3
  40. text = "introducing holes"
  41. level = "res://levels/Lv02_holes.tscn"
  42. [node name="LevelButton4" parent="Margin/VBoxContainer/GridContainer" instance=ExtResource( 2 )]
  43. margin_left = 808.0
  44. margin_right = 1180.0
  45. size_flags_horizontal = 3
  46. text = "and now layers"
  47. level = "res://levels/Lv03_layers.tscn"
  48. [node name="LevelButton3" parent="Margin/VBoxContainer/GridContainer" instance=ExtResource( 2 )]
  49. margin_top = 132.0
  50. margin_right = 372.0
  51. margin_bottom = 232.0
  52. size_flags_horizontal = 3
  53. text = "introducing box buttons"
  54. level = "res://levels/Lv04_buttons.tscn"
  55. [node name="LevelButton5" parent="Margin/VBoxContainer/GridContainer" instance=ExtResource( 2 )]
  56. margin_left = 404.0
  57. margin_top = 132.0
  58. margin_right = 776.0
  59. margin_bottom = 232.0
  60. size_flags_horizontal = 3
  61. text = "all together now"
  62. level = "res://levels/Lv05_together.tscn"
  63. [node name="LevelButton6" parent="Margin/VBoxContainer/GridContainer" instance=ExtResource( 2 )]
  64. margin_left = 808.0
  65. margin_top = 132.0
  66. margin_right = 1180.0
  67. margin_bottom = 232.0
  68. size_flags_horizontal = 3
  69. text = "the snake"
  70. level = "res://levels/Lv06_snake.tscn"
  71. [node name="LevelButton7" parent="Margin/VBoxContainer/GridContainer" instance=ExtResource( 2 )]
  72. margin_top = 264.0
  73. margin_right = 372.0
  74. margin_bottom = 364.0
  75. size_flags_horizontal = 3
  76. disabled = true
  77. [node name="LevelButton8" parent="Margin/VBoxContainer/GridContainer" instance=ExtResource( 2 )]
  78. margin_left = 404.0
  79. margin_top = 264.0
  80. margin_right = 776.0
  81. margin_bottom = 364.0
  82. size_flags_horizontal = 3
  83. disabled = true
  84. [node name="ButtonBackToMainMenu" type="Button" parent="Margin/VBoxContainer"]
  85. margin_top = 595.0
  86. margin_right = 1180.0
  87. margin_bottom = 620.0
  88. custom_fonts/font = ExtResource( 3 )
  89. text = "back to main menu"
  90. flat = true
  91. [connection signal="pressed" from="Margin/VBoxContainer/ButtonBackToMainMenu" to="." method="_on_ButtonBackToMainMenu_pressed"]