game.collection 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254
  1. name: "game"
  2. scale_along_z: 0
  3. embedded_instances {
  4. id: "game"
  5. data: "components {\n"
  6. " id: \"game\"\n"
  7. " component: \"/example/game.script\"\n"
  8. " position {\n"
  9. " x: 0.0\n"
  10. " y: 0.0\n"
  11. " z: 0.0\n"
  12. " }\n"
  13. " rotation {\n"
  14. " x: 0.0\n"
  15. " y: 0.0\n"
  16. " z: 0.0\n"
  17. " w: 1.0\n"
  18. " }\n"
  19. " property_decls {\n"
  20. " }\n"
  21. "}\n"
  22. ""
  23. position {
  24. x: 0.0
  25. y: 0.0
  26. z: 0.0
  27. }
  28. rotation {
  29. x: 0.0
  30. y: 0.0
  31. z: 0.0
  32. w: 1.0
  33. }
  34. scale3 {
  35. x: 1.0
  36. y: 1.0
  37. z: 1.0
  38. }
  39. }
  40. embedded_instances {
  41. id: "enemy1"
  42. data: "embedded_components {\n"
  43. " id: \"sprite\"\n"
  44. " type: \"sprite\"\n"
  45. " data: \"default_animation: \\\"enemyBlack1\\\"\\n"
  46. "material: \\\"/builtins/materials/sprite.material\\\"\\n"
  47. "blend_mode: BLEND_MODE_ALPHA\\n"
  48. "textures {\\n"
  49. " sampler: \\\"texture_sampler\\\"\\n"
  50. " texture: \\\"/assets/sprites.atlas\\\"\\n"
  51. "}\\n"
  52. "\"\n"
  53. " position {\n"
  54. " x: 0.0\n"
  55. " y: 0.0\n"
  56. " z: 0.0\n"
  57. " }\n"
  58. " rotation {\n"
  59. " x: 0.0\n"
  60. " y: 0.0\n"
  61. " z: 0.0\n"
  62. " w: 1.0\n"
  63. " }\n"
  64. "}\n"
  65. ""
  66. position {
  67. x: 0.0
  68. y: 589.0
  69. z: 0.0
  70. }
  71. rotation {
  72. x: 0.0
  73. y: 0.0
  74. z: 0.0
  75. w: 1.0
  76. }
  77. scale3 {
  78. x: 1.0
  79. y: 1.0
  80. z: 1.0
  81. }
  82. }
  83. embedded_instances {
  84. id: "player"
  85. data: "embedded_components {\n"
  86. " id: \"sprite\"\n"
  87. " type: \"sprite\"\n"
  88. " data: \"default_animation: \\\"playerShip1_red\\\"\\n"
  89. "material: \\\"/builtins/materials/sprite.material\\\"\\n"
  90. "blend_mode: BLEND_MODE_ALPHA\\n"
  91. "textures {\\n"
  92. " sampler: \\\"texture_sampler\\\"\\n"
  93. " texture: \\\"/assets/sprites.atlas\\\"\\n"
  94. "}\\n"
  95. "\"\n"
  96. " position {\n"
  97. " x: 0.0\n"
  98. " y: 0.0\n"
  99. " z: 0.0\n"
  100. " }\n"
  101. " rotation {\n"
  102. " x: 0.0\n"
  103. " y: 0.0\n"
  104. " z: 0.0\n"
  105. " w: 1.0\n"
  106. " }\n"
  107. "}\n"
  108. ""
  109. position {
  110. x: 360.0
  111. y: 100.0
  112. z: 0.0
  113. }
  114. rotation {
  115. x: 0.0
  116. y: 0.0
  117. z: 0.0
  118. w: 1.0
  119. }
  120. scale3 {
  121. x: 1.0
  122. y: 1.0
  123. z: 1.0
  124. }
  125. }
  126. embedded_instances {
  127. id: "enemy2"
  128. data: "embedded_components {\n"
  129. " id: \"sprite\"\n"
  130. " type: \"sprite\"\n"
  131. " data: \"default_animation: \\\"enemyBlack1\\\"\\n"
  132. "material: \\\"/builtins/materials/sprite.material\\\"\\n"
  133. "blend_mode: BLEND_MODE_ALPHA\\n"
  134. "textures {\\n"
  135. " sampler: \\\"texture_sampler\\\"\\n"
  136. " texture: \\\"/assets/sprites.atlas\\\"\\n"
  137. "}\\n"
  138. "\"\n"
  139. " position {\n"
  140. " x: 0.0\n"
  141. " y: 0.0\n"
  142. " z: 0.0\n"
  143. " }\n"
  144. " rotation {\n"
  145. " x: 0.0\n"
  146. " y: 0.0\n"
  147. " z: 0.0\n"
  148. " w: 1.0\n"
  149. " }\n"
  150. "}\n"
  151. ""
  152. position {
  153. x: 0.0
  154. y: 494.0
  155. z: 0.0
  156. }
  157. rotation {
  158. x: 0.0
  159. y: 0.0
  160. z: 0.0
  161. w: 1.0
  162. }
  163. scale3 {
  164. x: 1.0
  165. y: 1.0
  166. z: 1.0
  167. }
  168. }
  169. embedded_instances {
  170. id: "enemy3"
  171. data: "embedded_components {\n"
  172. " id: \"sprite\"\n"
  173. " type: \"sprite\"\n"
  174. " data: \"default_animation: \\\"enemyBlack1\\\"\\n"
  175. "material: \\\"/builtins/materials/sprite.material\\\"\\n"
  176. "blend_mode: BLEND_MODE_ALPHA\\n"
  177. "textures {\\n"
  178. " sampler: \\\"texture_sampler\\\"\\n"
  179. " texture: \\\"/assets/sprites.atlas\\\"\\n"
  180. "}\\n"
  181. "\"\n"
  182. " position {\n"
  183. " x: 0.0\n"
  184. " y: 0.0\n"
  185. " z: 0.0\n"
  186. " }\n"
  187. " rotation {\n"
  188. " x: 0.0\n"
  189. " y: 0.0\n"
  190. " z: 0.0\n"
  191. " w: 1.0\n"
  192. " }\n"
  193. "}\n"
  194. ""
  195. position {
  196. x: 0.0
  197. y: 397.0
  198. z: 0.0
  199. }
  200. rotation {
  201. x: 0.0
  202. y: 0.0
  203. z: 0.0
  204. w: 1.0
  205. }
  206. scale3 {
  207. x: 1.0
  208. y: 1.0
  209. z: 1.0
  210. }
  211. }
  212. embedded_instances {
  213. id: "enemy4"
  214. data: "embedded_components {\n"
  215. " id: \"sprite\"\n"
  216. " type: \"sprite\"\n"
  217. " data: \"default_animation: \\\"enemyBlack1\\\"\\n"
  218. "material: \\\"/builtins/materials/sprite.material\\\"\\n"
  219. "blend_mode: BLEND_MODE_ALPHA\\n"
  220. "textures {\\n"
  221. " sampler: \\\"texture_sampler\\\"\\n"
  222. " texture: \\\"/assets/sprites.atlas\\\"\\n"
  223. "}\\n"
  224. "\"\n"
  225. " position {\n"
  226. " x: 0.0\n"
  227. " y: 0.0\n"
  228. " z: 0.0\n"
  229. " }\n"
  230. " rotation {\n"
  231. " x: 0.0\n"
  232. " y: 0.0\n"
  233. " z: 0.0\n"
  234. " w: 1.0\n"
  235. " }\n"
  236. "}\n"
  237. ""
  238. position {
  239. x: 0.0
  240. y: 294.0
  241. z: 0.0
  242. }
  243. rotation {
  244. x: 0.0
  245. y: 0.0
  246. z: 0.0
  247. w: 1.0
  248. }
  249. scale3 {
  250. x: 1.0
  251. y: 1.0
  252. z: 1.0
  253. }
  254. }