Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updated to the latest libgdx

  • Loading branch information...
commit 829bbd6a4a77450bedbddb7b3187403e43817ed2 1 parent bc53035
Impaler authored
View
BIN  star-assault-android/libs/armeabi-v7a/libgdx.so
Binary file not shown
View
BIN  star-assault-android/libs/armeabi/libgdx.so
Binary file not shown
View
BIN  star-assault-android/libs/gdx-backend-android.jar
Binary file not shown
View
BIN  star-assault-desktop/libs/gdx-backend-lwjgl-natives.jar
Binary file not shown
View
BIN  star-assault-desktop/libs/gdx-backend-lwjgl.jar
Binary file not shown
View
BIN  star-assault-desktop/libs/gdx-natives.jar
Binary file not shown
View
BIN  star-assault/libs/gdx-sources.jar
Binary file not shown
View
BIN  star-assault/libs/gdx.jar
Binary file not shown
View
2  star-assault/src/net/obviam/starassault/model/Bob.java
@@ -60,6 +60,6 @@ public void setState(State newState) {
}
public void update(float delta) {
- position.add(velocity.tmp().mul(delta));
+ position.add(velocity.cpy().scl(delta));
}
}
View
4 star-assault/src/net/obviam/starassault/screens/GameScreen.java
@@ -130,13 +130,13 @@ public boolean touchDragged(int x, int y, int pointer) {
}
@Override
- public boolean touchMoved(int x, int y) {
+ public boolean scrolled(int amount) {
// TODO Auto-generated method stub
return false;
}
@Override
- public boolean scrolled(int amount) {
+ public boolean mouseMoved(int screenX, int screenY) {
// TODO Auto-generated method stub
return false;
}
View
2  star-assault/src/net/obviam/starassault/view/WorldRenderer.java
@@ -81,7 +81,7 @@ private void drawBob() {
private void drawDebug() {
// render blocks
debugRenderer.setProjectionMatrix(cam.combined);
- debugRenderer.begin(ShapeType.Rectangle);
+ debugRenderer.begin(ShapeType.Line);
for (Block block : world.getBlocks()) {
Rectangle rect = block.getBounds();
float x1 = block.getPosition().x + rect.x;
Please sign in to comment.
Something went wrong with that request. Please try again.