2 Replies Latest reply: May 25, 2011 10:12 AM by 863826 RSS

    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.

      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.

      Edited by: 860823 on 23/05/2011 12:13