Bl4ckSh33p's Forum Posts

  • Hi. The example I used had Keyboard is down to lower the speed.

    I added touch controls and used Is touching object for a brake button. But it does not do anything if I touch and hold the button. But it should break as long as I touch it? Its no single trigger?

    Example Code:

    + Keyboard: ↓ is down

    -> glob: Set roadSpeedMod to clamp(Self.roadSpeedMod + 256×dt,Self.roadSpeed÷6,(Self.roadSpeed÷4)×3)

    + Touch: Is touching BrakeButton

    -> glob: Set roadSpeedMod to clamp(Self.roadSpeedMod + 256×dt,Self.roadSpeed÷6,(Self.roadSpeed÷4)×3)

    Tagged:

  • Hi! I tried to add a mailto: link to an iframe but it seems it does not work on Android exports.

    Is there a workaround or is it a bug which can be fixed?

  • Is the new billing library included in the iap plugin or can you add it? It says I have to add it before creating promo codes for free iap items.

    developer.android.com/google/play/billing/billing_library_overview

    And are there any plans to update it to allow rewarded items and subscriptions? Nepeo

  • Great! But I checked pushwoosh and only 1000 devices are free. Is there a chance to add other services like One Signal?

  • Hi , I tried to add it with one signal and I entered the firebase ID etc (I tried new and old server key) but it does not seem to work. Firebase project does not recognize any connection to their server and I can't receive a notification in my debug apk.

    Can you tell me how you did it please? 🤔

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • A plugin for notifications would be great. Search did not find any in the plugin database. 😔

  • Nepeo does the iap plugin support promo codes? Play console requires to add promotion API before I can create codes for IAP products.

    developer.android.com/google/play/billing/billing_promotions.html

  • There are only about 15 buttons/sprites used but some people sent me a screenshot showing just the black background and no sprites. But I never had this issue when testing.

    Still getting 1 star ratings almost daily cause the app freezes. :(

    PS: same happens when I debug the app in chrome, just iframe is visible no sprites or anything else.

  • Thanks. Is there a problem with "On Pruduct Available" Triggers too? I tried to use it to show the available products on a page but nothing shows.

    I try to use this Product available and a trigger once now, but I cant use MobileIAP.ProductID cause its not in the trigger and I have to add all product strings manually.

    + MobileIAP: Product "adfree_10_2019" available for purchase

    + System: Trigger once

    -> Browser: Log in console: "Product adfree_10_2019 available!"

    ----+ StoreText: ID = "SpecialName"

    -----> StoreText: Set text to MobileIAP.ProductName("adfree_10_2019")

    ----+ StoreText: ID = "SpecialDesc"

    -----> StoreText: Set text to MobileIAP.ProductDescription("adfree_10_2019")

    ----+ StoreText: ID = "SpecialPrice"

    -----> StoreText: Set text to MobileIAP.ProductPrice("adfree_10_2019")

    ----+ PurchaseButton: ID = "adfree_10_2019"

    -----> PurchaseButton: Set Visible

  • Nepeo Sorry. Here is the code I used:

    + System: On start of layout

    -> MobileIAP: Set public key to "longstringoflettersandnumbers"

    -> MobileIAP: Add product ID "adfree_10_2019" with type Non-consumable

    -> MobileIAP: Complete product registration

    + MobileIAP: On store registration success

    -> Browser: Log in console: "IAP Registration SUCCESS"

    -> Functions: Call LoadFiles

    + MobileIAP: On store registration failed

    -> Browser: Log in console: "IAP ERROR: "&MobileIAP.ErrorMessage

    -> Functions: Call LoadFiles

    LoadFiles loads the AJAX files I use and then goes to next layout. I used it on Start of Layout before I added IAP and just added the IAP registration and then the registration success/error triggers to continue after IAP is initialized.

    But it does not continue and just stays at the first layout forever after adding the IAP part. Even after publishing it to internal test branch on Google Play (dont know if it will work on debug apk but if it doesnt work it should trigger on error?) but it's the same as in my local debug apk.

    PS: Any chance to add subscriptions to the IAP plugin? :)

  • Hi. Since I've updated to stable r164 I'm getting several reports of missing nav menu button (sprites on top layer) in my app. I tried to counter it with set z order actions but it did not help and I can't reproduce it on any of my devices. 🤔

    And I'm m still getting frozen app when I leave it running in the background for a while. I'm using iframes and I can still interact with the frame but all other actions like touch to switch layout or flashing sprites are no longer working and the app appears frozen. Almost every day my app gets 1 star reviews cause it's freezing and this fid not happen with the previous stable release.

    I created a bug report for this but Ashley could not reproduce it and console shows no error when it happens.

    Is anyone else having this issues on Android?

    Tagged:

  • Any idea why console says iap ready but neither on success or on error is triggered? 🤔

    What's wrong?

    I added 1 iap item and it's active in Google Play console.

    Ashley

  • Hi. Is there a plugin to create (push) notifications on Android? (working with C3 build service)

    The search did not find any in the plugin database. 😔

    But if the construct game/app is not active its suspended and can't check for new things and notify the user of things happening in the app? 🤔

  • Thanks! I'll try it. 👍

  • How do you create instances of arrays? Ctrl+drag works for sprites and other objects, but arrays are no object in the editor. With System Create object?

    dop2000