BiBiShip.tscn 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325
  1. [gd_scene load_steps=41 format=3 uid="uid://dlkwtp1gl45r"]
  2. [ext_resource type="Texture2D" uid="uid://duw5x0fjt8jak" path="res://component/ships/NihilAce_spaceship_building_pack_32x32.png" id="1_4y72e"]
  3. [ext_resource type="Script" path="res://component/ships/ship.gd" id="1_8hr01"]
  4. [ext_resource type="PackedScene" uid="uid://cm4nfeaf4e2rl" path="res://effect/thrust/thruster_big.tscn" id="2_qj0sy"]
  5. [ext_resource type="PackedScene" uid="uid://cmg7vt5a3l51t" path="res://effect/thrust/thruster_small.tscn" id="3_3s5ab"]
  6. [sub_resource type="PhysicsMaterial" id="PhysicsMaterial_g1gqc"]
  7. friction = 0.21
  8. [sub_resource type="TileMapPattern" id="TileMapPattern_uebyg"]
  9. tile_data = PackedInt32Array(0, 851968, 3, 65536, 851968, 4, 1, 917504, 3, 65537, 917504, 4)
  10. [sub_resource type="TileMapPattern" id="TileMapPattern_ae6bx"]
  11. tile_data = PackedInt32Array(0, 0, 0, 65536, 0, 1, 1, 65536, 0, 65537, 65536, 1)
  12. [sub_resource type="TileMapPattern" id="TileMapPattern_63ct6"]
  13. tile_data = PackedInt32Array(0, 0, 6, 65536, 0, 7, 1, 65536, 6, 65537, 65536, 7)
  14. [sub_resource type="TileMapPattern" id="TileMapPattern_4x54u"]
  15. tile_data = PackedInt32Array(0, 196608, 6, 65536, 196608, 7, 1, 262144, 6, 65537, 262144, 7)
  16. [sub_resource type="TileMapPattern" id="TileMapPattern_s264s"]
  17. tile_data = PackedInt32Array(0, 393216, 6, 65536, 393216, 7, 1, 458752, 6, 65537, 458752, 7)
  18. [sub_resource type="TileMapPattern" id="TileMapPattern_8cmnt"]
  19. tile_data = PackedInt32Array(0, 589824, 6, 65536, 589824, 7, 1, 655360, 6, 65537, 655360, 7)
  20. [sub_resource type="TileMapPattern" id="TileMapPattern_w1dkg"]
  21. tile_data = PackedInt32Array(0, 0, 9, 65536, 0, 10, 1, 65536, 9, 65537, 65536, 10)
  22. [sub_resource type="TileMapPattern" id="TileMapPattern_hsiaa"]
  23. tile_data = PackedInt32Array(0, 196608, 9, 65536, 196608, 10, 1, 262144, 9, 65537, 262144, 10)
  24. [sub_resource type="TileMapPattern" id="TileMapPattern_15fdl"]
  25. tile_data = PackedInt32Array(0, 393216, 9, 65536, 393216, 10, 1, 458752, 9, 65537, 458752, 10)
  26. [sub_resource type="TileMapPattern" id="TileMapPattern_8vw0k"]
  27. tile_data = PackedInt32Array(0, 589824, 9, 65536, 589824, 10, 1, 655360, 9, 65537, 655360, 10)
  28. [sub_resource type="TileMapPattern" id="TileMapPattern_f08sl"]
  29. tile_data = PackedInt32Array(0, 65536, 12, 1, 131072, 12, 2, 196608, 12)
  30. [sub_resource type="TileMapPattern" id="TileMapPattern_68mkk"]
  31. tile_data = PackedInt32Array(0, 327680, 12, 1, 393216, 12, 2, 458752, 12)
  32. [sub_resource type="TileMapPattern" id="TileMapPattern_ufyf2"]
  33. tile_data = PackedInt32Array(0, 196608, 0, 65536, 196608, 1, 1, 262144, 0, 65537, 262144, 1)
  34. [sub_resource type="TileMapPattern" id="TileMapPattern_uf6px"]
  35. tile_data = PackedInt32Array(0, 65536, 14, 65536, 65536, 15, 131072, 65536, 16)
  36. [sub_resource type="TileMapPattern" id="TileMapPattern_1bn80"]
  37. tile_data = PackedInt32Array(0, 196608, 14, 65536, 196608, 15, 131072, 196608, 16)
  38. [sub_resource type="TileMapPattern" id="TileMapPattern_epmyv"]
  39. tile_data = PackedInt32Array(0, 327680, 14, 65536, 327680, 15, 131072, 327680, 16)
  40. [sub_resource type="TileMapPattern" id="TileMapPattern_wjh60"]
  41. tile_data = PackedInt32Array(0, 458752, 14, 65536, 458752, 15, 131072, 458752, 16)
  42. [sub_resource type="TileMapPattern" id="TileMapPattern_ebjta"]
  43. tile_data = PackedInt32Array(0, 589824, 15, 65536, 589824, 16, 1, 655360, 15, 65537, 655360, 16)
  44. [sub_resource type="TileMapPattern" id="TileMapPattern_7i0xo"]
  45. tile_data = PackedInt32Array(0, 589824, 12, 65536, 589824, 13, 1, 655360, 12, 65537, 655360, 13)
  46. [sub_resource type="TileMapPattern" id="TileMapPattern_a2koj"]
  47. tile_data = PackedInt32Array(0, 786432, 12, 65536, 786432, 13)
  48. [sub_resource type="TileMapPattern" id="TileMapPattern_2uy0q"]
  49. tile_data = PackedInt32Array(0, 786432, 15, 65536, 786432, 16, 1, 851968, 15, 65537, 851968, 16)
  50. [sub_resource type="TileMapPattern" id="TileMapPattern_kkf7d"]
  51. tile_data = PackedInt32Array(0, 851968, 6, 65536, 851968, 7, 1, 917504, 6, 65537, 917504, 7)
  52. [sub_resource type="TileMapPattern" id="TileMapPattern_fo0c4"]
  53. tile_data = PackedInt32Array(0, 1048576, 6, 65536, 1048576, 7, 1, 1114112, 6, 65537, 1114112, 7)
  54. [sub_resource type="TileMapPattern" id="TileMapPattern_rgwqf"]
  55. tile_data = PackedInt32Array(0, 0, 3, 65536, 0, 4, 1, 65536, 3, 65537, 65536, 4)
  56. [sub_resource type="TileMapPattern" id="TileMapPattern_usexv"]
  57. tile_data = PackedInt32Array(0, 393216, 3, 1, 458752, 3)
  58. [sub_resource type="TileMapPattern" id="TileMapPattern_mfiah"]
  59. tile_data = PackedInt32Array(0, 196608, 3, 65536, 196608, 4, 1, 262144, 3, 65537, 262144, 4)
  60. [sub_resource type="TileMapPattern" id="TileMapPattern_3hak4"]
  61. tile_data = PackedInt32Array(0, 393216, 0, 65536, 393216, 1)
  62. [sub_resource type="TileMapPattern" id="TileMapPattern_3he7k"]
  63. tile_data = PackedInt32Array(0, 524288, 0, 65536, 524288, 1, 1, 589824, 0, 65537, 589824, 1)
  64. [sub_resource type="TileMapPattern" id="TileMapPattern_1n6ee"]
  65. tile_data = PackedInt32Array(0, 851968, 0, 65536, 851968, 1, 1, 917504, 0, 65537, 917504, 1)
  66. [sub_resource type="TileMapPattern" id="TileMapPattern_blhto"]
  67. tile_data = PackedInt32Array(0, 1376256, 3, 65536, 1376256, 4, 1, 1441792, 3, 65537, 1441792, 4)
  68. [sub_resource type="TileMapPattern" id="TileMapPattern_83q4y"]
  69. tile_data = PackedInt32Array(0, 1310720, 1, 65536, 1310720, 2)
  70. [sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_jm16n"]
  71. texture = ExtResource("1_4y72e")
  72. texture_region_size = Vector2i(32, 32)
  73. 0:0/0 = 0
  74. 1:0/0 = 0
  75. 3:0/0 = 0
  76. 4:0/0 = 0
  77. 6:0/0 = 0
  78. 8:0/0 = 0
  79. 9:0/0 = 0
  80. 11:0/0 = 0
  81. 13:0/0 = 0
  82. 14:0/0 = 0
  83. 16:0/0 = 0
  84. 17:0/0 = 0
  85. 0:1/0 = 0
  86. 1:1/0 = 0
  87. 3:1/0 = 0
  88. 4:1/0 = 0
  89. 6:1/0 = 0
  90. 8:1/0 = 0
  91. 9:1/0 = 0
  92. 13:1/0 = 0
  93. 14:1/0 = 0
  94. 16:1/0 = 0
  95. 17:1/0 = 0
  96. 20:1/0 = 0
  97. 0:3/0 = 0
  98. 1:3/0 = 0
  99. 3:3/0 = 0
  100. 4:3/0 = 0
  101. 6:3/0 = 0
  102. 7:3/0 = 0
  103. 9:3/0 = 0
  104. 11:3/0 = 0
  105. 13:3/0 = 0
  106. 14:3/0 = 0
  107. 16:3/0 = 0
  108. 0:4/0 = 0
  109. 1:4/0 = 0
  110. 3:4/0 = 0
  111. 4:4/0 = 0
  112. 13:4/0 = 0
  113. 14:4/0 = 0
  114. 21:4/0 = 0
  115. 22:4/0 = 0
  116. 0:6/0 = 0
  117. 1:6/0 = 0
  118. 3:6/0 = 0
  119. 4:6/0 = 0
  120. 6:6/0 = 0
  121. 7:6/0 = 0
  122. 9:6/0 = 0
  123. 10:6/0 = 0
  124. 13:6/0 = 0
  125. 14:6/0 = 0
  126. 16:6/0 = 0
  127. 17:6/0 = 0
  128. 19:6/0 = 0
  129. 20:6/0 = 0
  130. 0:7/0 = 0
  131. 1:7/0 = 0
  132. 3:7/0 = 0
  133. 4:7/0 = 0
  134. 6:7/0 = 0
  135. 7:7/0 = 0
  136. 9:7/0 = 0
  137. 10:7/0 = 0
  138. 13:7/0 = 0
  139. 14:7/0 = 0
  140. 16:7/0 = 0
  141. 17:7/0 = 0
  142. 19:7/0 = 0
  143. 20:7/0 = 0
  144. 21:7/0 = 0
  145. 21:8/0 = 0
  146. 0:9/0 = 0
  147. 1:9/0 = 0
  148. 3:9/0 = 0
  149. 4:9/0 = 0
  150. 6:9/0 = 0
  151. 7:9/0 = 0
  152. 9:9/0 = 0
  153. 10:9/0 = 0
  154. 13:9/0 = 0
  155. 14:9/0 = 0
  156. 16:9/0 = 0
  157. 17:9/0 = 0
  158. 0:10/0 = 0
  159. 1:10/0 = 0
  160. 3:10/0 = 0
  161. 4:10/0 = 0
  162. 6:10/0 = 0
  163. 7:10/0 = 0
  164. 9:10/0 = 0
  165. 10:10/0 = 0
  166. 13:10/0 = 0
  167. 14:10/0 = 0
  168. 16:10/0 = 0
  169. 17:10/0 = 0
  170. 1:12/0 = 0
  171. 2:12/0 = 0
  172. 3:12/0 = 0
  173. 5:12/0 = 0
  174. 6:12/0 = 0
  175. 7:12/0 = 0
  176. 9:12/0 = 0
  177. 10:12/0 = 0
  178. 12:12/0 = 0
  179. 9:13/0 = 0
  180. 10:13/0 = 0
  181. 12:13/0 = 0
  182. 1:14/0 = 0
  183. 3:14/0 = 0
  184. 5:14/0 = 0
  185. 7:14/0 = 0
  186. 1:15/0 = 0
  187. 3:15/0 = 0
  188. 5:15/0 = 0
  189. 7:15/0 = 0
  190. 9:15/0 = 0
  191. 10:15/0 = 0
  192. 12:15/0 = 0
  193. 13:15/0 = 0
  194. 1:16/0 = 0
  195. 3:16/0 = 0
  196. 5:16/0 = 0
  197. 7:16/0 = 0
  198. 9:16/0 = 0
  199. 10:16/0 = 0
  200. 12:16/0 = 0
  201. 13:16/0 = 0
  202. 21:3/0 = 0
  203. 22:3/0 = 0
  204. 20:2/0 = 0
  205. 18:3/0 = 0
  206. [sub_resource type="TileSet" id="TileSet_pl6km"]
  207. tile_size = Vector2i(32, 32)
  208. sources/0 = SubResource("TileSetAtlasSource_jm16n")
  209. pattern_0 = SubResource("TileMapPattern_uebyg")
  210. pattern_1 = SubResource("TileMapPattern_ae6bx")
  211. pattern_2 = SubResource("TileMapPattern_ufyf2")
  212. pattern_3 = SubResource("TileMapPattern_rgwqf")
  213. pattern_4 = SubResource("TileMapPattern_mfiah")
  214. pattern_5 = SubResource("TileMapPattern_3hak4")
  215. pattern_6 = SubResource("TileMapPattern_3he7k")
  216. pattern_7 = SubResource("TileMapPattern_1n6ee")
  217. pattern_8 = SubResource("TileMapPattern_blhto")
  218. pattern_9 = SubResource("TileMapPattern_83q4y")
  219. pattern_10 = SubResource("TileMapPattern_63ct6")
  220. pattern_11 = SubResource("TileMapPattern_4x54u")
  221. pattern_12 = SubResource("TileMapPattern_s264s")
  222. pattern_13 = SubResource("TileMapPattern_8cmnt")
  223. pattern_14 = SubResource("TileMapPattern_w1dkg")
  224. pattern_15 = SubResource("TileMapPattern_hsiaa")
  225. pattern_16 = SubResource("TileMapPattern_15fdl")
  226. pattern_17 = SubResource("TileMapPattern_8vw0k")
  227. pattern_18 = SubResource("TileMapPattern_f08sl")
  228. pattern_19 = SubResource("TileMapPattern_68mkk")
  229. pattern_20 = SubResource("TileMapPattern_uf6px")
  230. pattern_21 = SubResource("TileMapPattern_1bn80")
  231. pattern_22 = SubResource("TileMapPattern_epmyv")
  232. pattern_23 = SubResource("TileMapPattern_wjh60")
  233. pattern_24 = SubResource("TileMapPattern_ebjta")
  234. pattern_25 = SubResource("TileMapPattern_7i0xo")
  235. pattern_26 = SubResource("TileMapPattern_a2koj")
  236. pattern_27 = SubResource("TileMapPattern_2uy0q")
  237. pattern_28 = SubResource("TileMapPattern_kkf7d")
  238. pattern_29 = SubResource("TileMapPattern_fo0c4")
  239. pattern_30 = SubResource("TileMapPattern_usexv")
  240. [sub_resource type="CapsuleShape2D" id="CapsuleShape2D_scyxd"]
  241. radius = 64.0
  242. height = 372.0
  243. [sub_resource type="RectangleShape2D" id="RectangleShape2D_54thx"]
  244. size = Vector2(254, 175)
  245. [node name="Body" type="RigidBody2D"]
  246. collision_layer = 2
  247. collision_mask = 2
  248. mass = 400.0
  249. physics_material_override = SubResource("PhysicsMaterial_g1gqc")
  250. linear_damp = 0.05
  251. script = ExtResource("1_8hr01")
  252. [node name="BigThrusterMid" parent="." instance=ExtResource("2_qj0sy")]
  253. position = Vector2(0, 348)
  254. [node name="BigThrusterLeft" parent="." instance=ExtResource("2_qj0sy")]
  255. position = Vector2(-64, 316)
  256. [node name="BigThrusterRight" parent="." instance=ExtResource("2_qj0sy")]
  257. position = Vector2(64, 316)
  258. [node name="SmallThrusterLeft" parent="." instance=ExtResource("3_3s5ab")]
  259. position = Vector2(-176, 404)
  260. emitting = true
  261. [node name="SmallThrusterRight" parent="." instance=ExtResource("3_3s5ab")]
  262. position = Vector2(176, 404)
  263. emitting = true
  264. [node name="BiBiShip" type="TileMap" parent="."]
  265. tile_set = SubResource("TileSet_pl6km")
  266. format = 2
  267. layer_0/tile_data = PackedInt32Array(-1, 524288, 0, 65535, 524288, 1, -65536, 589824, 0, 0, 589824, 1, 131071, 851968, 0, 196607, 851968, 1, 65536, 917504, 0, 131072, 917504, 1, 262143, 851968, 3, 327679, 851968, 4, 196608, 917504, 3, 262144, 917504, 4, 393215, 393216, 3, 458751, 851968, 6, 327680, 458752, 3, 393216, 917504, 6, 131069, 393216, 6, 196605, 393216, 7, 131070, 458752, 6, 196606, 458752, 7, 262139, 393216, 6, 327675, 393216, 7, 262140, 458752, 6, 327676, 458752, 7, 458747, 393216, 6, 524283, 393216, 7, 458748, 458752, 6, 524284, 458752, 7, 65537, 589824, 6, 131073, 589824, 7, 65538, 655360, 6, 131074, 655360, 7, 196611, 589824, 6, 262147, 589824, 7, 196612, 655360, 6, 262148, 655360, 7, 393219, 589824, 6, 458755, 589824, 7, 393220, 655360, 6, 458756, 655360, 7, 327681, 589824, 15, 393217, 589824, 16, 327682, 655360, 15, 393218, 655360, 16, 393213, 589824, 15, 458749, 589824, 16, 393214, 655360, 15, 458750, 655360, 16, -2, 786432, 12, 65534, 786432, 13, -65535, 786432, 12, 1, 786432, 13, 524285, 1376256, 3, 589821, 1376256, 4, 524286, 1441792, 3, 589822, 1441792, 4, 458753, 1376256, 3, 524289, 1376256, 4, 458754, 1441792, 3, 524290, 1441792, 4, 589823, 1376256, 3, 655359, 1376256, 4, 524288, 1441792, 3, 589824, 1441792, 4, 196609, 1048576, 6, 262145, 1048576, 7, 196610, 1114112, 6, 262146, 1114112, 7, 262141, 851968, 6, 327677, 851968, 7, 262142, 917504, 6, 327678, 917504, 7, 524287, 851968, 7, 458752, 917504, 7, 589819, 196608, 3, 655355, 196608, 4, 589820, 262144, 3, 655356, 262144, 4, 524291, 0, 3, 589827, 0, 4, 524292, 65536, 3, 589828, 65536, 4, 655352, 65536, 12, 655353, 131072, 12, 524282, 786432, 12, 589818, 786432, 13, 655354, 196608, 12, 720890, 1310720, 1, 786426, 1310720, 2, 458757, 786432, 12, 524293, 786432, 13, 589829, 327680, 12, 655365, 1310720, 1, 720901, 1310720, 2, 589830, 393216, 12, 589831, 458752, 12, -131073, 589824, 12, -65537, 589824, 13, -196608, 655360, 12, -131072, 655360, 13)
  268. [node name="MainShape" type="CollisionShape2D" parent="."]
  269. position = Vector2(0, 112)
  270. shape = SubResource("CapsuleShape2D_scyxd")
  271. [node name="RearShape" type="CollisionShape2D" parent="."]
  272. position = Vector2(0, 184.5)
  273. shape = SubResource("RectangleShape2D_54thx")
  274. [connection signal="thrusted" from="." to="BigThrusterMid" method="_on_thrusted"]
  275. [connection signal="thrusted" from="." to="BigThrusterLeft" method="_on_thrusted"]
  276. [connection signal="thrusted" from="." to="BigThrusterRight" method="_on_thrusted"]
  277. [connection signal="thrusted" from="." to="SmallThrusterLeft" method="_on_thrusted"]
  278. [connection signal="thrusted" from="." to="SmallThrusterRight" method="_on_thrusted"]