MPPlantOfficial's Recent Forum Activity

  • 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.

  • 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.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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.

  • I have the same problem with that before then i removed the browser plugin and pooof it runs smoothly now.

    You removed the browser plugin only in XDK or in the CAPX file too?

  • You do not have permission to view this post

  • hey mpp did u made ur first game with construct 2 and uploaded to google play?

    if u did i really need ur help and i will even pay i wanna publish my first game toooo...

    I'll help you but for now I have to learn again the best way to export.

  • Graphics and parallax is good. Jump is too high.

    And it's unclear which sprites are obstacles nd which are collectibles.

MPPlantOfficial's avatar

MPPlantOfficial

Member since 17 Feb, 2016

Twitter
MPPlantOfficial has 1 followers

Trophy Case

  • 8-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

13/44
How to earn trophies