Phoenixbowman's Forum Posts

  • No one knows what's going on? The game just crashes. If the Cranberry IAP plugin is broken is there another IAP plugin that's compatible with Construct 2?

    I do Request Store Listing and add products and it crashes. Unless i have to take out Request Store Listing and just add products.

  • Here is the code. I modified it. Will this work?

    http://imgur.com/a/P29k8

  • Anyone? Bueller? No one knows why the IAP is crashing the game? I did Request Store Listing, add products, and on Click buy Product. IDK why it's crashing. I know you need to request store listing and add product IDs before anything can be bought, and I did that.

  • If it helps, here is the Crash Report from Google, When the game crashed I did a Report:

    "ava.lang.IllegalStateException: IAB helper is not set up. Can't perform operation: launchPurchaseFlow

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

    at com.smartmobilesoftware.util.IabHelper.launchPurchaseFlow(IabHelper.java:374)

    at com.smartmobilesoftware.util.IabHelper.launchPurchaseFlow(IabHelper.java:340)

    at jp.wizcorp.phonegap.plugin.wizPurchase.IAP.buy(IAP.java:348)

    at jp.wizcorp.phonegap.plugin.wizPurchase.IAP.access$200(IAP.java:43)

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

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

    at android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java:1223)

    at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1240)

    at android.os.Handler.handleCallback(Handler.java:746)

    at android.os.Handler.dispatchMessage(Handler.java:95)

    at android.os.Looper.loop(Looper.java:148)

    at android.app.ActivityThread.main(ActivityThread.java:5491)

    at java.lang.reflect.Method.invoke(Native Method)

    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:728)

    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)"

  • Bump for crash from IAP code. I did Request Store Listing, Add Products, and buy Product ID. I'm not sure why the game is crashing. and I do have it uploaded into Alpha in Google.

  • I set it so Click a button, Request Store listing and purchase product, but when I click the button it says "Unfortunately, my game has stopped."

    On start of layout I have Request Store listing and Add Product ID's. And I do have the Cordova IAP added into Intel XDX and I do have the products set up in the Google Developer Console.

    On start of Layout > Request Store Listing and Add products

    Click button > Request Store listing and Purchase Product "Product ID"

    I have Request store listing on click button in case the person isn't connected to the internet when they get to the layout. Like if they aren't connected to the internet at first, if they get connected to the internet they can click the button and the store listing can be requested then

  • You have to get a Cordova plugin I believe. One of them is an IAP plugin. This lets you integrate with the Google Play Store.

  • The code is identical to the 8-direction .capx. What I don't get is why the joystick I made is immovable and the one in the 8-direction .capx is, and both codes are identical.

  • I do have a second circle that's supposed to be the static one, what I don't get is the code is exactly the same but when I click and try to drag my joystick it won't move.

    Here is the 8-direction .capx I did the code exactly the same.

    http://dl.dropbox.com/u/36472942/constr ... _only.capx

  • http://imgur.com/a/Q0Ebr

    I downloaded the .capx for an 8-directional joystick. I put in my own objects of course but the code is identical, and Touch is set to accept the Mouse, but when I click and try to drag the joystick in my game it doesn't move. The names are different but the code of Touch and move is the same

    It's the "Revision with 8dir and using only the touch object with "Use mouse input" set to yes."

    I'm not sure what i'm doing wrong, sorry. I did the code exactly the same but the joystick in my game won't move. Sorry.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • FIxed the "Drifting", I set Max speed, acceleration, and deceleration to the same number.

  • FIxed the "Drifting", I set Max speed, acceleration, and deceleration to the same number.

  • Sorry I just found this, sorry to bother you with all of those questions.

    I got the 8-direction .capx here by Kyatric

    "Thu Apr 26, 2012 9:22 am

    Revision with 8dir and using only the touch object with "Use mouse input" set to yes.

    Still does the job "

    I tweaked it. I set speed to 0 when not being touched, but the object will sometimes "drift" even when the joystick isn't being touched.

  • Sorry I just found this, sorry to bother you with all of those questions.

    I got the 8-direction .capx here by Kyatric

    "Thu Apr 26, 2012 9:22 am

    Revision with 8dir and using only the touch object with "Use mouse input" set to yes.

    Still does the job "

    I tweaked it. I set speed to 0 when not being touched, but the object will sometimes "drift" even when the joystick isn't being touched.

  • I got the 8-direction .capx but the joystick only makes the object move in 4 directions. I'm confused it says 8-direction, but i tried moving the joystick diagonally but the object won't move diagonally.

    Never-mind, I got it! It works in all 8. I added code so when the joystick isn't being touched set speed to 0, but the object "drifts". Like the joystick isn't being touched but the object drifts ever so slightly.