shepherdgames's Forum Posts

  • rexrainbow Hi, thanks for all your contributions. It's really a great job on developing all those plugins. I have a question does this plugin work on mobile apps? I would like to setup user login with my game. If yes, do I need to add plugin in Intel XDK? (I build game on Intet XDK).

  • no i never got it working. This isn't a reflection on the plugin. I just had to move to another project and my attempts to get it working with mix panel ceased.

    Sang Ki did make a mixpanel and appsflyer plugin, though I'm not sure if it has been maintained, but may still work. If you reach out to Sang Ki, he should know the answer to that. I'm coming back around to this question though myself as I look ahead at some games I would like to publish this year. I'll let you know if I find out anything new.

    Sure. Thanks. I will contact him. All the best with your game. I wish you success.

  • Problem Description

    ____ I built a game for iOS. I tested it on iPhone 6s, iPhone 7 and iPad Air. The game has few videos that are to be played only one time. In order to make this work I used localstorage to identify whether a video is played for the first time. The first video is playing only one time but the rest are playing every time I launch the app. Not only videos but also all the scores are being whipped out.

    I used the same events for android, there it is working fine. I'm not sure where it went wrong for iOS. The game doesn't contain any third party plugins even. At first I built the game for android after resolving all the bugs I built it for iOS. Everything is fine and smooth on android but I'm facing problems with iOS.

    All the devices are running on 10.2.1 version.

    ____

    Attach a Capx

    ____ https://drive.google.com/file/d/0B9wfZG ... VYZWM/view ____

    Description of Capx

    ____ The Capx consists of a two videos, 20 levels, instruction screens with localstorage assigned to store values for score, stars and check whether video is played for the first time. It consists of basic events, which are same for all the remaining levels (whole project). All the values are retrieved from the localstorage and assigned to global variables on the MainMenuScreen event. All the events work based on the values of global variables.____

    Steps to Reproduce Bug

    • Step 1 - This should be tested on an Apple device (iPad or iPhone).
    • Step 2 - Run the game and try few levels in Green Leafy Planet. All the values will be saved to the localstorage at end of every layout.
    • Step 3 - Once the game is run through few levels, close and reopen the game.
    • Step 4- Once again repeat step 2.

    Observed Result

    ____ Once you run Step 4, the game will starts without the first video then will go to the MainMenu screen and check the stars on left-top of the screen, you will not get any stars that are collected in the previous session. Then go to planets selection screen by clicking play. When click on Green Leafy planet, you will find all the instruction screens appearing just as in the previous session. Then when you select a level, you will find all the instruction screens appearing just as in the previous session.____

    Expected Result

    ____ Once you run Step 4, you should not get any videos or instruction screens appearing. The game should start without the first video then should go to the MainMenu screen and should retrieve stars collected in the previous session. Then go to planets selection screen by clicking play. When you click on Green Leafy planet, you should directly go to the Map screen without any instruction screens. Then when you select a level it should go directly to a level without any instruction screens. ____

    Affected Browsers

    • Chrome: (NO)
    • FireFox: (NO)
    • Internet Explorer: (NO)

    Operating System and Service Pack

    ____ Windows 10 ____

    Construct 2 Version ID

    ____ Construct 2 r239 ____

  • Oh, right - I missed the .capx. Can you post that to the bugs forum following all the guidelines? That is the standard way of dealing with issues like this.

    Sure. I will do that right away. Thanks alot.

  • Ha, are you kidding? Safari 5.1.7? That is the last version before Apple retired Safari on Windows five years ago, right? Nobody uses that any more and it's not useful for testing - I'd avoid using it at all!

    I did test on iOS 10.2.1 and it worked fine. I think you'd best follow the guidelines for a bug report to investigate this further, i.e. create a minimal .capx that reproduces.

    "Ha, are you kidding? Safari 5.1.7?" I didn't know this. Okay fine I will not use this browser for testing.

    I shared the .capx already in the previous post. If you test that and found no bugs then it is really strange for me. I'm not sure what is causing me the issue. Looks like I'm on my own on this.

    Anyways, thanks alot for your time.

  • What version of Safari is that? Are the iOS devices old? What version are they running?

    Safari version - 5.1.7

    My iPad is an old device but I also tested the game on iPhone 6s and iPhone 7 as well. It gives me the same result. All the devices are running on 10.2.1 version.

  • > No. It should work. That's all I can say unless you provide a minimal .capx.

    >

    Okay then I will once again check the events thoroughly. If the problem still exists I will share you the .capx. Thanks alot.

    Hi Ashley,

    I checked the events once again, built the app and tested it on iPad but unfortunately the problem still exits. I used the same events for android, there it is working fine. I'm not sure where it went wrong for iOS. When I tested the game on safari browser this is what I get.

    I don't have any issues on any other browser, where the game running is smoothly. The game doesn't contain any third party plugins even. At first I built the game for android after resolving all the bugs I built it for iOS. Everything is fine and smooth on android but I'm facing problems with iOS.

    Here is the .capx. I reduced the game size inorder to make you download it easily.

    https://drive.google.com/file/d/0B9wfZG ... sp=sharing

    Please let me know if I miss anything.

    Thanks,

    Sudeep

  • cranberrygame Could you please help me resolve the issue. Thanks.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • No. It should work. That's all I can say unless you provide a minimal .capx.

    Okay then I will once again check the events thoroughly. If the problem still exists I will share you the .capx. Thanks alot.

  • I just tested Local Storage on iOS 10.2.1 and it worked fine.

    Are you sure it isn't just a mistake in your events? This is why in bug reports we ask for a minimal .capx demonstrating the issue.

    Thanks Ashley for responding. I tested it on android as well. It is working fine on android. I'm not sure why it isn't working on iOS. Is there anything that I need to do?

  • Hi,

    Is there a plugin for AppsFlyer? I found one in cranberrygame but I didn't have the link to github repository to add it in Intel XDK. Does anyone know a way to make it work?

    Thanks.

  • Hi,

    I built a game for iOS. I tested it on iPhone 6s and iPad Air. The game has few videos that are to be played only one time. In order to make this work I used localstorage to identify whether a video is played for the first time. The first video is playing only one time but the rest are playing every time I launch the app. Not only videos but also all the scores are being whipped out.

    Is there a way to solve this? I updated the iOS to 10.2 on both the devices.

    It works fine on android.

    Please help.

  • Did you resolve the problem? I'm facing the same issue. I tested my game on iPhone 6s and iPad Air. The game has few videos that are to be played only one time. In order to make this work I used localstorage to identify whether a video is played for the first time. The first video is playing only one time but the rest are playing every time I launch the app. Not only videos but also all the scores are being whipped out.

    Is there a way to solve this? I updated the iOS to 10.2 on both the devices.

    Please help.

  • part12studios Did you succeed in integrating Appsflyer cranberry plugin? I'm using Intel XDK, it is required to add the plugin in it but I don't have the github link of the plugin. Do you have the plugin link? If you know anything about this please help.

    Thanks in advance.

  • bambo That's a nice idea. I will try that. Thanks.