MPPlantOfficial's Recent Forum Activity

  • >

    > One thing I just discovered though is that Im using an older version of the InAppBrowser plugin (v.1.4.0).

    > Checking the documentation I see the latest version of the plugin is v1.6.1.

    >

    >

    I'm looking at my XDK here. Seems the cordova-plugin-inappbrowser is 1.4.0 as well.

    Looking through alternate versions and seems like 1.4.0 IS the latest version.

    What are my choices here?

    EDIT: Seems like v1.6.1 DOES EXIST after all. v1.4.0 is the default plugin being fetched but you can fetch v1.6.1 manually. Will be trying to build APK from this one. Will keep you posted on the results.

  • Hi guys. Where can I find older versions of C2s default plugins?

  • >

    > Have you tried creating an APK lately though?

    > It's either C2 r242 or XDK again.

    >

    Yes Ive been exporting for Android, iOS and WinPhone as recently as the last couple of days.

    Im using C2 r242 and XDK 3759.

    One thing I just discovered though is that Im using an older version of the InAppBrowser plugin (v.1.4.0).

    Checking the documentation I see the latest version of the plugin is v1.6.1.

    Which version of the plugin was giving you black screens MPPlantOfficial? Did you have the latest version? If you did, and that was generating black screens for you, I feel reluctant to update it.

    An older version of the plugin? I didn't even know you could do that. How do I check?

    Could you upload that version?

  • 1. Record the time the player's online

    2. 24 hours - time online = Time Offline

  • Hello Cranberry.

    I was wondering if you had other options for InApp browser. For some reason your "Close Window" action doesn't work on an Android device. Users are forced to press the Home button if they want to exit app.

  • You mean it's already in APK form in your device? I think you need some file manager which you can download from the App Store.

  • Can't really say based on your game description alone.

    The one I'm making right now for example is a simple arcade game.

    I'm displaying a fullscreen ad every 5 games. Now a newbie or a bad player would probably get a game about 30 seconds of gameplay for every life which would equate to 1 ad displayed every 2mins 30seconds but a good player can keep playing I'd say 5 minutes minimum for each life so that would be 1 ad every 25 minutes.

    So 1 ad is displayed every 2m30s - 25m with and average of about 13 minutes. That's a wide range of time.

    Everntually less and less ads are getting displayed as the player keeps getting better and better.

  • Yup R0j0 has a very good solution here.

    In one of my games also I wanted better control over the ranges of a sine value so I used another variable to fit my needs.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Ah ok. Well I use the browser object in my game, building with XDK and Im not getting black screens (for the moment). I wonder whats different.

    Have you tried creating an APK lately though?

    It's either C2 r242 or XDK again.

  • Easier way to do this is using the "Is touching" and "Is in touch" conditions.

  • Could you use the Browser object in C2? Make a button and just say 'On Touch > Browser object close' ?

    I havent tried that so I'm not sure if it works. I just allow users to press the home button to quit out of my game.

    The browser object also has a 'back' action. You could make your own back button too?

    THAT's the broken browser object I'm talking about. Somehow the new APK files get black screen if you have that plugin in your CAPX. I'm looking for an alternative to that one.

  • Hey guys. I just created a new Android APK but when I try to open the game I get a black screen.

    User +emmanuel1100 (shoutout to emmanuel1100) managed to trace the source of the problem to be the InApp Browser Plugin which I had to take out of the CAPX and true enough, the new APK build worked.

    Now this is all fine and good except now I have no way of closing the Game except pressing the "Home" button on my device. Also I want to be able to make use of the 'Back' button on my device.

    Are there any other alternatives to the built-in InApp Browser plugin?

    I tried the cranberry one but it doesn't seem to be able to close the game either. There are also no available conditions for when 'back' button is pressed on that one.

    If not, can anyone suggest other workarounds?

    Thank you.

MPPlantOfficial's avatar

MPPlantOfficial

Member since 17 Feb, 2016

Twitter
MPPlantOfficial has 1 followers

Trophy Case

  • 10-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

15/44
How to earn trophies