Toby R's Recent Forum Activity

  • Set it to On start of layout? Not sure what are you doing there exactly. Some screenshot or capx would clear the things out.

  • Which version of C2 and XDK do you use? Also you may want to try with Cordova AdMob instead of PhoneGap (it's deprecated).

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • sizcoz try with .htaccess file. Create ".htaccess" file in the directory where you have your script (the one which ajax is calling)... with the following content

    <IfModule mod_headers.c>
    Header set Access-Control-Allow-Origin "*"
    </IfModule> [/code:3ernqrjl]
    
    It basically does the same, but you might have some security restrictions enabled in Apache especially if you have shared hosting.
  • I also have no badge but I do have a C2 License. It's a kind of magic .

    agent2557 do you need consumable products or non-consumable (like premium account)? C2 IAP plugin work fine by itself with buying non-consumables (however you cannot restore purchases). So if you have an error in XDK check the build log. At the end you should see the error reason.

    BTW... Scirra should buy IAP plugin from cranberrygame and make it official (or rebuild the existing one). I can imagine how irritating it is to struggle buying C2 license (in his case) and then you cannot use IAP... where IAP (and AdMob) are the most wanted (to work) plugins.

  • I used to build some stuff with AS3 for flash/web and AIR technology. I must admit it was a very pleasent experience after all. Simpe scripting (observer based), pretty wide possibilities. However I am not expert in this topic at all so I have no idea about security stuff there etc. Anyway It was fun but HTML5 is an alternative with a lot of advantages over flash. So yea it was a good call .

  • Thanks guys .

    For now my prio is to finish the website with blog and release my app. Soon after that I'll start writing. Will keep you updated

  • I know what you're talking about My previous app also recieved many 1-stars due to performance issues. But many of those were because people tried to run the app on old devices. So the first thing to do to secure yourself is to set the minimum Android API to (at least) 19 (KitKat). In this way you cut approx 25% of potential customers, but let's say it stright... you actually cut 25% of the 1-stars you would get anyway.

    Old devices are simply not strong enough to run wrapped app with Crosswalk and your game (maybe it could with some super simple game - haven't done any yet). Haven't tested Canvas+ on old devices but I think the result would be pretty the same cause Canvas+ obviously isn't like 500% faster than Crosswalk 15.

    So first of all I suggest to change the minSdkVersion.

  • I thought some of you might be interested on how profitable are sells in Scirra store, so I share my experience here.

    In August 2015 I wrote an ebook Android app with C2. Tips&Tricks. Sells started in September 2015 and remained till December 2015. So the ebook was available to purchase for four months in the Scirra Store.

    Actually it was available later as well but I have changed the price to $99. By mistake at first but then I left it like that so to scare the customers. The e-book got already a bit deprecated and I didn't want anyone to buy it. Was planning to update it later but after all I removed it from the store today.

    So whithin 4 months ebook has been sold 50 times and gave a profit of £93.36. Which is not bad in my opinion.

    Thank you everyone who purchased the ebook! I mostly spent earned money to buy other ebooks and stuff related so it was like share knowledge for knowledge - awesome <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">.

    Soon I will write another ebook related to mobile development which will cover:

    - C2 performance optimization

    I was always a performance freak, and I think I've pushed my recent app to the limits.

    The game has hundreads of objects moving on the screen most of the time and there are more than 10 bullets spawn per second. So huge GPU and CPU consuming game. Tens of thousands collision counts per second. Initially this game worked with about 30 FPS on SGS4. Now after all the performance optimization tricks implemented it works with 50-60 FPS on the same device (on Crosswalk 15).

    So the results are really awesome.

    - How to work with CocoonIO and Intel XDK at the same time.

    Sometimes CocoonIO or Intel XDK might be bugged or have security issue with lates update or simply one of them might release revolutionary update etc. so it is useful to know how to switch between them even if your app is already published.

    - How to manage big projects in C2

    Basicaly this will cover the semantic of code and overall project. So some tips which will help you not to get lost in your code once it gets bigger then you expected.

    All these informations will be also published on my blog FOR FREE. However if you'd like to have a PDF version or simply support me in what I'm doing you'll be able to buy it in Scirra store as well.

    My blog is under construction at the moment. So if you'd like to be notified about all those things you are more than welcome to follow me on Twitter (https://twitter.com/TobyReeno) or Facebook (https://www.facebook.com/TobyRgames) for now.

    Thanks! Stay Tuned! <img src="{SMILIES_PATH}/icon_e_wink.gif" alt=";)" title="Wink">

  • Allright I manage to compile it succesfully with both Cordova IAP and C2 AdMob plugin on board.

    Before I was using com.cranberrygame.phonegap.plugin.ad.admob and Cocoon compiler failed. Once I've change it to com.cranberrygame.cordova.plugin.ad.admob it compiles succesfully.

    The good thing is that Location permission request is gone. The bad thing is that Ads are not being shown. I saw AndreasR reported this issue to Ludei, so let's see what can they do about it.

  • Thanks for this example It looks almost like my implementation. So probably the AdMob gave me error.

    It is needed to use "is Canvas+" before any Cordova IAP action? It seems not related. Or in case of Cocoon it works only with Canvas+?

  • If Intel sends you the key store which is used to sign your apps in their build system then you can upload this keystore to CocoonIO.

    I was thinking about that recently and I think the wise move is to always use your own key even if you use Intel XDK. Then you can switch from one wrapper to another in easy way in case there is some critical issue with one of them at the moment. I will test it out soon and write tutorial about it.

  • I didn't manage to set it up. That's why I asked Andy to show how to do this

Toby R's avatar

Toby R

Member since 23 Mar, 2015

Twitter
Toby R has 18 followers

Connect with Toby R

Trophy Case

  • 9-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • x6
    Coach One of your tutorials has over 1,000 readers
  • Email Verified

Progress

14/44
How to earn trophies