world.tscn 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311
  1. [gd_scene load_steps=6 format=3 uid="uid://by3f5o7dyoqx4"]
  2. [ext_resource type="TileSet" uid="uid://do2l6lpuotti8" path="res://tileset.tres" id="1"]
  3. [ext_resource type="PackedScene" uid="uid://bao3yernlglws" path="res://rock.tscn" id="2"]
  4. [ext_resource type="Script" path="res://score.gd" id="3"]
  5. [ext_resource type="FontFile" uid="uid://knb8u535cfkw" path="res://montserrat.otf" id="4"]
  6. [ext_resource type="Script" path="res://bomb_spawner.gd" id="6_ac5ja"]
  7. [node name="World" type="Node2D"]
  8. [node name="TileMap" type="TileMap" parent="."]
  9. tile_set = ExtResource("1")
  10. cell_quadrant_size = 48
  11. format = 2
  12. layer_0/tile_data = PackedInt32Array(0, 0, 0, 65536, 0, 0, 131072, 0, 0, 196608, 0, 0, 262144, 0, 0, 327680, 0, 0, 393216, 0, 0, 458752, 0, 0, 524288, 0, 0, 589824, 0, 0, 655360, 0, 0, 720896, 0, 0, 786432, 0, 0, 1, 0, 0, 65537, 65536, 0, 131073, 65536, 0, 196609, 65536, 0, 262145, 65536, 0, 327681, 65536, 0, 393217, 65536, 0, 458753, 65536, 0, 524289, 65536, 0, 589825, 65536, 0, 655361, 65536, 0, 720897, 65536, 0, 786433, 0, 0, 2, 0, 0, 65538, 65536, 0, 131074, 0, 0, 196610, 65536, 0, 262146, 0, 0, 327682, 65536, 0, 393218, 0, 0, 458754, 65536, 0, 524290, 0, 0, 589826, 65536, 0, 655362, 0, 0, 720898, 65536, 0, 786434, 0, 0, 3, 0, 0, 65539, 65536, 0, 131075, 65536, 0, 196611, 65536, 0, 262147, 65536, 0, 327683, 65536, 0, 393219, 65536, 0, 458755, 65536, 0, 524291, 0, 0, 589827, 65536, 0, 655363, 65536, 0, 720899, 65536, 0, 786435, 0, 0, 4, 0, 0, 65540, 65536, 0, 131076, 0, 0, 196612, 0, 0, 262148, 0, 0, 327684, 65536, 0, 393220, 0, 0, 458756, 65536, 0, 524292, 0, 0, 589828, 65536, 0, 655364, 0, 0, 720900, 65536, 0, 786436, 0, 0, 5, 0, 0, 65541, 65536, 0, 131077, 65536, 0, 196613, 65536, 0, 262149, 65536, 0, 327685, 65536, 0, 393221, 65536, 0, 458757, 65536, 0, 524293, 65536, 0, 589829, 65536, 0, 655365, 65536, 0, 720901, 65536, 0, 786437, 0, 0, 6, 0, 0, 65542, 65536, 0, 131078, 0, 0, 196614, 65536, 0, 262150, 0, 0, 327686, 0, 0, 393222, 0, 0, 458758, 65536, 0, 524294, 0, 0, 589830, 65536, 0, 655366, 0, 0, 720902, 65536, 0, 786438, 0, 0, 7, 0, 0, 65543, 65536, 0, 131079, 65536, 0, 196615, 65536, 0, 262151, 65536, 0, 327687, 65536, 0, 393223, 65536, 0, 458759, 65536, 0, 524295, 65536, 0, 589831, 65536, 0, 655367, 65536, 0, 720903, 65536, 0, 786439, 0, 0, 8, 0, 0, 65544, 65536, 0, 131080, 0, 0, 196616, 65536, 0, 262152, 0, 0, 327688, 65536, 0, 393224, 0, 0, 458760, 65536, 0, 524296, 0, 0, 589832, 65536, 0, 655368, 0, 0, 720904, 65536, 0, 786440, 0, 0, 9, 0, 0, 65545, 65536, 0, 131081, 65536, 0, 196617, 65536, 0, 262153, 65536, 0, 327689, 65536, 0, 393225, 65536, 0, 458761, 65536, 0, 524297, 65536, 0, 589833, 65536, 0, 655369, 65536, 0, 720905, 65536, 0, 786441, 0, 0, 10, 0, 0, 65546, 65536, 0, 131082, 0, 0, 196618, 0, 0, 262154, 0, 0, 327690, 65536, 0, 393226, 0, 0, 458762, 65536, 0, 524298, 0, 0, 589834, 65536, 0, 655370, 0, 0, 720906, 65536, 0, 786442, 0, 0, 11, 0, 0, 65547, 65536, 0, 131083, 0, 0, 196619, 65536, 0, 262155, 65536, 0, 327691, 65536, 0, 393227, 65536, 0, 458763, 65536, 0, 524299, 65536, 0, 589835, 65536, 0, 655371, 65536, 0, 720907, 65536, 0, 786443, 0, 0, 12, 0, 0, 65548, 65536, 0, 131084, 0, 0, 196620, 65536, 0, 262156, 0, 0, 327692, 65536, 0, 393228, 0, 0, 458764, 65536, 0, 524300, 0, 0, 589836, 65536, 0, 655372, 0, 0, 720908, 65536, 0, 786444, 0, 0, 13, 0, 0, 65549, 65536, 0, 131085, 0, 0, 196621, 65536, 0, 262157, 65536, 0, 327693, 65536, 0, 393229, 0, 0, 458765, 65536, 0, 524301, 0, 0, 589837, 65536, 0, 655373, 65536, 0, 720909, 65536, 0, 786445, 0, 0, 14, 0, 0, 65550, 65536, 0, 131086, 0, 0, 196622, 65536, 0, 262158, 0, 0, 327694, 65536, 0, 393230, 0, 0, 458766, 65536, 0, 524302, 0, 0, 589838, 65536, 0, 655374, 0, 0, 720910, 65536, 0, 786446, 0, 0, 15, 0, 0, 65551, 65536, 0, 131087, 65536, 0, 196623, 65536, 0, 262159, 65536, 0, 327695, 65536, 0, 393231, 0, 0, 458767, 65536, 0, 524303, 65536, 0, 589839, 65536, 0, 655375, 65536, 0, 720911, 65536, 0, 786447, 0, 0, 16, 0, 0, 65552, 65536, 0, 131088, 0, 0, 196624, 65536, 0, 262160, 0, 0, 327696, 65536, 0, 393232, 0, 0, 458768, 65536, 0, 524304, 0, 0, 589840, 65536, 0, 655376, 0, 0, 720912, 65536, 0, 786448, 0, 0, 17, 0, 0, 65553, 65536, 0, 131089, 65536, 0, 196625, 65536, 0, 262161, 65536, 0, 327697, 65536, 0, 393233, 65536, 0, 458769, 65536, 0, 524305, 65536, 0, 589841, 65536, 0, 655377, 65536, 0, 720913, 65536, 0, 786449, 0, 0, 18, 0, 0, 65554, 65536, 0, 131090, 0, 0, 196626, 65536, 0, 262162, 0, 0, 327698, 0, 0, 393234, 0, 0, 458770, 65536, 0, 524306, 0, 0, 589842, 65536, 0, 655378, 0, 0, 720914, 65536, 0, 786450, 0, 0, 19, 0, 0, 65555, 65536, 0, 131091, 65536, 0, 196627, 65536, 0, 262163, 65536, 0, 327699, 65536, 0, 393235, 65536, 0, 458771, 65536, 0, 524307, 65536, 0, 589843, 65536, 0, 655379, 65536, 0, 720915, 65536, 0, 786451, 0, 0, 20, 0, 0, 65556, 0, 0, 131092, 0, 0, 196628, 0, 0, 262164, 0, 0, 327700, 0, 0, 393236, 0, 0, 458772, 0, 0, 524308, 0, 0, 589844, 0, 0, 655380, 0, 0, 720916, 0, 0, 786452, 0, 0, 21, 0, 0, 65557, 0, 0, 131093, 0, 0, 196629, 0, 0, 262165, 0, 0, 327701, 0, 0, 393237, 0, 0, 458773, 0, 0, 524309, 0, 0, 589845, 0, 0, 655381, 0, 0, 720917, 0, 0, 786453, 0, 0)
  13. [node name="SpawnPoints" type="Node2D" parent="."]
  14. [node name="0" type="Marker2D" parent="SpawnPoints"]
  15. position = Vector2(72, 72)
  16. [node name="1" type="Marker2D" parent="SpawnPoints"]
  17. position = Vector2(264, 216)
  18. [node name="2" type="Marker2D" parent="SpawnPoints"]
  19. position = Vector2(72, 456)
  20. [node name="3" type="Marker2D" parent="SpawnPoints"]
  21. position = Vector2(360, 552)
  22. [node name="4" type="Marker2D" parent="SpawnPoints"]
  23. position = Vector2(840, 360)
  24. [node name="5" type="Marker2D" parent="SpawnPoints"]
  25. position = Vector2(456, 264)
  26. [node name="6" type="Marker2D" parent="SpawnPoints"]
  27. position = Vector2(696, 264)
  28. [node name="7" type="Marker2D" parent="SpawnPoints"]
  29. position = Vector2(744, 456)
  30. [node name="8" type="Marker2D" parent="SpawnPoints"]
  31. position = Vector2(312, 456)
  32. [node name="9" type="Marker2D" parent="SpawnPoints"]
  33. position = Vector2(696, 72)
  34. [node name="10" type="Marker2D" parent="SpawnPoints"]
  35. position = Vector2(504, 72)
  36. [node name="11" type="Marker2D" parent="SpawnPoints"]
  37. position = Vector2(936, 72)
  38. [node name="Rocks" type="Node2D" parent="."]
  39. [node name="Rock0" parent="Rocks" instance=ExtResource("2")]
  40. position = Vector2(120, 72)
  41. [node name="Rock1" parent="Rocks" instance=ExtResource("2")]
  42. position = Vector2(264, 168)
  43. [node name="Rock2" parent="Rocks" instance=ExtResource("2")]
  44. position = Vector2(264, 120)
  45. [node name="Rock3" parent="Rocks" instance=ExtResource("2")]
  46. position = Vector2(216, 72)
  47. [node name="Rock4" parent="Rocks" instance=ExtResource("2")]
  48. position = Vector2(264, 72)
  49. [node name="Rock5" parent="Rocks" instance=ExtResource("2")]
  50. position = Vector2(312, 72)
  51. [node name="Rock6" parent="Rocks" instance=ExtResource("2")]
  52. position = Vector2(552, 168)
  53. [node name="Rock7" parent="Rocks" instance=ExtResource("2")]
  54. position = Vector2(600, 168)
  55. [node name="Rock8" parent="Rocks" instance=ExtResource("2")]
  56. position = Vector2(552, 216)
  57. [node name="Rock9" parent="Rocks" instance=ExtResource("2")]
  58. position = Vector2(264, 312)
  59. [node name="Rock10" parent="Rocks" instance=ExtResource("2")]
  60. position = Vector2(120, 360)
  61. [node name="Rock11" parent="Rocks" instance=ExtResource("2")]
  62. position = Vector2(168, 360)
  63. [node name="Rock12" parent="Rocks" instance=ExtResource("2")]
  64. position = Vector2(216, 360)
  65. [node name="Rock13" parent="Rocks" instance=ExtResource("2")]
  66. position = Vector2(120, 264)
  67. [node name="Rock14" parent="Rocks" instance=ExtResource("2")]
  68. position = Vector2(168, 216)
  69. [node name="Rock15" parent="Rocks" instance=ExtResource("2")]
  70. position = Vector2(72, 360)
  71. [node name="Rock16" parent="Rocks" instance=ExtResource("2")]
  72. position = Vector2(72, 312)
  73. [node name="Rock17" parent="Rocks" instance=ExtResource("2")]
  74. position = Vector2(72, 264)
  75. [node name="Rock18" parent="Rocks" instance=ExtResource("2")]
  76. position = Vector2(360, 360)
  77. [node name="Rock19" parent="Rocks" instance=ExtResource("2")]
  78. position = Vector2(408, 360)
  79. [node name="Rock20" parent="Rocks" instance=ExtResource("2")]
  80. position = Vector2(504, 360)
  81. [node name="Rock21" parent="Rocks" instance=ExtResource("2")]
  82. position = Vector2(600, 360)
  83. [node name="Rock22" parent="Rocks" instance=ExtResource("2")]
  84. position = Vector2(648, 360)
  85. [node name="Rock23" parent="Rocks" instance=ExtResource("2")]
  86. position = Vector2(504, 456)
  87. [node name="Rock24" parent="Rocks" instance=ExtResource("2")]
  88. position = Vector2(552, 456)
  89. [node name="Rock25" parent="Rocks" instance=ExtResource("2")]
  90. position = Vector2(552, 408)
  91. [node name="Rock26" parent="Rocks" instance=ExtResource("2")]
  92. position = Vector2(360, 456)
  93. [node name="Rock27" parent="Rocks" instance=ExtResource("2")]
  94. position = Vector2(360, 504)
  95. [node name="Rock28" parent="Rocks" instance=ExtResource("2")]
  96. position = Vector2(264, 504)
  97. [node name="Rock29" parent="Rocks" instance=ExtResource("2")]
  98. position = Vector2(264, 552)
  99. [node name="Rock30" parent="Rocks" instance=ExtResource("2")]
  100. position = Vector2(168, 456)
  101. [node name="Rock31" parent="Rocks" instance=ExtResource("2")]
  102. position = Vector2(168, 504)
  103. [node name="Rock32" parent="Rocks" instance=ExtResource("2")]
  104. position = Vector2(72, 552)
  105. [node name="Rock33" parent="Rocks" instance=ExtResource("2")]
  106. position = Vector2(120, 552)
  107. [node name="Rock34" parent="Rocks" instance=ExtResource("2")]
  108. position = Vector2(504, 552)
  109. [node name="Rock35" parent="Rocks" instance=ExtResource("2")]
  110. position = Vector2(600, 552)
  111. [node name="Rock36" parent="Rocks" instance=ExtResource("2")]
  112. position = Vector2(648, 552)
  113. [node name="Rock37" parent="Rocks" instance=ExtResource("2")]
  114. position = Vector2(648, 504)
  115. [node name="Rock38" parent="Rocks" instance=ExtResource("2")]
  116. position = Vector2(456, 216)
  117. [node name="Rock39" parent="Rocks" instance=ExtResource("2")]
  118. position = Vector2(360, 216)
  119. [node name="Rock40" parent="Rocks" instance=ExtResource("2")]
  120. position = Vector2(360, 168)
  121. [node name="Rock41" parent="Rocks" instance=ExtResource("2")]
  122. position = Vector2(456, 120)
  123. [node name="Rock42" parent="Rocks" instance=ExtResource("2")]
  124. position = Vector2(456, 408)
  125. [node name="Rock43" parent="Rocks" instance=ExtResource("2")]
  126. position = Vector2(456, 456)
  127. [node name="Rock44" parent="Rocks" instance=ExtResource("2")]
  128. position = Vector2(456, 504)
  129. [node name="Rock45" parent="Rocks" instance=ExtResource("2")]
  130. position = Vector2(600, 264)
  131. [node name="Rock46" parent="Rocks" instance=ExtResource("2")]
  132. position = Vector2(600, 72)
  133. [node name="Rock47" parent="Rocks" instance=ExtResource("2")]
  134. position = Vector2(408, 72)
  135. [node name="Rock48" parent="Rocks" instance=ExtResource("2")]
  136. position = Vector2(792, 168)
  137. [node name="Rock49" parent="Rocks" instance=ExtResource("2")]
  138. position = Vector2(744, 168)
  139. [node name="Rock50" parent="Rocks" instance=ExtResource("2")]
  140. position = Vector2(744, 264)
  141. [node name="Rock51" parent="Rocks" instance=ExtResource("2")]
  142. position = Vector2(792, 264)
  143. [node name="Rock52" parent="Rocks" instance=ExtResource("2")]
  144. position = Vector2(744, 360)
  145. [node name="Rock53" parent="Rocks" instance=ExtResource("2")]
  146. position = Vector2(744, 408)
  147. [node name="Rock54" parent="Rocks" instance=ExtResource("2")]
  148. position = Vector2(792, 552)
  149. [node name="Rock55" parent="Rocks" instance=ExtResource("2")]
  150. position = Vector2(840, 552)
  151. [node name="Rock56" parent="Rocks" instance=ExtResource("2")]
  152. position = Vector2(840, 504)
  153. [node name="Rock57" parent="Rocks" instance=ExtResource("2")]
  154. position = Vector2(840, 312)
  155. [node name="Rock58" parent="Rocks" instance=ExtResource("2")]
  156. position = Vector2(840, 264)
  157. [node name="Rock59" parent="Rocks" instance=ExtResource("2")]
  158. position = Vector2(840, 216)
  159. [node name="Rock60" parent="Rocks" instance=ExtResource("2")]
  160. position = Vector2(840, 120)
  161. [node name="Rock61" parent="Rocks" instance=ExtResource("2")]
  162. position = Vector2(792, 72)
  163. [node name="Rock62" parent="Rocks" instance=ExtResource("2")]
  164. position = Vector2(840, 72)
  165. [node name="Rock63" parent="Rocks" instance=ExtResource("2")]
  166. position = Vector2(936, 216)
  167. [node name="Rock64" parent="Rocks" instance=ExtResource("2")]
  168. position = Vector2(936, 264)
  169. [node name="Rock65" parent="Rocks" instance=ExtResource("2")]
  170. position = Vector2(936, 408)
  171. [node name="Rock66" parent="Rocks" instance=ExtResource("2")]
  172. position = Vector2(888, 456)
  173. [node name="Rock67" parent="Rocks" instance=ExtResource("2")]
  174. position = Vector2(936, 456)
  175. [node name="Rock68" parent="Rocks" instance=ExtResource("2")]
  176. position = Vector2(792, 456)
  177. [node name="Rock69" parent="Rocks" instance=ExtResource("2")]
  178. position = Vector2(840, 456)
  179. [node name="Players" type="Node2D" parent="."]
  180. [node name="Score" type="HBoxContainer" parent="."]
  181. offset_right = 1024.0
  182. offset_bottom = 40.0
  183. size_flags_horizontal = 2
  184. size_flags_vertical = 2
  185. script = ExtResource("3")
  186. [node name="Winner" type="Label" parent="."]
  187. visible = false
  188. offset_right = 1031.0
  189. offset_bottom = 617.0
  190. size_flags_horizontal = 2
  191. size_flags_vertical = 0
  192. theme_override_constants/shadow_offset_x = 2
  193. theme_override_constants/shadow_offset_y = 2
  194. theme_override_fonts/font = ExtResource("4")
  195. text = "THE WINNER IS:
  196. YOU"
  197. [node name="ExitGame" type="Button" parent="Winner"]
  198. layout_mode = 0
  199. offset_left = 384.0
  200. offset_top = 408.0
  201. offset_right = 649.0
  202. offset_bottom = 469.0
  203. size_flags_horizontal = 2
  204. size_flags_vertical = 2
  205. theme_override_fonts/font = ExtResource("4")
  206. text = "EXIT GAME"
  207. [node name="Camera2D" type="Camera2D" parent="."]
  208. offset = Vector2(512, 300)
  209. current = true
  210. [node name="PlayerSpawner" type="MultiplayerSpawner" parent="."]
  211. _spawnable_scenes = PackedStringArray("res://player.tscn")
  212. spawn_path = NodePath("../Players")
  213. [node name="BombSpawner" type="MultiplayerSpawner" parent="."]
  214. spawn_path = NodePath("..")
  215. script = ExtResource("6_ac5ja")
  216. [connection signal="pressed" from="Winner/ExitGame" to="Score" method="_on_exit_game_pressed"]