repeating_background.collection 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. name: "repeating_background"
  2. scale_along_z: 0
  3. embedded_instances {
  4. id: "background"
  5. data: "components {\n"
  6. " id: \"repeating_background\"\n"
  7. " component: \"/example/repeating_background.script\"\n"
  8. "}\n"
  9. "embedded_components {\n"
  10. " id: \"model\"\n"
  11. " type: \"model\"\n"
  12. " data: \"mesh: \\\"/builtins/assets/meshes/quad.dae\\\"\\n"
  13. "name: \\\"{{NAME}}\\\"\\n"
  14. "materials {\\n"
  15. " name: \\\"default\\\"\\n"
  16. " material: \\\"/example/repeating_background.material\\\"\\n"
  17. " textures {\\n"
  18. " sampler: \\\"texture0\\\"\\n"
  19. " texture: \\\"/assets/bg_icon.png\\\"\\n"
  20. " }\\n"
  21. "}\\n"
  22. "\"\n"
  23. "}\n"
  24. ""
  25. rotation {
  26. z: 0.13052619
  27. w: 0.9914449
  28. }
  29. scale3 {
  30. x: 512.0
  31. y: 512.0
  32. }
  33. }
  34. embedded_instances {
  35. id: "camera"
  36. data: "embedded_components {\n"
  37. " id: \"camera\"\n"
  38. " type: \"camera\"\n"
  39. " data: \"aspect_ratio: 1.0\\n"
  40. "fov: 0.7854\\n"
  41. "near_z: -1.0\\n"
  42. "far_z: 1.0\\n"
  43. "orthographic_projection: 1\\n"
  44. "\"\n"
  45. "}\n"
  46. ""
  47. }
  48. embedded_instances {
  49. id: "ui"
  50. data: "embedded_components {\n"
  51. " id: \"label1\"\n"
  52. " type: \"label\"\n"
  53. " data: \"size {\\n"
  54. " x: 512.0\\n"
  55. " y: 60.0\\n"
  56. "}\\n"
  57. "text: \\\"YOU EARNED\\\"\\n"
  58. "font: \\\"/assets/custom.font\\\"\\n"
  59. "material: \\\"/builtins/fonts/label-df.material\\\"\\n"
  60. "\"\n"
  61. " position {\n"
  62. " y: 187.0\n"
  63. " z: 0.1\n"
  64. " }\n"
  65. " scale {\n"
  66. " x: 0.75\n"
  67. " y: 0.75\n"
  68. " }\n"
  69. "}\n"
  70. "embedded_components {\n"
  71. " id: \"label2\"\n"
  72. " type: \"label\"\n"
  73. " data: \"size {\\n"
  74. " x: 512.0\\n"
  75. " y: 60.0\\n"
  76. "}\\n"
  77. "text: \\\"999 COINS!\\\"\\n"
  78. "font: \\\"/assets/custom.font\\\"\\n"
  79. "material: \\\"/builtins/fonts/label-df.material\\\"\\n"
  80. "\"\n"
  81. " position {\n"
  82. " y: -169.0\n"
  83. " z: 0.1\n"
  84. " }\n"
  85. "}\n"
  86. "embedded_components {\n"
  87. " id: \"coin3\"\n"
  88. " type: \"sprite\"\n"
  89. " data: \"default_animation: \\\"coin_06\\\"\\n"
  90. "material: \\\"/builtins/materials/sprite.material\\\"\\n"
  91. "size {\\n"
  92. " x: 96.0\\n"
  93. " y: 96.0\\n"
  94. "}\\n"
  95. "size_mode: SIZE_MODE_MANUAL\\n"
  96. "textures {\\n"
  97. " sampler: \\\"texture_sampler\\\"\\n"
  98. " texture: \\\"/assets/sprites.atlas\\\"\\n"
  99. "}\\n"
  100. "\"\n"
  101. " position {\n"
  102. " x: 20.0\n"
  103. " y: 41.0\n"
  104. " z: 0.1\n"
  105. " }\n"
  106. "}\n"
  107. "embedded_components {\n"
  108. " id: \"coin1\"\n"
  109. " type: \"sprite\"\n"
  110. " data: \"default_animation: \\\"coin_06\\\"\\n"
  111. "material: \\\"/builtins/materials/sprite.material\\\"\\n"
  112. "size {\\n"
  113. " x: 96.0\\n"
  114. " y: 96.0\\n"
  115. "}\\n"
  116. "size_mode: SIZE_MODE_MANUAL\\n"
  117. "textures {\\n"
  118. " sampler: \\\"texture_sampler\\\"\\n"
  119. " texture: \\\"/assets/sprites.atlas\\\"\\n"
  120. "}\\n"
  121. "\"\n"
  122. " position {\n"
  123. " x: -41.0\n"
  124. " y: 15.0\n"
  125. " z: 0.1\n"
  126. " }\n"
  127. "}\n"
  128. "embedded_components {\n"
  129. " id: \"coin2\"\n"
  130. " type: \"sprite\"\n"
  131. " data: \"default_animation: \\\"coin_06\\\"\\n"
  132. "material: \\\"/builtins/materials/sprite.material\\\"\\n"
  133. "size {\\n"
  134. " x: 96.0\\n"
  135. " y: 96.0\\n"
  136. "}\\n"
  137. "size_mode: SIZE_MODE_MANUAL\\n"
  138. "textures {\\n"
  139. " sampler: \\\"texture_sampler\\\"\\n"
  140. " texture: \\\"/assets/sprites.atlas\\\"\\n"
  141. "}\\n"
  142. "\"\n"
  143. " position {\n"
  144. " x: 6.0\n"
  145. " y: -30.0\n"
  146. " z: 0.1\n"
  147. " }\n"
  148. "}\n"
  149. "embedded_components {\n"
  150. " id: \"glow\"\n"
  151. " type: \"sprite\"\n"
  152. " data: \"default_animation: \\\"anim\\\"\\n"
  153. "material: \\\"/builtins/materials/sprite.material\\\"\\n"
  154. "size {\\n"
  155. " x: 600.0\\n"
  156. " y: 600.0\\n"
  157. "}\\n"
  158. "size_mode: SIZE_MODE_MANUAL\\n"
  159. "textures {\\n"
  160. " sampler: \\\"texture_sampler\\\"\\n"
  161. " texture: \\\"/builtins/graphics/particle_blob.tilesource\\\"\\n"
  162. "}\\n"
  163. "\"\n"
  164. "}\n"
  165. ""
  166. position {
  167. z: 0.5
  168. }
  169. }