basicfactory.collection 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. name: "default"
  2. scale_along_z: 0
  3. embedded_instances {
  4. id: "spaceship"
  5. data: "components {\n"
  6. " id: \"script\"\n"
  7. " component: \"/example/bunny.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. "embedded_components {\n"
  21. " id: \"label\"\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.5647059\\n"
  30. " z: 0.99215686\\n"
  31. "}\\n"
  32. "outline {\\n"
  33. " x: 1.0\\n"
  34. " y: 1.0\\n"
  35. " z: 1.0\\n"
  36. "}\\n"
  37. "text: \\\"Click to spawn...\\\"\\n"
  38. "font: \\\"/assets/text48.font\\\"\\n"
  39. "material: \\\"/builtins/fonts/label.material\\\"\\n"
  40. "\"\n"
  41. " position {\n"
  42. " x: 132.731\n"
  43. " y: 94.744\n"
  44. " }\n"
  45. " scale {\n"
  46. " x: 0.5\n"
  47. " y: 0.5\n"
  48. " }\n"
  49. "}\n"
  50. "embedded_components {\n"
  51. " id: \"carrotfactory\"\n"
  52. " type: \"factory\"\n"
  53. " data: \"prototype: \\\"/example/debris.go\\\"\\n"
  54. "\"\n"
  55. "}\n"
  56. ""
  57. position {
  58. x: 120.0
  59. y: 360.0
  60. }
  61. }