Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found
Select Git revision

Target

Select target project
  • sixtenm/progarkproject
1 result
Select Git revision
Show changes
Commits on Source (2)
......@@ -107,7 +107,7 @@ public class WaitingLobbyController {
timer += dt;
if (scoreUpdated) {
boolean allPlayersFinished = _FBIC.checkIfAllPlayersAreFinished(pin);
if (timer >= 10 && round < 3 && allPlayersFinished) { // This means 4 rounds, starting from 0
if (round < 3 && allPlayersFinished) { // This means 4 rounds, starting from 0
Gdx.app.postRunnable(() -> {
state.getStateManager().setState(new LeaderBoardState(state.getStateManager(), _FBIC, pin, nickname));
});
......
......@@ -128,7 +128,7 @@ public class GamePlayView {
float letterSpacing = 100;
float totalWidthLetter = ((((float) letters.size() * letterSpacing)) / 2);
float letterStartX = ((cam.viewportWidth - totalWidthLetter) - 2*letterSpacing) / 2;
float letterStartX = ((cam.viewportWidth - totalWidthLetter) - 3*letterSpacing) / 2;
float letterStartY = cam.viewportHeight / 2;
sb.setProjectionMatrix(cam.combined);
sb.begin(); // Begin the SpriteBatch for other rendering
......