shepherdgames's Forum Posts

  • Hi,

    Can anyone tell me how to implement video for my mobile game. I exported video file to webm, ogg and mp4 as specified and provided their names in the video plugin. I use XDK to export. I can make the video play in the desktop but when I try that on my mobile it isn't working. I saw few posts in the forums but I didn't found any solution.

    Could anyone help me on this. Give me a step to step process of implementing the video?

    Thanks.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • blackhornet Hi, thanks for responding. The game contains only two purchasable items even the levels increases. the IAPs run in this way.

    On start of layout-> Request store listing

    -> Restore purchases

    On store listing available

    On touch of product 1-> purchase product1

    On touch of product 2-> purchase product2

    Later I added few more lines

    On store listing available

    If product1 not purchased-> On touch of product 1-> purchase product1

    If product1 is purchased-> On touch of product 1-> consume product1

    If product2 not purchased-> On touch of product 2-> purchase product2

    If product1 is purchased-> On touch of product 2-> consume product2

  • I checked the error report on my Developer Console. This is what I got.

    java.lang.IllegalStateException: IAB helper is not set up. Can't perform operation: queryInventory

    at com.smartmobilesoftware.util.IabHelper.checkSetupDone(IabHelper.java:784)

    at com.smartmobilesoftware.util.IabHelper.queryInventoryAsync(IabHelper.java:612)

    at com.smartmobilesoftware.util.IabHelper.queryInventoryAsync(IabHelper.java:641)

    at jp.wizcorp.phonegap.plugin.wizPurchase.IAP$2.onIabSetupFinished(IAP.java:285)

    at com.smartmobilesoftware.util.IabHelper$1.onServiceConnected(IabHelper.java:260)

    I'm not sure what this means. Please help.

  • Hi,

    I'm developing a mobile game, which consists of 280 levels. I don't have any issues with performance on the mobiles till 160 levels but recently I updated the game with 200 levels then the app started crashing. I'm not blaming Scirra for this but this is where I can find android game developers using Construct 2 and I'm hoping to find a solution here.

    I built the app with crosswalk on Intel XDK. It was working fine till 160 levels until I updated the game with 200 levels. I uninstalled the app and reinstalled it. I cleared the cache and data also. I restarted the mobile and checked. After doing all this the game is running smoothly but when I exit it and reopened it, the app is crashing. Also the app is crashing when it is updated.

    Here is the link to the app

    https://play.google.com/store/apps/deta ... hetraveler

    I'm not sure where it is going wrong. Please help.

  • gumshoe2029 Actually, I own a website but I'm not sure of setting database and all. I need help.

  • gumshoe2029 Hey, I don't have any idea on this man. Could you please help me step by step. Thanks.

  • Hi,

    I'm developing a mobile game for iOS, android and windows platforms. It has IAP's where users can purchase items using cash gained in the game or with real money. Now here comes the problem, when a user has purchased an item with game cash, and uninstalled and reinstalled the game the product will not be restored. If it is purchased using real money because the purchase information is stored on the user account, it can be restored. But what the about the item purchased with game cash? How to restore it?

    Is there anyway to save the game information (purchases, cash held and all) online or on cloud per user basis? So that when a user reinstall the game, he/she can get all the purchases, cash held and all.

  • oosyrag I modified the values properly. Now, it is working great. Thank you so much man.

  • oosyrag It is greatly working by reversing the numbers but I got a new problem. The zooming effect isn't going smooth. When I zoom out the layout going to the defined scale factor directly and same thing is happening with the zoom in.

    I just replaced "InitialScale * (TouchCurrentDistance / TouchStartDistance)" to "clamp(InitialScale * (TouchCurrentDistance / TouchStartDistance),minscalefactor,maxscalefactor)" and nothing else.

    Please help.

  • oosyrag

    I have taken the values for min as 1 and max scalefactor to 2, zoom in is happening for a certain limit but after that zoom out is happening in reverse that is when I move both the fingers closer zoom in, instead of zoom out, is happening. What should I do now?

  • oosyrag Hello buddy, could you please explain it in more detail?

  • LittleStain Is there a way to stop the zoom in and out at a certain point? Like the layout will have the zooming effect within a limited scope.

    In the example provided, the layout is zooming out beyond the background image and zooming in unlimited. When I zoom out I can see the background image getting smaller making the white screen visible. I don't want that to happen. Zoom out should not happen beyond the layout (background image) and zoom in should not happen more than half of the layout.

    Is there a way? Please help. Thanks.

  • The position has been filled. Thank you guys for your interest.

  • newt A video will do?