MPPlantOfficial's Forum Posts

  • Use a GLOBAL VARIABLE. Can be BOolean or even a multiplier for all speeds....

  • This is an eternal question. Even if you managed to answer this perfectly today, something could go wrong next update of either C2 or XDK.

    Default way is to export project and leave it as it is in XDK then build file. Then when you you start considering monetizing options a 5 minute thing is stretched into 7 days of stress trying to see what went wrong in your build.

  • > 1. Record the time the player's online

    > 2. 24 hours - time online = Time Offline

    >

    But if the player stay offline more than 1 day

    Good point. I don't know how to do that. I'm guessing you need a day multiplier somewhere else outside of C2. A cloud maybe.

  • Switched to Cranberry Appodeal plugin after giving up on Admob.

    The cordova-plugin-ad-appodeal plugin seems to be dependent on 8 other plugins, one of which is the google play services plugin.

    I tried as you suggested in your blog but unfortunately I couldn't take out the google play services without taking out cordova-plugin-ad-appodeal too.

    http://tobyr.wtfgamesgroup.com/how-to-f ... -appodeal/

    Is this for the official C2 Appodeal plugin (with the red logo) or for the cranberrygame plugin?

  • By consuming a purchased product you basically allow user to purchase it second time (like extra coins which they can buy how many they want for instance). So in your case you don't want to consume the product. Once it is purchased it should not be possible to buy it second time as user already owns it and it has its "has" state set to "true".

    I see. Thank you for clearing that up.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • There are none. Try Appodeal and Chartboost if you have the Cranberry Plugin pack.

  • [deleted link]

  • > Whiteclaws

    > No, this is the problem.

    > Did something changed in project build ?

    > Anyone ?

    >

    I have this problem too. Only on my smartphone, splash screen and then black screen. On other device it starts normally. My phone is Huawey p3 lite. Have you solve it?

    Worked on one phone failed black screen on another? Sounds like a memory problem.

  • Looks possible. Try manual angled gravity if the default physics don't work for you.

  • > UPDATE: Switching to v1.6.1 WORKS!!!

    >

    Happy to help.

    Do you know which IAP and Admob plugins

    ACTUALLY WORK

    as of Feb 23, 2017 ????

  • > UPDATE: Switching to v1.6.1 WORKS!!!

    >

    Happy to help.

    v1.6.1 works but somehow after adding both IAP and Admob

    ...BLACK SCREEN AGAIN!!!!

    HOLY FK!!!

  • Bump. Has this finally been fixed?

  • So after days of figuring out I needed to use a different version of the InAppBrowser plugin and finally getting a successful build today I used the exact same settings on a different capx file configured right aannnnndddd

    BOOM! BLACK SCREEN AGAIN!!!!

    Scirra please, please, please, please,

    PLEASE

    consider creating native exporters. This whole

    XDK BS is a NIGHTMARE..

  • Allright... you have a mess there mate...

    * Line 3: you call purchase product twice there... first when someone touch the "Button_ovo10" and then on line 3. This logic is not logic .

    * Consume product should be under line 6 condition. So simply once it is successful, then you consume it.

    * Line 13 should not exist. It is being checked 60 times per second (if product is not restored/bought) for no reason. You should add those actions under observers.

    But I doubt that this is the reason your app actually go black screened. I suggest removing and adding again the JS plugin in Intel XDK.

    I'd like to give this one a bump. My IAP is not a "Subscription" but a "managed" product.

    A simple ad-disabler. Should I still "consume" the product after purchase or will the product just be detected without "consuming" ???

  • i use r241 and have black screen only on some devices

    I can't guarantee it'll work. I only managed to get a build using trial and error.

    I don't know what version of InAppbrowser works on r241.