Skip to content

Commit

Permalink
Upgrading to the latest version of LibGdx
Browse files Browse the repository at this point in the history
  • Loading branch information
Interrupt committed Nov 17, 2018
1 parent c45c96d commit d01b2ea
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ protected void draw(float delta) {

renderer.uiBatch.begin();
renderer.uiBatch.enableBlending();
renderer.uiBatch.setColor(Color.toFloatBits(0, 0, 0, 0.5f * lerpValue));
renderer.uiBatch.setColor(0, 0, 0, 0.5f * lerpValue);
renderer.uiBatch.draw(renderer.flashRegion, -renderer.camera2D.viewportWidth / 2,-renderer.camera2D.viewportHeight / 2, renderer.camera2D.viewportWidth, renderer.camera2D.viewportHeight);
renderer.uiBatch.end();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -329,9 +329,9 @@ protected void draw(float delta) {
renderer.uiBatch.enableBlending();

if(animateBackground)
renderer.uiBatch.setColor(Color.toFloatBits(0, 0, 0, 0.5f * lerpValue));
renderer.uiBatch.setColor(0, 0, 0, 0.5f * lerpValue);
else
renderer.uiBatch.setColor(Color.toFloatBits(0, 0, 0, 0.5f));
renderer.uiBatch.setColor(0, 0, 0, 0.5f);

renderer.uiBatch.draw(renderer.flashRegion, -renderer.camera2D.viewportWidth / 2, -renderer.camera2D.viewportHeight / 2, renderer.camera2D.viewportWidth, renderer.camera2D.viewportHeight);
renderer.uiBatch.end();
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ allprojects {
version = '1.0'
ext {
appName = "delver"
gdxVersion = '1.9.3'
gdxVersion = '1.9.9'
roboVMVersion = '2.1.0'
kryoVersion = '2.23.0'
}
Expand Down

0 comments on commit d01b2ea

Please sign in to comment.