Acceleration of the poor android game

  • Hello every one,

    I've tried to export the game with phone gap, but it seems really slow.

    I'm not sure if i can re do it with Eclips, because the enviroment is also difficult to built for me. But I think I will do it later

    The game is acturlly big, like 80 sprites already and there will be more later, I'm not sure what kind of degree it can reach with Eclipes? Or it there still some methode more efficace for the acceleration .

    I've tried to payer attention with every Tip which Ashley tolded. But We do need lots of sprites...

    Anyway, on iPad, we still have a nice speed.

    Thanks, et kind regards

  • Phonegap isn't really designed for games, but more for "normal" applications. Also apps created by phonegap isn't hardware accelerated.

    Look at CocoonJS instead:

    http://www.scirra.com/tutorials/303/how-to-export-to-cocoonjs

    Or AppMobi with Direct Canvas:

    http://www.scirra.com/tutorials/304/how-to-export-to-appmobi-with-directcanvas

    Both these are hardware accelerated and will give you a much higher FPS than phonegap.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Thanks Mike, that is realy fun

    When, I launch my game, it gives me a note like:

    fps:>1000 is that mean I've made too much calcul in my game?

  • Still lots of errors...

    I will try to cover it

    Some times errors imformations seem too strange to me:

  • Do you use any external plugin in your project?

    Facebook plugin is know to cause the FPS>1000 error.

  • nothing1969, can you let us know what the errors are? We may be able to fix them.

  • This is the ERROR that I've got:

    JSUtilities Exception: TypeErrors: Result of expression 'this.nk[this.jv]'[undefined] is not an object. Cause: Tag: timer Function: function(){b.go();}

  • and then I tried to delete all the images elements , and I have now always the same error, a litte different anyway:

    JSUtilities Exception: TypeError: Result of expression 'this.Bg[0]'[undefined] is not an object. Cause: Tag: timer Function: function(){a.go();}

  • Then I've deleted the plugin facebook:

    JSUtilities Exception: TypeError: Result of expression 'this.Ag[0]'[undefined] is not an object. Cause: Tag: timer Function: function(){a.go();}

  • Then I've deleted the plugin "facebook":

    JSUtilities Exception: TypeError: Result of expression 'this.Ag[0]'[undefined] is not an object. Cause: Tag: timer Function: function(){a.go();}

    Then I've deleted the plugin one by one "Array" "GROUP" "Timeline" "Web stokage","Audio" and all the sounds, "Keyboards":

    ...

    Then I've deleted the plugin "Touch Mouse":

    il works

    Then I've tried to restore all the plugin besides "Facebook", and delete juste the "Touch Mouse":

    It works

    Then I've restored all the images and delete only the "Touch Mouse" :

    Oh my god it works:::::: <img src="smileys/smiley36.gif" border="0" align="middle" /> <img src="smileys/smiley4.gif" border="0" align="middle" />

    well

  • But it's not so cool, when we don't have our Mouse Touch...

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)