• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Recent content by androgaga

  1. A

    Apps add custom params for touchDown() function

    Hi guys, I need to launch an sql query when a button is pressed : public boolean touchDown (InputEvent event, float x, float y, int pointer, int button) { db = new Database(); scores = db.UpdateScore(entryId, types[type]);<=== ERROR HERE...
  2. A

    [libgdx] The method overlaps(Rectangle) is undefined for the type Rocket

    Hi Guys, Before, I used to detect collisions between Rectangle objects with the "overlaps" method, it used to work well : Iterator<Rectangle> iter = raindrops.iterator(); while(iter.hasNext()) { Rectangle rocket = iter.next(); rocket.y -= 200 * Gdx.graphics.getDeltaTime()...
  3. A

    [Newbie]How to Split a String ?

    Hi there, Here I try to send the "message" string ("Lorem,Ipsum,Dolor,Amet") : public void dbInsertWords(View view) { Intent intent = new Intent(this, DbInsertWords.class); String message = "Lorem,Ipsum,Dolor,Amet" ; intent.putExtra(EXTRA_MESSAGE, message)...
  4. A

    Apps [OOP Newbie] How to create a class to spawn enemies ?

    Hi Guys, I'm trying to program a clone of this game : Battle Squadron AMIGA - First levels - YouTube I'm a newbie with Java, LibGdx and Object Oriented Programming however at this point I managed to implement several features successfully : keyboard controls, tiled background, scrolling...
  5. A

    Apps add parameter (not only .width or .height)

    Hi Guys, I draw a space ship : private void spawnSpaceship() { Rectangle spaceship = new Rectangle(); spaceship.x = MathUtils.random(0, screenWidth-32); spaceship.y = screenHeight; spaceship.width = 32; spaceship.height = 32...
  6. A

    Apps android + eclipse = jar mismatch fix your dependencies

    Hello Today I created my first game for Android using libGDX and Eclipse. And yes, the desktop-version app runs fine ! But the android-version won't run : - Your project contains errors, please fix them before running your application - Problems : "Jar mismatch! Fix your...
  7. A

    Develop a 2D game : OpenGL or not ?

    Deleted