Skip to content

Commit

Permalink
fix(flat orbs on android): resized orbs to get circular orbs on ~16:9…
Browse files Browse the repository at this point in the history
… resolution devices
  • Loading branch information
sanjeev309 committed Jan 13, 2019
1 parent 4b27513 commit 4be5cb0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,11 @@ public void render(SpriteBatch sb){
// shapeRenderer.setColor(Color.RED);

for(Orb orb:orbs){
sb.draw(orb.getOrbTexture(),orb.position.x,orb.position.y,4,4);
sb.draw(orb.getOrbTexture(),orb.position.x,orb.position.y,2,4);
// shapeRenderer.circle(orb.position.x,orb.position.y,5);
}
for(Dark dark : darks){
sb.draw(dark.getDarkTexture(),dark.position.x,dark.position.y,4,4);
sb.draw(dark.getDarkTexture(),dark.position.x,dark.position.y,2,4);
// shapeRenderer.circle(dark.position.x,dark.position.y,5);
}
// shapeRenderer.end();
Expand Down

0 comments on commit 4be5cb0

Please sign in to comment.