[Plugins] Construct2&3 Cordova Plugins

2 favourites
From the Asset Store
The I18N (Translation) is a Construct plugin created to translate text in game.
  • As for consume_on_start_of_layout, How about this

    As for consume_after_purchase, Do you say this?

  • As for consume_on_start_of_layout, How about this

    As for consume_after_purchase, Do you say this?

    Your consume on start of layout won't work (I tested a few variations of what you are doing and it did NOT work, only the 1st consume action work the rest did nothing, product wasn't consumed), because the way C2 processes conditions, the empty one between product1 and product2 has no effect. Events run simultaneously unless they are tiered.

    In your example, event #3 ONLY runs after #2. But #4 and #5 runs also at the same time (in that tic/frame) as #3 after #2.

    Definitely just put

    #2 On store listing success = Consume 1 & wait 0.1 & Consume 2 & wait 0.1 etc

    Because if there's no product, consume doesn't do anything. For consumable/unmanaged IAPs, there's no drawback of a negative result.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • If so

    To support you,

    What I should modify in plugin?

  • Nothing, it's fine.

    I am just letting you know your capx example should be updated since someone may test it and follow the same procedure and cannot figure out why their other products don't get consumed.

  • added two capxs just now

    Thanks very much for your experience sharing.

  • fongka2

    Added "Phonegap File" plugin which you requested.

    See Free section at this post's main page.

    Thanks

  • fongka2

    Added "Phonegap File" plugin which you requested.

    See Free section at this post's main page.

    Thanks

    Thankyou so much!

  • With regards to the Phonegap File plugin, would it be possible to add a feature to add images to a document and save it? Images from a sprite for example.

  • megapowerskills

    Do you mean that insert img tag into html file?

  • I mean to insert images into a doc or similar file and then save the file with images either to the device or perhaps use the share plugin to email the document with images and text.

  • cranberrygame Is it possible to retrieve input from the SoftKeyboard?

    Edit: Also, the LocalNotification plugin seems to have a dependancy for PhoneGapLocalNotification_plugin.js which is preventing Construct 2 preview in browser from working, is there a way to bypass that somehow?

  • cranberrygame

    I am interested only in the IAP & AdMob plugins just like SilverForce, could you cut me the same deal?

    Thank you!

  • megapowerskills

    It is needed to investigate into the point.

    I'll give you a PM then.

    TwinTails

    1.Not possible

    2.Updated plugin bypass Construct 2 preview in browser, so just update.

    goodwill295

    PMed

  • I am not sure exactly the process for restoring purchases for a user.

    Is this the correct process? (* = event)

    * On start of layout

    Add product IDs "IDgoeshere"

    Request store listing

    * On touched "restore_button"

    Restore purchases

    Then the part where I am a little confused is what event to use to see if purchase is restored.

    Should I just do:

    * Has product "IDgoeshere"

    (actions for after purchase here)

    or does it trigger the "on purchase success" event again?

    * On product "IDgoeshere" purchase success

    (actions for after purchase here)

    Thanks

  • cranberrygame Ah, no problem. I downloaded 1.0.11 from the members area but it's not fixed, can you upload the update?

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)