[Android] Bitracker

Results 1 to 9 of 9
  1. #1
    Account Upgraded | Title Enabled! Sactual is offline
    MemberRank
    Jan 2010 Join Date
    Hong KongLocation
    212Posts

    [Android] Bitracker

    Hello peeps,

    Just wanted to showcase an Android game that I made over the past few idling ages since I was bored.

    https://market.android.com/details?i...ames.bitracker

    Please do tell me how it is, and do tell me if you notice any bugs. Room for improvement is wanted in this case, so do tell me if you want any suggestions =P.


  2. #2
    The Gamma..? EliteGM is offline
    MemberRank
    Jul 2006 Join Date
    NandolandLocation
    4,078Posts

    Re: [Android] Bitracker

    Is it tablet-friendly? 'cause I don't have an android phone

  3. #3
    Ass > Tits Lapje is offline
    MemberRank
    Feb 2009 Join Date
    nullLocation
    1,879Posts

    Re: [Android] Bitracker

    Downloading right now, will let you know what I think about it later
    Posted via Mobile Device
    -------------------------
    Edit: FC when clicking the start button.
    the screen doesn't fit, no lag.

    HTC Wildfire with original 2.1 froyo firmware.

    From what I was able to see the game looked good. nice graphics.
    Last edited by Lapje; 27-02-12 at 03:58 PM.

  4. #4
    Account Upgraded | Title Enabled! Sactual is offline
    MemberRank
    Jan 2010 Join Date
    Hong KongLocation
    212Posts

    Re: [Android] Bitracker

    Alrighto thanks, and yeah the screen may not fit due to it being compatible only with large-sized phones or tablets. I'll see if I can do anything about that.

  5. #5
    Account Upgraded | Title Enabled! Exiled Hero is offline
    MemberRank
    Nov 2008 Join Date
    Multiple PlacesLocation
    202Posts

    Re: [Android] Bitracker

    Quote Originally Posted by Sactual View Post
    Alrighto thanks, and yeah the screen may not fit due to it being compatible only with large-sized phones or tablets. I'll see if I can do anything about that.
    Quickly snip through this and then read the rest of my post.

    Android displays certain resolutions by pixel density.



    Phones like HTC Wildfire, Nexvus One, etc are classed as 'Normal Screen'.

    These were the settings I used when I made Android apps:

    Small screens: false
    Normal Screens: true
    Large Screens: false
    Resizable: true
    Any Density: true

    To test out that this is working, make 3 Android Virtual Devices (AVD’s) and run your app. A WVGA or FWVGA, HVGA and QVGA should be good. I recommend making a specific PNG image in each density a different color, so you can tell if the right folder is being used.

  6. #6
    Account Upgraded | Title Enabled! Sactual is offline
    MemberRank
    Jan 2010 Join Date
    Hong KongLocation
    212Posts

    Re: [Android] Bitracker

    I am not using only pure Android, and am using a library called LibGDX, so Android does not give the beneficiality of resizing. Oh well, I will try make it more compatible with smaller normal screens and small screens.

  7. #7
    Account Upgraded | Title Enabled! Exiled Hero is offline
    MemberRank
    Nov 2008 Join Date
    Multiple PlacesLocation
    202Posts

    Re: [Android] Bitracker

    Still can be done with GDX.

    Something like this..

    Code:
    private void resize()
    {
        float x = Gdx.graphics.getWidth();
        float y = Gdx.graphics.getHeight();
    
        float changeX = x / assumeX;
        float changeY = y / assumeY;
    
        position = new Vector2( position.x * changeX, position.y * changeY );
        width = startWidth * changeX;
        height = startHeight * changeY;
        bounds = new Vector2 ( position.x, ( Gdx.graphics.getHeight() - position.y ) - height );
    
    }

    Basically what you're doing is taking every object generated and running it through something that increases/decreases depending on the change in the x/y values in your resolution. The further it is from the native, the bigger it will be. When checking of something is somewhere or putting something somewhere, always code it as your desired resolution but run it through a resize function before displaying it or letting it interact with the rest of your app.

  8. #8
    :-) s-p-n is offline
    DeveloperRank
    Jun 2007 Join Date
    Next DoorLocation
    2,098Posts

    Re: [Android] Bitracker

    Works on the 10.1" Asus TF

  9. #9
    Account Upgraded | Title Enabled! Sactual is offline
    MemberRank
    Jan 2010 Join Date
    Hong KongLocation
    212Posts

    Re: [Android] Bitracker

    Alright, I have made support for smaller screen devices (hopefully, as I only tested it through different resolutions on the emulator).



Advertisement