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

Search results

  1. K

    Apps Google Play Games Services Skill Based Matchmaking Algorithm

    I've been looking into using the Google Play Services multiplayer functionality for a game and I was wondering if it would be possible to implement a matchmaking system like HoN/LoL/DotA2 (and plenty of other games) where each player has a skill rating and gets matched into games with players of...
  2. K

    Apps Single Phone Bluetooth Networking

    Hi everyone. I'm making an app that needs to communicate with other phones via Bluetooth. But I only have one phone. Does anyone have any ideas to get around this problem? - Could I trick my phone into thinking that it is the second phone? - Is there an app that simulates Bluetooth input? - I...
  3. K

    Apps Activity Life Cycle

    Hi everyone. A few days ago I implemented a level select screen in my game. While it does let you choose your level; it has brought to my attention the fact that I'm not cleaning up something properly. If you start a level, press back, start a different level, press back and start a third...
  4. K

    Apps Vibrator Lag

    Hi everyone. I've just implemented vibrations in my game. The problem I'm having is that almost every time it vibrates; the game lags and everything jumps over about half a second. Here's the relevant code: //member variable Vibrator mVibrator; //class constructor mVibrator =...
  5. K

    Apps Java Vectors

    Hi everyone. I'm working on a 2d android game with fairly simple physics. Every update all movable objects are updated They apply their velocity (add velocity * deltaT to position). They check for collisions against any walls in the level. Then they find which grid spaces they are in and give...
  6. K

    Apps Tilt Sensing

    Hi everyone. I'm currently developing a game in which you move around the level by tilting the phone (similar to labyrinth). Does anyone have any experience using SensorManager.getOrientation()? Or does anyone know of anywhere that explains how to use it? Is that even the right way to do it?
  7. K

    Apps Images or Shapes?

    Hi everyone. I've just started developing a tile based game for android. Seeing as how efficiency is so important on mobile devices, I was wondering how I should go about drawing the level. Level terrain will be made up of walls and holes, both of which use the same set of simple shapes (see...
  8. K

    Apps How to make my app full screen

    Hi everyone, I've just started learning android development and while I haven't run into any major road blocks yet, this is really bugging me. When I run my app it only takes up part of the emulator's screen. I've attached a screen shot of my app which currently contains 2 buttons, the second...