knockback.collection 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. name: "default"
  2. instances {
  3. id: "enemy"
  4. prototype: "/example/enemy.go"
  5. position {
  6. x: 360.0
  7. y: 456.0
  8. z: 0.0
  9. }
  10. rotation {
  11. x: 0.0
  12. y: 0.0
  13. z: 0.0
  14. w: 1.0
  15. }
  16. scale3 {
  17. x: 1.0
  18. y: 1.0
  19. z: 1.0
  20. }
  21. }
  22. scale_along_z: 0
  23. embedded_instances {
  24. id: "player"
  25. data: "components {\n"
  26. " id: \"player\"\n"
  27. " component: \"/example/player.script\"\n"
  28. " position {\n"
  29. " x: 0.0\n"
  30. " y: 0.0\n"
  31. " z: 0.0\n"
  32. " }\n"
  33. " rotation {\n"
  34. " x: 0.0\n"
  35. " y: 0.0\n"
  36. " z: 0.0\n"
  37. " w: 1.0\n"
  38. " }\n"
  39. " property_decls {\n"
  40. " }\n"
  41. "}\n"
  42. "embedded_components {\n"
  43. " id: \"bulletfactory\"\n"
  44. " type: \"factory\"\n"
  45. " data: \"prototype: \\\"/example/bullet.go\\\"\\n"
  46. "load_dynamically: false\\n"
  47. "dynamic_prototype: false\\n"
  48. "\"\n"
  49. " position {\n"
  50. " x: 0.0\n"
  51. " y: 0.0\n"
  52. " z: 0.0\n"
  53. " }\n"
  54. " rotation {\n"
  55. " x: 0.0\n"
  56. " y: 0.0\n"
  57. " z: 0.0\n"
  58. " w: 1.0\n"
  59. " }\n"
  60. "}\n"
  61. "embedded_components {\n"
  62. " id: \"sprite\"\n"
  63. " type: \"sprite\"\n"
  64. " data: \"tile_set: \\\"/assets/sprites.atlas\\\"\\n"
  65. "default_animation: \\\"playerShip1_red\\\"\\n"
  66. "material: \\\"/builtins/materials/sprite.material\\\"\\n"
  67. "blend_mode: BLEND_MODE_ALPHA\\n"
  68. "\"\n"
  69. " position {\n"
  70. " x: 0.0\n"
  71. " y: 0.0\n"
  72. " z: 0.0\n"
  73. " }\n"
  74. " rotation {\n"
  75. " x: 0.0\n"
  76. " y: 0.0\n"
  77. " z: 0.0\n"
  78. " w: 1.0\n"
  79. " }\n"
  80. "}\n"
  81. ""
  82. position {
  83. x: 360.0
  84. y: 100.0
  85. z: 0.0
  86. }
  87. rotation {
  88. x: 0.0
  89. y: 0.0
  90. z: 0.0
  91. w: 1.0
  92. }
  93. scale3 {
  94. x: 1.0
  95. y: 1.0
  96. z: 1.0
  97. }
  98. }