Skip to content

Commit

Permalink
DEBUG APK Version 1.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobAMason committed Mar 22, 2015
1 parent 100c0f8 commit 74a370d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 12 deletions.
4 changes: 2 additions & 2 deletions android/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.DCSP.game.android"
android:versionCode="3"
android:versionName="1.0.2" >
android:versionCode="4"
android:versionName="1.0.3" >

<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="21" />
<uses-permission android:name="android.permission.INTERNET" />
Expand Down
Binary file modified android/android-debug.apk
Binary file not shown.
12 changes: 2 additions & 10 deletions core/src/com/DCSP/screen/MazeScreen.java
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,6 @@ public boolean touchDown (int screenX, int screenY, int pointer, int button) {
player.setX((screenX/10 - (pos.x))* cellFactor);
player.setY((screenY/10 - (pos.y))* cellFactor);

Gdx.app.log("MazeScreen", String.valueOf((screenX - (int)(pos.x))*100));
Gdx.app.log("MazeScreen", ", ");
Gdx.app.log("MazeScreen", String.valueOf((screenY - (int)(pos.y))*100));

return true;
}

Expand All @@ -124,11 +120,7 @@ public boolean touchDragged (int screenX, int screenY, int pointer) {
pos = player.getPosition();
player.setX((screenX/10 - (pos.x))* cellFactor);
player.setY((screenY/10 - (pos.y))* cellFactor);

Gdx.app.log("MazeScreen", String.valueOf((screenX - (int)(pos.x))*100));
Gdx.app.log("MazeScreen", ", ");
Gdx.app.log("MazeScreen", String.valueOf((screenY - (int)(pos.y))*100));


return true;
}

Expand All @@ -153,7 +145,7 @@ public boolean touchUp (int screenX, int screenY, int pointer, int button) {
camera.setToOrtho(true);
camera.translate((mWidth*cellFactor - Gdx.graphics.getWidth())/2,
(mHeight*cellFactor - Gdx.graphics.getHeight())/2);
camera.zoom = camera.zoom/10;
camera.zoom /= 9;
camera.update();

maze = new Maze(world, mWidth, mHeight, 42, cellFactor);
Expand Down

0 comments on commit 74a370d

Please sign in to comment.