bullet.go 850 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. embedded_components {
  2. id: "sprite"
  3. type: "sprite"
  4. data: "default_animation: \"laserRed04\"\n"
  5. "material: \"/builtins/materials/sprite.material\"\n"
  6. "textures {\n"
  7. " sampler: \"texture_sampler\"\n"
  8. " texture: \"/assets/sprites.atlas\"\n"
  9. "}\n"
  10. ""
  11. scale {
  12. x: 0.5
  13. y: 0.5
  14. }
  15. }
  16. embedded_components {
  17. id: "collisionobject"
  18. type: "collisionobject"
  19. data: "type: COLLISION_OBJECT_TYPE_TRIGGER\n"
  20. "mass: 0.0\n"
  21. "friction: 0.1\n"
  22. "restitution: 0.5\n"
  23. "group: \"bullet\"\n"
  24. "mask: \"enemy\"\n"
  25. "embedded_collision_shape {\n"
  26. " shapes {\n"
  27. " shape_type: TYPE_BOX\n"
  28. " position {\n"
  29. " }\n"
  30. " rotation {\n"
  31. " }\n"
  32. " index: 0\n"
  33. " count: 3\n"
  34. " }\n"
  35. " data: 3.5\n"
  36. " data: 9.0\n"
  37. " data: 10.0\n"
  38. "}\n"
  39. "event_collision: false\n"
  40. "event_contact: false\n"
  41. ""
  42. }