AppMobi (again) I don't understand where we are

0 favourites
  • 12 posts
  • I almost finished a game that with painful optimization get more than 20fps on an iphone4 with ios5. I would really like to be the first to publish a construct2 game on the appstore, and I think that it would be an amazing advertisment for construct2 but I'm really on the edge performance wise and I would like to add some nice graphical effects, for this reason I would like to get appmobi running but I don't understand a few issues.

    1) Reading the forums, it looks like at the current state appmobi offers a boost in performance, at the same time Ashley said that currently construct2 doesn't support directCanvas something doesn't add up then.. can someone clarify? The way I knew this is that phonegap and appmobi are the same apart from directcanvas. I would like the direct experience of someone who played with it and has an appmobi licence.

    2) How do you test on appmobi, I planned on making a plugin, but testing means, "compiling" in construct2, loading the project on appmobi sdk then testing on the iphone, it's a little time consuming? Especially considering that there is no real way to try before buying and shelling out 99$ for something that it may not work is not my cup of tea.

    3) Ashley am I allowed with an indie licence to modify the js code that construct produces, I played with it without minifing it and other than being a little complex to figure out, It may be a nice solution for appmobi for integrating its functionality without the need for plugins.

    4) What exactly is construct2 reading with accelerationXwithG? Is this property consistent across device with accelerometers?

    Thank you very much

  • 1) as directcanvas is not yet supported by construct, you'll get probably around 10fps if your game uses rotating sprites, some effects or opacity for sprites.

    2) i test on android, not iphone, so there's no need to buy 99$/year dev account. but from what I hear there are some hacky ways to install a iphone app dev account, google :)

    4) on my phone it reads nothing. I use appmobi's javascript api to read accelerometer and read it with call javascript plugin.

  • 1) 10fps what? Of increase? It's the same as phonegap?

    2) I'm not talking about the apple account, as I already have one, I'm talking about the appmobi one, as far as I know there is no way to test on the iphone without having an account with them or am I missing something here?

    4) Can you share the plugin? <img src="smileys/smiley9.gif" border="0" align="middle" />

  • 4) ranma talks about the third party plugin 'call javascript'

    Look at this

  • 10 fps overall. And yes. You're missing something. You don't need an app mobi account. Google something like getting started with appmobi.

  • I see, I got the wrong xdk.. basically appmobi is free then.. good to know. Tested, no difference in performance between appmobi and local preview.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • We're aiming to improve AppMobi support over the next few releases and we hope to improve mobile performance too with DirectCanvas for iOS and possibly some other technologies for other platforms. We're aware it's a problem and we'll do our best to improve performance on mobile.

    2) How do you test on appmobi

    You do have to export each time. Hopefully you can make do with preview-on-LAN during development then just export once for AppMobi at the end.

    Ashley am I allowed with an indie licence to modify the js code that construct produces

    Yes but this is impractical compared to using the SDK. I would *highly* recommend using the SDK for any custom javascript.

    hat exactly is construct2 reading with accelerationXwithG? Is this property consistent across device with accelerometers?

    It's based on a standard so it should be consistent across all devices. More info in the documentation.

  • Ashley am I missing something here? :)

    hat exactly is construct2 reading with accelerationXwithG? Is this property consistent across device with accelerometers?

    It's based on a standard so it should be consistent across all devices. More info in the documentation.

    does this work? why am I reading 0 with every accelerator value?

  • It depends on the device. Not all devices support it. What are you testing on?

  • app mobi's emulator + android nexus one. works on neither.

  • It depends on whether the browser supports it. I might be able to use AppMobi's API to get it though. Will look in to that for the next build.

  • please do, it's not browser's issue, as appmobi's emulator uses it's own sliders for testing device rotation, and the appmobi api that I currently use (so much pain) to pass device orientation to construct works perfectly, but that's not the way it was intended to use construct, right? :)

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