move_forward.collection 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. name: "move_forward"
  2. scale_along_z: 0
  3. embedded_instances {
  4. id: "go"
  5. data: "components {\n"
  6. " id: \"move_forward\"\n"
  7. " component: \"/example/move_forward.script\"\n"
  8. "}\n"
  9. "embedded_components {\n"
  10. " id: \"sprite\"\n"
  11. " type: \"sprite\"\n"
  12. " data: \"default_animation: \\\"playerShip1_red\\\"\\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: 350.0
  23. y: 350.0
  24. }
  25. }
  26. embedded_instances {
  27. id: "instructions"
  28. data: "embedded_components {\n"
  29. " id: \"label\"\n"
  30. " type: \"label\"\n"
  31. " data: \"size {\\n"
  32. " x: 128.0\\n"
  33. " y: 32.0\\n"
  34. "}\\n"
  35. "color {\\n"
  36. " x: 0.0\\n"
  37. " y: 0.5647059\\n"
  38. " z: 0.99215686\\n"
  39. "}\\n"
  40. "outline {\\n"
  41. " x: 1.0\\n"
  42. " y: 1.0\\n"
  43. " z: 1.0\\n"
  44. "}\\n"
  45. "shadow {\\n"
  46. " x: 1.0\\n"
  47. " y: 1.0\\n"
  48. " z: 1.0\\n"
  49. "}\\n"
  50. "text: \\\"Move with arrow keys (left+right = rotate, up = forward)\\\"\\n"
  51. "font: \\\"/assets/text48.font\\\"\\n"
  52. "material: \\\"/builtins/fonts/label.material\\\"\\n"
  53. "\"\n"
  54. " scale {\n"
  55. " x: 0.5\n"
  56. " y: 0.5\n"
  57. " }\n"
  58. "}\n"
  59. ""
  60. position {
  61. x: 350.0
  62. y: 38.0
  63. }
  64. }