- Duidelijkere score (punten beloning * multiplier)

- Score animatie bij het balletje waar je punten mee scoort
This commit is contained in:
Bilel Bghiel
2015-06-20 13:24:23 +02:00
parent 412ed60dfe
commit 11811ef6af
4 changed files with 34 additions and 30 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ public class CoinAnimation extends DrawObject {
// Coin omlaag verschuiven doordat Y * loops omlaag gaat.
// Per frame verschuift het balletje delta 10 op Y-as.
try {
coinShape.setFrame(coinSetPoint.getX(), coinSetPoint.getY() + (1000 - 7 * PlayState.comboScore) / 20 * timerLoops,
coinShape.setFrame(coinSetPoint.getX(), coinSetPoint.getY() + (1000 - 35 * PlayState.comboMulitplier) / 20 * timerLoops,
coinShape.getWidth(), coinShape.getHeight());
} catch (ArithmeticException a) { a.printStackTrace(); }