[PLUGIN] appMobi Plugin Updates

0 favourites
From the Asset Store
The I18N (Translation) is a Construct plugin created to translate text in game.
  • tap cool thank you is there anyway i have to call this function or is it now standard on all apps?

    also hows the accelerometer support with direct canvas looking?

  • eldods - I actually added power and geolocation yesterday and will now be adding in the accelerometer support. After that is added I want to do some quick initial testing and then the updates should be on github sometime tomorrow.

    degortg - I'm looking into your capx now. I don't know how much I can do for you. It's not a plugin issue and I don't control how C2 exports / scales games, but I will take a look and see if there is some way I can help you resolve this regardless.

    Thanks all.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • degortg - I built your capx and see the issue you are having. Instead of fussing with the dimensions of the game, what I did was simply edit the exported index.html file and wrap your canvas in <center> tags and now the game is centered on screen and you have the black bars even on both sides so it looks better. So use center tags or css or whatever you want. All you have to do is center the canvas tag.

  • tap sounds great been waiting for this for a while <img src="smileys/smiley4.gif" border="0" align="middle" /> . When you say geolocation do you mean from within c2s event sheet?

    Also how will i know when you post the update with the accelerometer support on github?

  • tap,Thank you!

  • eldods - if you have a github account you could click "watching" github.com/koza/appMobiC2Plugin but this time I will also PM you to let you know the files are ready. As for geo, yes you will be able to access the Lat / Long of the device from the C2 event sheet. The values are available via C2 expressions.

    degortg - no problem. I'm happy to help.

  • tap awesome thank you

  • tap, I'm sorry, but did not work, you can put the modified index.html,so I can watch it?

  • degortg - just removed the position:fixed in the canvas css class and your center tag will work.

  • tap,look

         <style type="text/css">

              * {

                   padding: 0;

                   margin: 0;


                   -webkit-tap-highlight-color:rgba(0, 0, 0, 0);


              body {

                   background: #000;


              canvas {

                   position: fixed;



    I remove the line

         position: fixed;


    canvas {

         position: fixed;


    The result does not change: (

  • Hi Tap!

    I am glad that you back fro vacation. DO you have any news for trigger "end of sound" ?


  • degortg - My first guess is the app cache is not refreshing so you dont see the changes. To test, change the background color to something else. If it stays black, then you know it has not updated. So you will need to cClear the cache or edit the manifest to resolve that.

    Here are the steps I took to resolve it on my end:

    1. I removed position:fixed from the css class

    2. I wrapped the <canvas> tag in <center> tags

    3. Tested in the XDK and it worked

    4. Built for android and tested on my tablets and it worked.

    Just an FYI this is not an issue with the appmobi build system or the appmobi plugin. I don't know what else I can do for you. What I recommended resolved the problem for me.

    So if all the above does not work, I would recommend moving the question under a construct 2 general. It's a more appropriate forum for this question as it's not an appmobi or appmobi plugin issue. Also PM me if you do end up moving the question. I will do what I can to continue to assist you with this issue.

    Best of luck!

  • pavelkn - Unfortunately I do not. I have to wait for our native dev team to expose that via the JS api. We have had discussions and will be enhancing our audio support in general. I don't have a solid time frame on that but once they have the api ready, I will add that to the plugin and send you a PM so you don't have to keep checking the files in github. I wish I had a better answer, but the good news is it is pretty high on the to-do list. :)

  • One note when usng the acceleromoeter support that was added to the plugin. I recommend exporting using the phone browser and not DirectCanvas. There seems to be a performance hit due to the need to pass values back and forth between the webview and canvas layers.

    If you have any questions just let me know.

  • tap,maybe I do not understand it, the cache is updated, but it still does not work, send me index.html?

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