james7132 / DanmakU

An open source Danmaku development kit for Unity3D.
https://danmaku.jamessliu.com/
MIT License
238 stars 50 forks source link

Lasers #3

Open james7132 opened 9 years ago

james7132 commented 9 years ago

Need 3 Types:

james7132 commented 9 years ago

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.

Mystic-Ervo commented 4 years ago

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