-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
33 changed files
with
370 additions
and
103 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file modified
BIN
+0 Bytes
(100%)
app/build/intermediates/classes/debug/com/drawinggame/Controller$1.class
Binary file not shown.
Binary file modified
BIN
-183 Bytes
(96%)
app/build/intermediates/classes/debug/com/drawinggame/Controller.class
Binary file not shown.
Binary file modified
BIN
+9 Bytes
(100%)
app/build/intermediates/classes/debug/com/drawinggame/Game_Control.class
Binary file not shown.
Binary file modified
BIN
-9 Bytes
(100%)
app/build/intermediates/classes/debug/com/drawinggame/GestureDetector.class
Binary file not shown.
Binary file modified
BIN
-6 Bytes
(100%)
app/build/intermediates/classes/debug/com/drawinggame/LevelController.class
Binary file not shown.
Binary file added
BIN
+1010 Bytes
app/build/intermediates/classes/debug/com/drawinggame/MyGLRenderer.class
Binary file not shown.
Binary file added
BIN
+2.28 KB
app/build/intermediates/classes/debug/com/drawinggame/MyGLSurfaceView.class
Binary file not shown.
Binary file modified
BIN
-6 Bytes
(100%)
app/build/intermediates/classes/debug/com/drawinggame/SelectionSpriteController.class
Binary file not shown.
Binary file modified
BIN
+7 Bytes
(100%)
app/build/intermediates/classes/debug/com/drawinggame/SpriteController.class
Binary file not shown.
Binary file modified
BIN
-3 Bytes
(100%)
app/build/intermediates/classes/debug/com/drawinggame/StartActivity.class
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion
2
app/build/intermediates/incremental/mergeAssets/debug/merger.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<merger version="3"><dataSet config="21.0.3"><source path="/Users/jgzuke/Desktop/CODE/DrawingGame/app/build/intermediates/exploded-aar/com.android.support/support-v4/21.0.3/assets"/></dataSet><dataSet config="main"><source path="/Users/jgzuke/Desktop/CODE/DrawingGame/app/src/main/assets"/></dataSet><dataSet config="debug"><source path="/Users/jgzuke/Desktop/CODE/DrawingGame/app/src/debug/assets"/></dataSet></merger> | ||
<merger version="3"><dataSet config="main"><source path="/Users/jgzuke/Desktop/CODE/DrawingGame/app/src/main/assets"/></dataSet><dataSet config="debug"><source path="/Users/jgzuke/Desktop/CODE/DrawingGame/app/src/debug/assets"/></dataSet></merger> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
package com.drawinggame; | ||
|
||
import android.opengl.GLSurfaceView; | ||
|
||
import javax.microedition.khronos.egl.EGLConfig; | ||
import javax.microedition.khronos.opengles.GL10; | ||
|
||
/** | ||
* Created by jgzuke on 15-05-15. | ||
*/ | ||
public class MyGLRenderer implements GLSurfaceView.Renderer { | ||
|
||
@Override | ||
public void onSurfaceCreated(GL10 gl, EGLConfig config) { | ||
|
||
} | ||
|
||
@Override | ||
public void onSurfaceChanged(GL10 gl, int width, int height) { | ||
|
||
} | ||
|
||
@Override | ||
public void onDrawFrame(GL10 gl) { | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
package com.drawinggame; | ||
|
||
import android.content.Context; | ||
import android.graphics.Bitmap; | ||
import android.graphics.Color; | ||
import android.graphics.Matrix; | ||
import android.graphics.Paint; | ||
import android.opengl.GLSurfaceView; | ||
import android.util.AttributeSet; | ||
/** | ||
* Created by jgzuke on 15-05-15. | ||
*/ | ||
public class MyGLSurfaceView extends GLSurfaceView { | ||
private Renderer mRenderer; | ||
|
||
protected double playScreenSize = 1; | ||
protected double playScreenSizeMax = 1; | ||
protected int mapXSlide = 0; | ||
protected int mapYSlide = 0; | ||
protected int curXShift; | ||
protected int curYShift; | ||
protected int phoneWidth; | ||
private int spacing = 10; | ||
protected int phoneHeight; | ||
protected double unitWidth; | ||
protected double unitHeight; | ||
protected Paint paint = new Paint(); | ||
protected Matrix rotateImages = new Matrix(); | ||
private int manaColor = Color.rgb(30, 0, 170); | ||
private int manaColorDark = Color.rgb(20, 0, 110); | ||
private int manaColorCover = Color.argb(50, 255, 255, 255); | ||
private ImageLibrary imageLibrary; | ||
private Controller control; | ||
private SpriteController spriteController; | ||
private LevelController levelController; | ||
private int grassGreen = Color.rgb(51, 102, 0); | ||
private Context context; | ||
protected boolean [] drawSection = new boolean[4]; // top left middle right | ||
Bitmap saveCanvas = null; | ||
|
||
public MyGLSurfaceView(Context context) { | ||
super(context); | ||
mRenderer = new MyGLRenderer(); | ||
setRenderer(mRenderer); | ||
} | ||
|
||
public MyGLSurfaceView(Context context, AttributeSet attrs) { | ||
super(context, attrs); | ||
mRenderer = new MyGLRenderer(); | ||
setRenderer(mRenderer); | ||
} | ||
protected void frameCall() | ||
{ | ||
//invalidate(); | ||
} | ||
@ Override | ||
public void onPause() | ||
{ | ||
super.onPause(); | ||
} | ||
@ Override | ||
public void onResume() | ||
{ | ||
super.onResume(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.