I'm sorry to derail this extremely interesting thread but how would you implement curved lasers in a shmup? Note that they must be partially destructible.
I've been thinking of two ways:
- A particle system where their positions are described by polynoms of their lifetime;
- A linked list of points, which would be interpolated to form a Bézier curve.
>>7
That means that the lasers can be split. For example, in Touhou games from MoF onwards, you can destroy partial parts of lasers with bombs.
Name:
Anonymous2011-05-15 10:01
>>8
In that case, I would try a linked list of points, which would be interpolated to form a Bézier curve with other points that describe where the laser was destroyed.