easing.collection 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270
  1. name: "default"
  2. scale_along_z: 0
  3. embedded_instances {
  4. id: "hud"
  5. data: "components {\n"
  6. " id: \"gui\"\n"
  7. " component: \"/example/easing.gui\"\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: "demo"
  42. children: "position_demo"
  43. children: "rotation_demo"
  44. children: "scale_demo"
  45. data: "components {\n"
  46. " id: \"controller\"\n"
  47. " component: \"/example/controller.script\"\n"
  48. " position {\n"
  49. " x: 0.0\n"
  50. " y: 0.0\n"
  51. " z: 0.0\n"
  52. " }\n"
  53. " rotation {\n"
  54. " x: 0.0\n"
  55. " y: 0.0\n"
  56. " z: 0.0\n"
  57. " w: 1.0\n"
  58. " }\n"
  59. " property_decls {\n"
  60. " }\n"
  61. "}\n"
  62. ""
  63. position {
  64. x: 0.0
  65. y: 0.0
  66. z: 0.0
  67. }
  68. rotation {
  69. x: 0.0
  70. y: 0.0
  71. z: 0.0
  72. w: 1.0
  73. }
  74. scale3 {
  75. x: 1.0
  76. y: 1.0
  77. z: 1.0
  78. }
  79. }
  80. embedded_instances {
  81. id: "position_demo"
  82. data: "components {\n"
  83. " id: \"animator\"\n"
  84. " component: \"/example/animator.script\"\n"
  85. " position {\n"
  86. " x: 0.0\n"
  87. " y: 0.0\n"
  88. " z: 0.0\n"
  89. " }\n"
  90. " rotation {\n"
  91. " x: 0.0\n"
  92. " y: 0.0\n"
  93. " z: 0.0\n"
  94. " w: 1.0\n"
  95. " }\n"
  96. " properties {\n"
  97. " id: \"start_position\"\n"
  98. " value: \"200.0, 400.0, 0.0\"\n"
  99. " type: PROPERTY_TYPE_VECTOR3\n"
  100. " }\n"
  101. " properties {\n"
  102. " id: \"end_position\"\n"
  103. " value: \"550.0, 400.0, 0.0\"\n"
  104. " type: PROPERTY_TYPE_VECTOR3\n"
  105. " }\n"
  106. " property_decls {\n"
  107. " }\n"
  108. "}\n"
  109. "embedded_components {\n"
  110. " id: \"sprite\"\n"
  111. " type: \"sprite\"\n"
  112. " data: \"tile_set: \\\"/assets/sprites.atlas\\\"\\n"
  113. "default_animation: \\\"logo-color\\\"\\n"
  114. "material: \\\"/builtins/materials/sprite.material\\\"\\n"
  115. "blend_mode: BLEND_MODE_ALPHA\\n"
  116. "\"\n"
  117. " position {\n"
  118. " x: 0.0\n"
  119. " y: 0.0\n"
  120. " z: 0.0\n"
  121. " }\n"
  122. " rotation {\n"
  123. " x: 0.0\n"
  124. " y: 0.0\n"
  125. " z: 0.0\n"
  126. " w: 1.0\n"
  127. " }\n"
  128. "}\n"
  129. ""
  130. position {
  131. x: 200.0
  132. y: 400.0
  133. z: 0.0
  134. }
  135. rotation {
  136. x: 0.0
  137. y: 0.0
  138. z: 0.0
  139. w: 1.0
  140. }
  141. scale3 {
  142. x: 1.0
  143. y: 1.0
  144. z: 1.0
  145. }
  146. }
  147. embedded_instances {
  148. id: "rotation_demo"
  149. data: "components {\n"
  150. " id: \"animator\"\n"
  151. " component: \"/example/animator.script\"\n"
  152. " position {\n"
  153. " x: 0.0\n"
  154. " y: 0.0\n"
  155. " z: 0.0\n"
  156. " }\n"
  157. " rotation {\n"
  158. " x: 0.0\n"
  159. " y: 0.0\n"
  160. " z: 0.0\n"
  161. " w: 1.0\n"
  162. " }\n"
  163. " properties {\n"
  164. " id: \"end_rotation\"\n"
  165. " value: \"0.0, 0.0, 180.0\"\n"
  166. " type: PROPERTY_TYPE_VECTOR3\n"
  167. " }\n"
  168. " property_decls {\n"
  169. " }\n"
  170. "}\n"
  171. "embedded_components {\n"
  172. " id: \"sprite\"\n"
  173. " type: \"sprite\"\n"
  174. " data: \"tile_set: \\\"/assets/sprites.atlas\\\"\\n"
  175. "default_animation: \\\"logo-color\\\"\\n"
  176. "material: \\\"/builtins/materials/sprite.material\\\"\\n"
  177. "blend_mode: BLEND_MODE_ALPHA\\n"
  178. "\"\n"
  179. " position {\n"
  180. " x: 0.0\n"
  181. " y: 0.0\n"
  182. " z: 0.0\n"
  183. " }\n"
  184. " rotation {\n"
  185. " x: 0.0\n"
  186. " y: 0.0\n"
  187. " z: 0.0\n"
  188. " w: 1.0\n"
  189. " }\n"
  190. "}\n"
  191. ""
  192. position {
  193. x: 200.0
  194. y: 600.0
  195. z: 0.0
  196. }
  197. rotation {
  198. x: 0.0
  199. y: 0.0
  200. z: 0.0
  201. w: 1.0
  202. }
  203. scale3 {
  204. x: 1.0
  205. y: 1.0
  206. z: 1.0
  207. }
  208. }
  209. embedded_instances {
  210. id: "scale_demo"
  211. data: "components {\n"
  212. " id: \"animator\"\n"
  213. " component: \"/example/animator.script\"\n"
  214. " position {\n"
  215. " x: 0.0\n"
  216. " y: 0.0\n"
  217. " z: 0.0\n"
  218. " }\n"
  219. " rotation {\n"
  220. " x: 0.0\n"
  221. " y: 0.0\n"
  222. " z: 0.0\n"
  223. " w: 1.0\n"
  224. " }\n"
  225. " properties {\n"
  226. " id: \"end_scale\"\n"
  227. " value: \"1.7, 1.7, 1.0\"\n"
  228. " type: PROPERTY_TYPE_VECTOR3\n"
  229. " }\n"
  230. " property_decls {\n"
  231. " }\n"
  232. "}\n"
  233. "embedded_components {\n"
  234. " id: \"sprite\"\n"
  235. " type: \"sprite\"\n"
  236. " data: \"tile_set: \\\"/assets/sprites.atlas\\\"\\n"
  237. "default_animation: \\\"logo-color\\\"\\n"
  238. "material: \\\"/builtins/materials/sprite.material\\\"\\n"
  239. "blend_mode: BLEND_MODE_ALPHA\\n"
  240. "\"\n"
  241. " position {\n"
  242. " x: 0.0\n"
  243. " y: 0.0\n"
  244. " z: 0.0\n"
  245. " }\n"
  246. " rotation {\n"
  247. " x: 0.0\n"
  248. " y: 0.0\n"
  249. " z: 0.0\n"
  250. " w: 1.0\n"
  251. " }\n"
  252. "}\n"
  253. ""
  254. position {
  255. x: 500.0
  256. y: 600.0
  257. z: 0.0
  258. }
  259. rotation {
  260. x: 0.0
  261. y: 0.0
  262. z: 0.0
  263. w: 1.0
  264. }
  265. scale3 {
  266. x: 1.0
  267. y: 1.0
  268. z: 1.0
  269. }
  270. }