DanmakU
DanmakU copied to clipboard
Lasers
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.
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.
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