Results 1 to 4 of 4
  1. #1
    miroki123 is offline Member
    Join Date
    May 2011
    Posts
    4
    Rep Power
    0

    Default Issues With GameCanvas Performance

    Hello, recently I've been toying with java mobile applications, but I've run accross a problem I cannot overcome.
    My LayerManager has two objects: the sprite and the tiled layer. Whenever I add the latter to my layer manager, I get 1-2 FPS when rendering the screen, but if I remove it and have only the sprite displayed, I get above 30 FPS (though it is fixed at 20 on my end).

    My layer has the following properties:
    TiledLayer mbg = new TiledLayer(15,20,tiles,16,16);

    Any help appreciated.

    PS: Getting 1-2 FPS on a crappy computer, but the same application running on a fast machine won't get past 11 FPS, although the main game loop is supposed to run at 20 FPS.

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,197
    Rep Power
    19

    Default

    1. Your post doesn't provide any details of the test environment / emulator used.

    2. You need to test on a real mobile device.

    db

  3. #3
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,197
    Rep Power
    19

  4. #4
    miroki123 is offline Member
    Join Date
    May 2011
    Posts
    4
    Rep Power
    0

    Default

    I never thought this could be an emulator issue, I thought I was doing something wrong. So having performance issues with tiled layer is not a common problem I suppose?

    I'm using MOTODEV SDK platform, A1200 motorola model.

    (I sent this message yesterday but it seems it wasn't approved by a moderator or something)

Similar Threads

  1. Eclipse performance issues
    By stijnvp in forum Eclipse
    Replies: 2
    Last Post: 12-14-2009, 08:53 AM
  2. How to resolve performance issues
    By user gs in forum Reviews / Advertising
    Replies: 0
    Last Post: 04-16-2009, 11:09 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •