halbekanne / osu-sgl

Port of the SGL for .NET 2.0 and an osu! storyboard code editor
GNU General Public License v3.0
10 stars 7 forks source link

Add support for Storyboard Flips etc. #24

Closed Damnae closed 11 years ago

Damnae commented 11 years ago

I added these commands :

sprite.additive(startTime, endTime);
sprite.flipH(startTime, endTime);
sprite.flipV(startTime, endTime);

I used flipH/V instead of flipX/Y as said in https://github.com/MoonShade/osu-sgl/issues/12 because it's clearer this way.

I didn't use the existing Animation class because this isn't really an animation and it didn't fit well with how the Animation class is (the startParams / endParams).