Star stream updates. (mad-s/opsu@701ef796)

- Make StarStream directional.
- Burst stars when score rank increases.
This commit is contained in:
Jeffrey Han
2016-12-23 00:40:36 -05:00
parent 81c8a61bb8
commit 8a7b67b578
3 changed files with 96 additions and 34 deletions

View File

@@ -451,7 +451,11 @@ public class SongMenu extends BasicGameState {
});
// star stream
starStream = new StarStream(width, height);
starStream = new StarStream(
width, (height - GameImage.STAR.getImage().getHeight()) / 2,
-width, 0,
height / 20f, 0.1f
);
}
@Override
@@ -766,7 +770,7 @@ public class SongMenu extends BasicGameState {
}
// star stream
starStream.update(delta);
starStream.update(delta, true);
// search
search.setFocus(true);