Merge pull request #157 from azhao12345/master
centered follow points (fixes #156)
This commit is contained in:
commit
8b793b7661
|
@ -1367,10 +1367,10 @@ public class Game extends BasicGameState {
|
||||||
followPoint.setAlpha(1f - ((progress - (t - step)) / (step * 2f)));
|
followPoint.setAlpha(1f - ((progress - (t - step)) / (step * 2f)));
|
||||||
else
|
else
|
||||||
followPoint.setAlpha(1f);
|
followPoint.setAlpha(1f);
|
||||||
followPoint.draw(x, y);
|
followPoint.drawCentered(x, y);
|
||||||
}
|
}
|
||||||
} else
|
} else
|
||||||
followPoint.draw(x, y);
|
followPoint.drawCentered(x, y);
|
||||||
t = nextT;
|
t = nextT;
|
||||||
}
|
}
|
||||||
followPoint.setAlpha(1f);
|
followPoint.setAlpha(1f);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user