GRID.tscn 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. [gd_scene load_steps=12 format=2]
  2. [ext_resource path="res://GRID.gd" type="Script" id=1]
  3. [ext_resource path="res://LayerSelector.gd" type="Script" id=2]
  4. [ext_resource path="res://TICK_BUTTON.gd" type="Script" id=3]
  5. [ext_resource path="res://LAST_SCORE.gd" type="Script" id=4]
  6. [ext_resource path="res://BEST_SCORE.gd" type="Script" id=5]
  7. [ext_resource path="res://FOREGROUND_BUTTON.gd" type="Script" id=6]
  8. [ext_resource path="res://THREAD_BUTTON.gd" type="Script" id=7]
  9. [ext_resource path="res://SCORE_TABLE.gd" type="Script" id=8]
  10. [ext_resource path="res://GENERATION.gd" type="Script" id=9]
  11. [ext_resource path="res://STOP_THREAD_BUTTON.gd" type="Script" id=10]
  12. [sub_resource type="CanvasItemMaterial" id=1]
  13. [node name="GRID" type="Node2D"]
  14. position = Vector2( 5, 5 )
  15. script = ExtResource( 1 )
  16. [node name="z_offsetter" type="Node2D" parent="."]
  17. z_index = 2
  18. [node name="LAYER_SELECTOR" type="ItemList" parent="z_offsetter"]
  19. modulate = Color( 1, 1, 1, 0.745098 )
  20. material = SubResource( 1 )
  21. margin_left = 838.0
  22. margin_top = 21.0
  23. margin_right = 1012.0
  24. margin_bottom = 448.0
  25. script = ExtResource( 2 )
  26. __meta__ = {
  27. "_edit_use_anchors_": false
  28. }
  29. [node name="TICK_BUTTON" type="Button" parent="z_offsetter"]
  30. visible = false
  31. margin_left = 853.0
  32. margin_top = 448.0
  33. margin_right = 1009.0
  34. margin_bottom = 480.0
  35. text = "tick"
  36. script = ExtResource( 3 )
  37. __meta__ = {
  38. "_edit_use_anchors_": false
  39. }
  40. [node name="STOP_THREAD_BUTTON" type="Button" parent="z_offsetter"]
  41. visible = false
  42. margin_left = 853.0
  43. margin_top = 483.0
  44. margin_right = 1009.0
  45. margin_bottom = 515.0
  46. text = "stop thread"
  47. script = ExtResource( 10 )
  48. __meta__ = {
  49. "_edit_use_anchors_": false
  50. }
  51. [node name="THREAD_BUTTON" type="Button" parent="z_offsetter"]
  52. margin_left = 853.0
  53. margin_top = 483.0
  54. margin_right = 1009.0
  55. margin_bottom = 515.0
  56. text = "start as thread"
  57. script = ExtResource( 7 )
  58. __meta__ = {
  59. "_edit_use_anchors_": false
  60. }
  61. [node name="FOREGROUND_BUTTON" type="Button" parent="z_offsetter"]
  62. visible = false
  63. margin_left = 854.0
  64. margin_top = 519.0
  65. margin_right = 1010.0
  66. margin_bottom = 551.0
  67. text = "start as foreground"
  68. script = ExtResource( 6 )
  69. __meta__ = {
  70. "_edit_use_anchors_": false
  71. }
  72. [node name="LAST_THING" type="Node2D" parent="."]
  73. position = Vector2( 548, 329 )
  74. scale = Vector2( 0.5, 0.5 )
  75. [node name="Polygon2D" type="Polygon2D" parent="."]
  76. z_index = -1
  77. z_as_relative = false
  78. color = Color( 0, 0, 0, 1 )
  79. polygon = PoolVector2Array( 1043.08, 630.432, 1116.08, 220.432, 1014.08, -102.19, 545.077, -153.19, -92.0374, -27.1898, -119.037, 167.81, -26.0374, 694.085, 239.963, 706.085, 902.886, 701.085 )
  80. __meta__ = {
  81. "_edit_lock_": true
  82. }
  83. [node name="LAST_SCORE" type="Label" parent="."]
  84. visible = false
  85. margin_left = 742.0
  86. margin_top = 101.0
  87. margin_right = 782.0
  88. margin_bottom = 115.0
  89. script = ExtResource( 4 )
  90. __meta__ = {
  91. "_edit_use_anchors_": false
  92. }
  93. [node name="BEST_SCORE" type="Label" parent="."]
  94. visible = false
  95. margin_left = 737.0
  96. margin_top = 30.0
  97. margin_right = 777.0
  98. margin_bottom = 44.0
  99. script = ExtResource( 5 )
  100. __meta__ = {
  101. "_edit_use_anchors_": false
  102. }
  103. [node name="GENERATION" type="Label" parent="."]
  104. margin_left = 654.0
  105. margin_top = 46.0
  106. margin_right = 694.0
  107. margin_bottom = 60.0
  108. script = ExtResource( 9 )
  109. __meta__ = {
  110. "_edit_use_anchors_": false
  111. }
  112. [node name="SCORE_TABLE" type="Label" parent="."]
  113. margin_left = 728.0
  114. margin_top = 128.0
  115. margin_right = 824.0
  116. margin_bottom = 339.0
  117. script = ExtResource( 8 )
  118. __meta__ = {
  119. "_edit_use_anchors_": false
  120. }