screen_to_world.collection 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502
  1. name: "screen_to_world"
  2. scale_along_z: 0
  3. embedded_instances {
  4. id: "stone1"
  5. data: "embedded_components {\n"
  6. " id: \"sprite\"\n"
  7. " type: \"sprite\"\n"
  8. " data: \"default_animation: \\\"elementStone019\\\"\\n"
  9. "material: \\\"/builtins/materials/sprite.material\\\"\\n"
  10. "blend_mode: BLEND_MODE_ALPHA\\n"
  11. "textures {\\n"
  12. " sampler: \\\"texture_sampler\\\"\\n"
  13. " texture: \\\"/assets/sprites.atlas\\\"\\n"
  14. "}\\n"
  15. "\"\n"
  16. " position {\n"
  17. " x: 0.0\n"
  18. " y: 0.0\n"
  19. " z: 0.0\n"
  20. " }\n"
  21. " rotation {\n"
  22. " x: 0.0\n"
  23. " y: 0.0\n"
  24. " z: 0.0\n"
  25. " w: 1.0\n"
  26. " }\n"
  27. "}\n"
  28. ""
  29. position {
  30. x: 652.0
  31. y: 297.0
  32. z: 0.0
  33. }
  34. rotation {
  35. x: 0.0
  36. y: 0.0
  37. z: 0.0
  38. w: 1.0
  39. }
  40. scale3 {
  41. x: 1.0
  42. y: 1.0
  43. z: 1.0
  44. }
  45. }
  46. embedded_instances {
  47. id: "stone2"
  48. data: "embedded_components {\n"
  49. " id: \"sprite\"\n"
  50. " type: \"sprite\"\n"
  51. " data: \"default_animation: \\\"elementStone019\\\"\\n"
  52. "material: \\\"/builtins/materials/sprite.material\\\"\\n"
  53. "blend_mode: BLEND_MODE_ALPHA\\n"
  54. "textures {\\n"
  55. " sampler: \\\"texture_sampler\\\"\\n"
  56. " texture: \\\"/assets/sprites.atlas\\\"\\n"
  57. "}\\n"
  58. "\"\n"
  59. " position {\n"
  60. " x: 0.0\n"
  61. " y: 0.0\n"
  62. " z: 0.0\n"
  63. " }\n"
  64. " rotation {\n"
  65. " x: 0.0\n"
  66. " y: 0.0\n"
  67. " z: 0.0\n"
  68. " w: 1.0\n"
  69. " }\n"
  70. "}\n"
  71. ""
  72. position {
  73. x: 994.0
  74. y: 205.0
  75. z: 0.0
  76. }
  77. rotation {
  78. x: 0.0
  79. y: 0.0
  80. z: 0.0
  81. w: 1.0
  82. }
  83. scale3 {
  84. x: 1.0
  85. y: 1.0
  86. z: 1.0
  87. }
  88. }
  89. embedded_instances {
  90. id: "stone3"
  91. data: "embedded_components {\n"
  92. " id: \"sprite\"\n"
  93. " type: \"sprite\"\n"
  94. " data: \"default_animation: \\\"elementStone019\\\"\\n"
  95. "material: \\\"/builtins/materials/sprite.material\\\"\\n"
  96. "blend_mode: BLEND_MODE_ALPHA\\n"
  97. "textures {\\n"
  98. " sampler: \\\"texture_sampler\\\"\\n"
  99. " texture: \\\"/assets/sprites.atlas\\\"\\n"
  100. "}\\n"
  101. "\"\n"
  102. " position {\n"
  103. " x: 0.0\n"
  104. " y: 0.0\n"
  105. " z: 0.0\n"
  106. " }\n"
  107. " rotation {\n"
  108. " x: 0.0\n"
  109. " y: 0.0\n"
  110. " z: 0.0\n"
  111. " w: 1.0\n"
  112. " }\n"
  113. "}\n"
  114. ""
  115. position {
  116. x: 1278.0
  117. y: 664.0
  118. z: 0.0
  119. }
  120. rotation {
  121. x: 0.0
  122. y: 0.0
  123. z: 0.0
  124. w: 1.0
  125. }
  126. scale3 {
  127. x: 1.0
  128. y: 1.0
  129. z: 1.0
  130. }
  131. }
  132. embedded_instances {
  133. id: "stone4"
  134. data: "embedded_components {\n"
  135. " id: \"sprite\"\n"
  136. " type: \"sprite\"\n"
  137. " data: \"default_animation: \\\"elementStone019\\\"\\n"
  138. "material: \\\"/builtins/materials/sprite.material\\\"\\n"
  139. "blend_mode: BLEND_MODE_ALPHA\\n"
  140. "textures {\\n"
  141. " sampler: \\\"texture_sampler\\\"\\n"
  142. " texture: \\\"/assets/sprites.atlas\\\"\\n"
  143. "}\\n"
  144. "\"\n"
  145. " position {\n"
  146. " x: 0.0\n"
  147. " y: 0.0\n"
  148. " z: 0.0\n"
  149. " }\n"
  150. " rotation {\n"
  151. " x: 0.0\n"
  152. " y: 0.0\n"
  153. " z: 0.0\n"
  154. " w: 1.0\n"
  155. " }\n"
  156. "}\n"
  157. ""
  158. position {
  159. x: 1366.0
  160. y: 292.0
  161. z: 0.0
  162. }
  163. rotation {
  164. x: 0.0
  165. y: 0.0
  166. z: 0.0
  167. w: 1.0
  168. }
  169. scale3 {
  170. x: 1.0
  171. y: 1.0
  172. z: 1.0
  173. }
  174. }
  175. embedded_instances {
  176. id: "stone5"
  177. data: "embedded_components {\n"
  178. " id: \"sprite\"\n"
  179. " type: \"sprite\"\n"
  180. " data: \"default_animation: \\\"elementStone019\\\"\\n"
  181. "material: \\\"/builtins/materials/sprite.material\\\"\\n"
  182. "blend_mode: BLEND_MODE_ALPHA\\n"
  183. "textures {\\n"
  184. " sampler: \\\"texture_sampler\\\"\\n"
  185. " texture: \\\"/assets/sprites.atlas\\\"\\n"
  186. "}\\n"
  187. "\"\n"
  188. " position {\n"
  189. " x: 0.0\n"
  190. " y: 0.0\n"
  191. " z: 0.0\n"
  192. " }\n"
  193. " rotation {\n"
  194. " x: 0.0\n"
  195. " y: 0.0\n"
  196. " z: 0.0\n"
  197. " w: 1.0\n"
  198. " }\n"
  199. "}\n"
  200. ""
  201. position {
  202. x: 1684.0
  203. y: 727.0
  204. z: 0.0
  205. }
  206. rotation {
  207. x: 0.0
  208. y: 0.0
  209. z: 0.0
  210. w: 1.0
  211. }
  212. scale3 {
  213. x: 1.0
  214. y: 1.0
  215. z: 1.0
  216. }
  217. }
  218. embedded_instances {
  219. id: "stone6"
  220. data: "embedded_components {\n"
  221. " id: \"sprite\"\n"
  222. " type: \"sprite\"\n"
  223. " data: \"default_animation: \\\"elementStone019\\\"\\n"
  224. "material: \\\"/builtins/materials/sprite.material\\\"\\n"
  225. "blend_mode: BLEND_MODE_ALPHA\\n"
  226. "textures {\\n"
  227. " sampler: \\\"texture_sampler\\\"\\n"
  228. " texture: \\\"/assets/sprites.atlas\\\"\\n"
  229. "}\\n"
  230. "\"\n"
  231. " position {\n"
  232. " x: 0.0\n"
  233. " y: 0.0\n"
  234. " z: 0.0\n"
  235. " }\n"
  236. " rotation {\n"
  237. " x: 0.0\n"
  238. " y: 0.0\n"
  239. " z: 0.0\n"
  240. " w: 1.0\n"
  241. " }\n"
  242. "}\n"
  243. ""
  244. position {
  245. x: 1755.0
  246. y: 146.0
  247. z: 0.0
  248. }
  249. rotation {
  250. x: 0.0
  251. y: 0.0
  252. z: 0.0
  253. w: 1.0
  254. }
  255. scale3 {
  256. x: 1.0
  257. y: 1.0
  258. z: 1.0
  259. }
  260. }
  261. embedded_instances {
  262. id: "stone7"
  263. data: "embedded_components {\n"
  264. " id: \"sprite\"\n"
  265. " type: \"sprite\"\n"
  266. " data: \"default_animation: \\\"elementStone019\\\"\\n"
  267. "material: \\\"/builtins/materials/sprite.material\\\"\\n"
  268. "blend_mode: BLEND_MODE_ALPHA\\n"
  269. "textures {\\n"
  270. " sampler: \\\"texture_sampler\\\"\\n"
  271. " texture: \\\"/assets/sprites.atlas\\\"\\n"
  272. "}\\n"
  273. "\"\n"
  274. " position {\n"
  275. " x: 0.0\n"
  276. " y: 0.0\n"
  277. " z: 0.0\n"
  278. " }\n"
  279. " rotation {\n"
  280. " x: 0.0\n"
  281. " y: 0.0\n"
  282. " z: 0.0\n"
  283. " w: 1.0\n"
  284. " }\n"
  285. "}\n"
  286. ""
  287. position {
  288. x: 2110.0
  289. y: 313.0
  290. z: 0.0
  291. }
  292. rotation {
  293. x: 0.0
  294. y: 0.0
  295. z: 0.0
  296. w: 1.0
  297. }
  298. scale3 {
  299. x: 1.0
  300. y: 1.0
  301. z: 1.0
  302. }
  303. }
  304. embedded_instances {
  305. id: "stone8"
  306. data: "embedded_components {\n"
  307. " id: \"sprite\"\n"
  308. " type: \"sprite\"\n"
  309. " data: \"default_animation: \\\"elementStone019\\\"\\n"
  310. "material: \\\"/builtins/materials/sprite.material\\\"\\n"
  311. "blend_mode: BLEND_MODE_ALPHA\\n"
  312. "textures {\\n"
  313. " sampler: \\\"texture_sampler\\\"\\n"
  314. " texture: \\\"/assets/sprites.atlas\\\"\\n"
  315. "}\\n"
  316. "\"\n"
  317. " position {\n"
  318. " x: 0.0\n"
  319. " y: 0.0\n"
  320. " z: 0.0\n"
  321. " }\n"
  322. " rotation {\n"
  323. " x: 0.0\n"
  324. " y: 0.0\n"
  325. " z: 0.0\n"
  326. " w: 1.0\n"
  327. " }\n"
  328. "}\n"
  329. ""
  330. position {
  331. x: 263.0
  332. y: 230.0
  333. z: 0.0
  334. }
  335. rotation {
  336. x: 0.0
  337. y: 0.0
  338. z: 0.0
  339. w: 1.0
  340. }
  341. scale3 {
  342. x: 1.0
  343. y: 1.0
  344. z: 1.0
  345. }
  346. }
  347. embedded_instances {
  348. id: "bee"
  349. data: "components {\n"
  350. " id: \"bee\"\n"
  351. " component: \"/example/bee.script\"\n"
  352. " position {\n"
  353. " x: 0.0\n"
  354. " y: 0.0\n"
  355. " z: 0.0\n"
  356. " }\n"
  357. " rotation {\n"
  358. " x: 0.0\n"
  359. " y: 0.0\n"
  360. " z: 0.0\n"
  361. " w: 1.0\n"
  362. " }\n"
  363. " property_decls {\n"
  364. " }\n"
  365. "}\n"
  366. "embedded_components {\n"
  367. " id: \"sprite\"\n"
  368. " type: \"sprite\"\n"
  369. " data: \"default_animation: \\\"bee\\\"\\n"
  370. "material: \\\"/builtins/materials/sprite.material\\\"\\n"
  371. "blend_mode: BLEND_MODE_ALPHA\\n"
  372. "textures {\\n"
  373. " sampler: \\\"texture_sampler\\\"\\n"
  374. " texture: \\\"/assets/bee.atlas\\\"\\n"
  375. "}\\n"
  376. "\"\n"
  377. " position {\n"
  378. " x: 0.0\n"
  379. " y: 0.0\n"
  380. " z: 0.0\n"
  381. " }\n"
  382. " rotation {\n"
  383. " x: 0.0\n"
  384. " y: 0.0\n"
  385. " z: 0.0\n"
  386. " w: 1.0\n"
  387. " }\n"
  388. "}\n"
  389. "embedded_components {\n"
  390. " id: \"camera\"\n"
  391. " type: \"camera\"\n"
  392. " data: \"aspect_ratio: 1.0\\n"
  393. "fov: 0.7854\\n"
  394. "near_z: -1.0\\n"
  395. "far_z: 1.0\\n"
  396. "auto_aspect_ratio: 0\\n"
  397. "orthographic_projection: 1\\n"
  398. "orthographic_zoom: 1.0\\n"
  399. "\"\n"
  400. " position {\n"
  401. " x: 0.0\n"
  402. " y: 0.0\n"
  403. " z: 0.0\n"
  404. " }\n"
  405. " rotation {\n"
  406. " x: 0.0\n"
  407. " y: 0.0\n"
  408. " z: 0.0\n"
  409. " w: 1.0\n"
  410. " }\n"
  411. "}\n"
  412. ""
  413. position {
  414. x: 160.0
  415. y: 80.0
  416. z: 0.0
  417. }
  418. rotation {
  419. x: 0.0
  420. y: 0.0
  421. z: 0.0
  422. w: 1.0
  423. }
  424. scale3 {
  425. x: 1.0
  426. y: 1.0
  427. z: 1.0
  428. }
  429. }
  430. embedded_instances {
  431. id: "instructions"
  432. data: "embedded_components {\n"
  433. " id: \"label\"\n"
  434. " type: \"label\"\n"
  435. " data: \"size {\\n"
  436. " x: 128.0\\n"
  437. " y: 32.0\\n"
  438. " z: 0.0\\n"
  439. " w: 0.0\\n"
  440. "}\\n"
  441. "color {\\n"
  442. " x: 0.0\\n"
  443. " y: 0.5647059\\n"
  444. " z: 0.99215686\\n"
  445. " w: 1.0\\n"
  446. "}\\n"
  447. "outline {\\n"
  448. " x: 1.0\\n"
  449. " y: 1.0\\n"
  450. " z: 1.0\\n"
  451. " w: 1.0\\n"
  452. "}\\n"
  453. "shadow {\\n"
  454. " x: 1.0\\n"
  455. " y: 1.0\\n"
  456. " z: 1.0\\n"
  457. " w: 1.0\\n"
  458. "}\\n"
  459. "leading: 1.0\\n"
  460. "tracking: 0.0\\n"
  461. "pivot: PIVOT_CENTER\\n"
  462. "blend_mode: BLEND_MODE_ALPHA\\n"
  463. "line_break: false\\n"
  464. "text: \\\"Click to move\\\"\\n"
  465. "font: \\\"/assets/text48.font\\\"\\n"
  466. "material: \\\"/builtins/fonts/label.material\\\"\\n"
  467. "\"\n"
  468. " position {\n"
  469. " x: 0.0\n"
  470. " y: 0.0\n"
  471. " z: 0.0\n"
  472. " }\n"
  473. " rotation {\n"
  474. " x: 0.0\n"
  475. " y: 0.0\n"
  476. " z: 0.0\n"
  477. " w: 1.0\n"
  478. " }\n"
  479. " scale {\n"
  480. " x: 0.5\n"
  481. " y: 0.5\n"
  482. " z: 1.0\n"
  483. " }\n"
  484. "}\n"
  485. ""
  486. position {
  487. x: 350.0
  488. y: 38.0
  489. z: 0.0
  490. }
  491. rotation {
  492. x: 0.0
  493. y: 0.0
  494. z: 0.0
  495. w: 1.0
  496. }
  497. scale3 {
  498. x: 1.0
  499. y: 1.0
  500. z: 1.0
  501. }
  502. }