tap's Forum Posts

  • Tobye - what do you mean by "... this problem ..."? The issue where large image sizes were causing your app to crash? If so, I have created a couple tests using C2 and various image sizes, then export using DC and was unable to duplicate. Can you send me a link to the capx file so I can do further testing.

  • ArcadEd - skylandmm1

  • ArcadEd - I tested your bundle and saw the same. Can you send me the capx file for you game so I can do some further testing? You can PM me the link if you don't want to post it here.

  • ArcadEd - we found an issue in our manifest that might be causing that for you on the Nexus 7. We are fixing it now and it should be updated shortly.

    shinkan - Sorry to hear. I have a couple questions for you. Are you using DirectCanvas? Do you have the latest appLab version from the app store? If you do have the latest appLab. Send me the name of you app and I'll check it out.

  • ArcadEd - :( I will check it out as well. Can you provide me with more detail about "... I would like to test stuff on my Nexus 7 as well, but I can't install it ...", Does it not let you, does it fail, etc...

    Thanks!

  • ArcadEd - Sure thing. I'll let you know what I find.

  • Tobye - Did you have the appMobi plugin I'm working on in the appmobi folder under plugins? If so, then when you update C2, it overwrites it. What I would do is:

    Add the newest plugin appmobiDev to the plugins folder

    Then copy the contents of appmobiDev into appmobi as well (note COPY not MOVE)

    Then do a global search and replace for "appmobidev" and change to "appmobi" in the appmobi plugin folder. This will allow you to open your game. Once you have it open, switch your appmobi references to use the appmobiDev plugin.

    Then delete the appmobi object.

    This way when you upgrade C2 again it wont be a problem.

    If I still had the plugin named just "appmobi" you could just replace and be all set, but that was causing confusion for some.

    Let me know if that helps.

  • Tobye - Awesome! I'm glad to hear.

    ArcadEd - Ok so XDK=fine, device=broken for you. I will do a build later today and check it out on device.

  • You state that you go to test anywhere and run it on your device. That is applab. Does the game run on your pc in the XDK emulator?

  • ArcadEd

    DC was added the AppLab recently. Can you remove it from your device and re-install it from the app store?

    Also did you test in the XDK and did it work?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • ArcadEd - Easy fix. I looked at the bundle. Checkout the source of your directcanvasC2.js file. It looks messed up. Something funky happened in your download. I would recommend redownloading it from github and try again. When I did, the game worked just fine in the xdk.

    Let me know how it works out for you.

  • ArcadEd - Thanks for supplying the app name. I will check it out and see if I can be of assistance. As for the sdk, yes there has been a bunch of work to the code, but not everything is open sourced I believe.

    Unfortunately, I wont be too much help on the native "build it yourself" side. However you can always go to our forums for help and our native devs can lend a hand with that.

    Again, I'll take a look at your project and see whats up.

  • ArcadEd - Well the newest public code that we open sourced is at github.com/appMobi The OS version is an older version of the code when compared to our internal system.

    As for the plugin, yes. If you include the extra directcanvasC2.js file into your index.html file it should work. I've been testing in the XDK and on device as I released so if you are running into problems let me know. I'll be happy to check them out.

  • Tobye From what I read the plugin installation was almost correct. Basically, all you have to do is download the code from github, unzip it. Now you should see a folder called appmobiDev. Just move that folder into the C2 plugin directory and you will be all set after you restart C2. I hope that made sense.

    As for including the directcanvasC2.js file, do you know how to edit html? You need to add the following line into your index.html file in order to use DC in the plugin. I know it is an extra step but because this plugin is not yet merged into the "official" scirra version, it's the only way I have to include certain code. To accomplish the above:

    1. Open the C2 export folder
    2. Move the directcanvasC2.js file from the zip file to the C2 export folder
    3. Open index.html in your text editor
    4. Inside the header tag, copy and past the following line
    5. <script src="directcanvasC2.js" language="javascript" type="text/javascript"></script>

    Please let me know if that helped. If not, I'll have you send me your export and I'll edit it for you and send it back, so you can see how it is implemented.

  • Epox

    • When you copied the dev contents into the official folder, the id error is expected because in the plugin code, the plugin id is set to appmobiDev not appmobi.
    • When you did a new appmobidev folder next to the official version, did you restore the official versions code as well? The plugin id issue could be because now you have two appmobidev plugins

    Sorry for any hassle. Ashley asked that I rename the plugin. I guess some people were copying it along side the version released by Scirra instead of overwriting it. No one reported that issue to me prior to Ashley's post but instead were asking him why it was broken.

    As for making the dev version the official version, that's a question for Ashley. It's out of my hands. I've spoken with him in the past about pushing up the new code but I know he is slammed with all the new updates to C2. I have no control or idea on when or if the two will ever be merged.

    For now if you don't want two plugins side by side, what I would suggest is:

    1. remove the official appmobi folder.

    2. rename the appmobidev folder to appmobi.

    3. open edittime.js and runtime.js, then do a find for "appMobiDev" and replace with "appMobi"

    I hope that helps.