Seridian's Recent Forum Activity

  • Hi blackhornet,

    It looks like it's working now.

    Thank you for your quick response!

  • Hey Everyone,

    Can someone advise me of how I can get the x/y position of an object that is contained within a family.

    I am currently using the pick nearest event to select the closest family member to the player character and then setting a variable with the UID of that object, which works fine.

    I then want to get the x/y position of that object using the UID, something like:

    variableX =enemy(UID).X

    variableY =enemy(UID).Y

    Any help with this will be appreciated.

    Cheers.

  • I would also be interested in a response to this question.

    There seems to be quite a bit of lag when spawning bullet objects over the network.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hey Everyone,

    Here is my first game made with construct 2.

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

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

    Check it out and have fun <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    Shaun Mischief Gaming

  • Update.

    My IAP are now working fine, I only needed to replace the "On purchase success" event with the "Has product" event and now it works. All of my other settings remain the same.

    I hope this post helps others, good luck guys and thank you for the help Kyatric

  • Hey Kyatric,

    Thanks for the info, I'll take a look and report back

  • Hey Everyone,

    I am having a bit of trouble with the native IAP plugin which I hope one/some of you more experienced users will be able to help me with.

    Background

    I have created a simple game that I want to release with IAP’s to remove the Ads, pretty standard.

    I am using:

    • Construct 2 r218.

    • Official IAP plugin

    • Intel XDK (fully up to date on making this post)

    o Android InAppBilling (com.mcm.plugins.androidinappbilling)

    o Google Play Services for Android (com.google.playservices)

    o Phonegap Admob plugin (com.cranberrygame.phonegap.plugin.ad.admob)

    o Device (cordova-pligin-device)

    I have created a beta test app on google play and registered the in app purchase ID’s.

    When I publish the app in closed beta and install it on my phone the price of the IAP is not displayed, using Set text to “”&IAP.ProductPrice(“supportdev1”), and the On purchase success and the Has product “supportdev1” do not work.

    I have created text objects to monitor what is happening during game play on the phone and these events are never triggered, however I can purchase the product and the On store listing success is working.

    However, due to the triggers not working the ads are never removed. I have been stuck for 1.5 wks trying to sort this out and I believe I have read all the construct 2 tutorials and forum posts. So any help will be very must appreciated!

    You can see my logic below:

    On start of layout >> IAP > Add product IDs “supportdev1”

    >>IAP > Request store listing

    IAP > On store listing success >> Restore purchases

    >IAP > Has Product “supportdev1” >> System > Set IAP_Made to 1

    >> LocalStoreage > Set item “IAP_Made_Key” to IAP_Made

    IAP > On store listing success >> SupportDev1_Text > Set text to “”&IAP.ProductPice(“supportdev1”)

    >> Store_Available_Indicator_Text > Set Text to “Is Store Available: “&Display_IAP_Prices

    >> System > Set Display_IAP_Prices to “Yes”

    System > Display_IAP_Prices = “No” >> SupportDev1_Text > Set text to “…”

    Touch > On tap gesture on button >>

    IAP > Is store available >> IAP > Request store listing

    >> IAP > Purchase product “supportdev1”

    >> Purchase_Made_Indicator_Text > Set text to “IAP Made: “&IAP_Made

    On product “supportdev1” purchase success >> IAP > Restore purchases

    >> System > Set IAP_Made to 1

    >> LocalStorage > Get item “IAP_Made_Key”

    >> Purchase_Success_Indicator_Text > Set text to “Purchase Success”

    LocalStorage > On item “IAP_Made_Key” get >> LocalStorage > Set item ”IAP_Made_Key” to IAP_Made

    --------------------------------------------------------------------

    To see this all working in action checkout my game:

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

Seridian's avatar

Seridian

Member since 18 Jul, 2015

None one is following Seridian yet!

Trophy Case

  • 9-Year Club
  • Email Verified

Progress

10/44
How to earn trophies