z_order.collection 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. name: "default"
  2. scale_along_z: 0
  3. embedded_instances {
  4. id: "spaceship1"
  5. data: "components {\n"
  6. " id: \"script\"\n"
  7. " component: \"/example/z_order.script\"\n"
  8. "}\n"
  9. "embedded_components {\n"
  10. " id: \"sprite\"\n"
  11. " type: \"sprite\"\n"
  12. " data: \"default_animation: \\\"shipGreen_manned\\\"\\n"
  13. "material: \\\"/builtins/materials/sprite.material\\\"\\n"
  14. "textures {\\n"
  15. " sampler: \\\"texture_sampler\\\"\\n"
  16. " texture: \\\"/assets/sprites.atlas\\\"\\n"
  17. "}\\n"
  18. "\"\n"
  19. "}\n"
  20. ""
  21. position {
  22. x: 120.0
  23. y: 300.0
  24. z: 0.5
  25. }
  26. }
  27. embedded_instances {
  28. id: "logo"
  29. data: "embedded_components {\n"
  30. " id: \"sprite\"\n"
  31. " type: \"sprite\"\n"
  32. " data: \"default_animation: \\\"logo-color\\\"\\n"
  33. "material: \\\"/builtins/materials/sprite.material\\\"\\n"
  34. "textures {\\n"
  35. " sampler: \\\"texture_sampler\\\"\\n"
  36. " texture: \\\"/assets/sprites.atlas\\\"\\n"
  37. "}\\n"
  38. "\"\n"
  39. "}\n"
  40. ""
  41. position {
  42. x: 360.0
  43. y: 360.0
  44. }
  45. }
  46. embedded_instances {
  47. id: "spaceship2"
  48. data: "components {\n"
  49. " id: \"script\"\n"
  50. " component: \"/example/z_order.script\"\n"
  51. "}\n"
  52. "embedded_components {\n"
  53. " id: \"sprite\"\n"
  54. " type: \"sprite\"\n"
  55. " data: \"default_animation: \\\"shipPink_manned\\\"\\n"
  56. "material: \\\"/builtins/materials/sprite.material\\\"\\n"
  57. "size {\\n"
  58. " x: 121.0\\n"
  59. " y: 191.0\\n"
  60. "}\\n"
  61. "textures {\\n"
  62. " sampler: \\\"texture_sampler\\\"\\n"
  63. " texture: \\\"/assets/sprites.atlas\\\"\\n"
  64. "}\\n"
  65. "\"\n"
  66. "}\n"
  67. ""
  68. position {
  69. x: 213.0
  70. y: 400.0
  71. z: -0.5
  72. }
  73. }