DanmakU icon indicating copy to clipboard operation
DanmakU copied to clipboard

Lasers

Open james7132 opened this issue 10 years ago • 2 comments

Need 3 Types:

  • Static: Shows itself several frames before doing hitbox collisons. Does not move.
  • Standard: like bullets, but gradually grow in size until it is a certain length;
  • Curved: Has angular velocity parameter.

james7132 avatar Mar 19 '15 03:03 james7132

Static and standard lasers should be doable via just stretched SpriteRenderers on pooled laser objects. However curved seems to pose a challenge as testing has shown Line Renderers to both be low performance and also generally looks bad.

james7132 avatar Apr 20 '15 15:04 james7132

I think it can be done with a bunch of gameobjects in a row with a LineRenderer or something like that passing by each of them. Maybe not LineRenderers because they can be so laggy, but maybe a mesh can work properly

Mystic-Ervo avatar Feb 11 '20 16:02 Mystic-Ervo