cursor.collection 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. name: "default"
  2. scale_along_z: 0
  3. embedded_instances {
  4. id: "robot"
  5. data: "components {\n"
  6. " id: \"cursor\"\n"
  7. " component: \"/example/cursor.script\"\n"
  8. "}\n"
  9. "embedded_components {\n"
  10. " id: \"sprite\"\n"
  11. " type: \"sprite\"\n"
  12. " data: \"default_animation: \\\"walk\\\"\\n"
  13. "material: \\\"/builtins/materials/sprite.material\\\"\\n"
  14. "textures {\\n"
  15. " sampler: \\\"texture_sampler\\\"\\n"
  16. " texture: \\\"/assets/robot.tilesource\\\"\\n"
  17. "}\\n"
  18. "\"\n"
  19. "}\n"
  20. "embedded_components {\n"
  21. " id: \"frame\"\n"
  22. " type: \"label\"\n"
  23. " data: \"size {\\n"
  24. " x: 128.0\\n"
  25. " y: 32.0\\n"
  26. "}\\n"
  27. "color {\\n"
  28. " x: 0.0\\n"
  29. " y: 0.0\\n"
  30. " z: 0.0\\n"
  31. "}\\n"
  32. "font: \\\"/assets/text48.font\\\"\\n"
  33. "material: \\\"/builtins/fonts/label-df.material\\\"\\n"
  34. "\"\n"
  35. " position {\n"
  36. " y: -90.0\n"
  37. " }\n"
  38. "}\n"
  39. ""
  40. position {
  41. x: 360.0
  42. y: 217.0
  43. }
  44. }
  45. embedded_instances {
  46. id: "controls"
  47. data: "embedded_components {\n"
  48. " id: \"leftsprite\"\n"
  49. " type: \"sprite\"\n"
  50. " data: \"default_animation: \\\"arrowLeft\\\"\\n"
  51. "material: \\\"/builtins/materials/sprite.material\\\"\\n"
  52. "textures {\\n"
  53. " sampler: \\\"texture_sampler\\\"\\n"
  54. " texture: \\\"/assets/controls.atlas\\\"\\n"
  55. "}\\n"
  56. "\"\n"
  57. " position {\n"
  58. " x: -301.0\n"
  59. " }\n"
  60. "}\n"
  61. "embedded_components {\n"
  62. " id: \"rightsprite\"\n"
  63. " type: \"sprite\"\n"
  64. " data: \"default_animation: \\\"arrowRight\\\"\\n"
  65. "material: \\\"/builtins/materials/sprite.material\\\"\\n"
  66. "size {\\n"
  67. " x: 50.0\\n"
  68. " y: 50.0\\n"
  69. "}\\n"
  70. "textures {\\n"
  71. " sampler: \\\"texture_sampler\\\"\\n"
  72. " texture: \\\"/assets/controls.atlas\\\"\\n"
  73. "}\\n"
  74. "\"\n"
  75. " position {\n"
  76. " x: 300.0\n"
  77. " }\n"
  78. "}\n"
  79. "embedded_components {\n"
  80. " id: \"playstop\"\n"
  81. " type: \"sprite\"\n"
  82. " data: \"default_animation: \\\"start\\\"\\n"
  83. "material: \\\"/builtins/materials/sprite.material\\\"\\n"
  84. "textures {\\n"
  85. " sampler: \\\"texture_sampler\\\"\\n"
  86. " texture: \\\"/assets/controls.atlas\\\"\\n"
  87. "}\\n"
  88. "\"\n"
  89. "}\n"
  90. ""
  91. position {
  92. x: 360.0
  93. y: 50.0
  94. }
  95. }