Merge pull request #157 from azhao12345/master

centered follow points (fixes #156)
This commit is contained in:
Jeffrey Han 2015-11-29 22:37:13 -05:00
commit 8b793b7661

View File

@ -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);