Bl4ckSh33p's Forum Posts

  • Thanks, seems it was a Google problem. After submitting a new version built with latest C3 version and requesting someone to check it (which takes usually 1 week) banners showed up again after only a few hours.

    But I don't know why I get a warning for breaking rules when they break something. :/

    I use the small minification option usually.

  • Tried to enable and disable Test mode for Mobile Ads but even in testmode no ads are shown. Testmode should work even if ad serving is limited, right?

  • I launched the app a few times and got a test ad! But it vanished again. Any idea why?

    In about 20 tries I got an ad 2 times.

  • I tried debugging again and opened the console in chrome and got some ad errors.

    main.js:22 [C3 runtime] Worker mode is enabled and supported, but is disabled in WebViews due to crbug.com/923007. Reverting to DOM mode.

    RuntimeInterface main.js:22

    blob://:1 Failed to load resource: net::ERR_FILE_NOT_FOUND

    main.js:269 [C3 IAP] Initialising

    7f97443e-a9e0-43fc-9cee-772895de03df:3102 Made with Construct 3, the game and app creator :: construct.net

    7f97443e-a9e0-43fc-9cee-772895de03df:3102 [C3 runtime] Hosted in DOM, using module scripts, rendering with WebGL 2 [Mali-G76] (standard compositing)

    main.js:269 [C3 IAP] Registering product "adfree"

    main.js:269 [C3 IAP] store ready

    7f97443e-a9e0-43fc-9cee-772895de03df:3330 [C3 advert] Event (configuration complete Error () Type () Amount (0))

    main.js:123 Unrecognized feature: 'allow-popups'.

    CreateElement main.js:123

    main.js:123 Unrecognized feature: 'allow-forms'.

    CreateElement main.js:123

    main.js:123 Unrecognized feature: 'allow-scripts'.

    CreateElement main.js:123

    main.js:123 Allow attribute will take precedence over 'allowfullscreen'.

    CreateElement main.js:123

    jquery-background-area.js:855 The deviceorientation events are blocked by permissions policy. See github.com/w3c/webappsec-permissions-policy/blob/master/features.md

    (anonymous) jquery-background-area.js:855

    12Failed parsing 'srcset' attribute value since its 'w' descriptor is invalid.

    Failed parsing 'srcset' attribute value since its 'w' descriptor is invalid.

    ...

    12Dropped srcset candidate "<URL>"

    Dropped srcset candidate "https://image.jimcdn.com/app/cms/image/transf/none/path/sf493ba6d50dc630c/image/i117a062d605b50d6/version/1573234914/image.jpg"

    Dropped srcset candidate "https://image.jimcdn.com/app/cms/image/transf/dimension=4000x3000:format=jpg/path/sf493ba6d50dc630c/image/i117a062d605b50d6/version/1573234914/image.jpg"

    ...

    main.js:45 Rejection from 'advert' handler 'CreateBannerAdvert': banner ad failed to load

    (anonymous) main.js:45

    main.js:45 Rejection from 'advert' handler 'CreateInterstitialAdvert': interstitial failed to load

    (anonymous) main.js:45

    7f97443e-a9e0-43fc-9cee-772895de03df:3330 [C3 advert] Event (failed to create banner Error (banner ad failed to load) Type () Amount (0))

    7f97443e-a9e0-43fc-9cee-772895de03df:3330 [C3 advert] Event (failed to create interstitial Error (interstitial failed to load) Type () Amount (0))

    Is this a problem with the plugin or admob not serving ads? But they sent me a warning that ads are not showing in the app. Ashley

  • Hi! I got a AdMob wearning that content is hiding ads in one of my apps.

    I didnt update it for about a year and thought it may be cause the mobile advert plugin was outdated.

    I opened the project in the latest stable C3 version and made a new debug build but I'm still unable to see the ads. Any idea why it's no longer working? It works in my other apps so I dont know what it could be.

    I used this simple code for the Ads (plugin properties are set to app and publisher ID)

    + System: On start of layout

    ----+ MobileAdvert: [X] is showing banner

    ----+ System: Is ShowAds (True by default, false if IAP item is bought)

    -----> MobileAdvert: Create banner advert "ca-app-pub-xxxxxxxxxx/x" size: Smart portrait position: bottom show: true

    ----+ MobileAdvert: [X] is interstitial loaded

    ----+ System: Is ShowAds

    -----> MobileAdvert: Create interstitial advert "ca-app-pub-xxxx/xx" show: false

  • I thought the subscriptions just need to check if the user is subscribed (true/false) and Google stores it? 🤔

    Subscription would be great. I'm focusing on Android and use the ad and IAP plugins.

    Are there plans to add other ad formats like the new startup ad?

    But I don't like third party addons. Had too much issues in the past with plugins for construct and other apps. Sometimes they stop developing or fixing them.

  • Hi! On Admob are settings to add multiple networks for different ads with different payments. Does the mobile advert plugin support other ads configured via the admob website or just the AdMob network?

    And there are new bidding options (beta) where ads "bid" and the one with the highest bid is shown to maximize how much you earn.

    Are there any plans to add these new options to the plugin?

    regards

    Tagged:

  • I don't see the warning in my exports. 👍

    But any chance to get a plugin update to support subscriptions?

  • Oh, did this change? Last time I tried to use it it had no signed option. I'll try it when I'm back. 👍

  • Yes, Android has the app bundle option in Export. But it seems it requires installing some dev tools and using command line to sign files.

    Would be great if this could be built into Construct. Ashley

  • I see, thanks!

    Maybe Ashley can add this for Dictionary and Arrays? Or is there a special reason why it's not there for these objects?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • yes, Runtime is set to construct 3 in advanced project settings. :/

    Do you use a beta build?

    I used the instance variable and could reduce the code to this with a family:

    + System: Pick SkillPlanners by evaluating SkillPlanners.ID=SelectedSkillPlanner

    ----+ Hotspot: SkillLink = "Trickster"

    -----> Browser: Go to SkillPlanners.Trickster in a new window ("NewWindow")

    ----+ Hotspot: SkillLink = "Technomancer"

    -----> Browser: Go to SkillPlanners.Technomancer in a new window ("NewWindow")

    ----+ Hotspot: SkillLink = "Pyromancer"

    -----> Browser: Go to SkillPlanners.Pyromancer in a new window ("NewWindow")

    ----+ Hotspot: SkillLink = "Devastator"

    -----> Browser: Go to SkillPlanners.Devastator in a new window ("NewWindow")

    Thank you very much.

  • Its not there for me. AsJson, Count, IID etc. but no object name. I use the latest stable C3.

  • Thanks, just tried it but I cant find the ObjectTypeName="x". Its not in the list and brings up an error.

  • Hi! Is it possible to use a string in a variable to pick an object?

    I have 2 Dictionary objects and want to select them by name, but the name is stored in a variable.

    Is this possible? Or do I have to write the code for every object?

    As workaround I just added a new "ID" instance variable to compare but im curious if it works without it.

    Or can you use the content of another objects instance variable to select the variable of another object?

    Like this: Dictionary.(OtherObject.InstanceVar)?

    So I dont have to write several lines for every possible entry.

    Like this:

    + Hotspot: SkillLink ≠ ""

    ----+ System: Pick Breadbuilder by evaluating Breadbuilder.ID=SelectedSkillPlanner

    --------+ Hotspot: SkillLink = "Trickster"

    ---------> Browser: Go to Breadbuilder.Trickster in a new window ("NewWindow")

    --------+ Hotspot: SkillLink = "Technomancer"

    ---------> Browser: Go to Breadbuilder.Technomancer in a new window ("NewWindow")

    --------+ Hotspot: SkillLink = "Pyromancer"

    ---------> Browser: Go to Breadbuilder.Pyromancer in a new window ("NewWindow")

    --------+ Hotspot: SkillLink = "Devastator"

    ---------> Browser: Go to Breadbuilder.Devastator in a new window ("NewWindow")

    ----+ System: Pick Outridersbuilder by evaluating Outridersbuilder.ID=SelectedSkillPlanner

    --------+ Hotspot: SkillLink = "Trickster"

    ---------> Browser: Go to Outridersbuilder.Trickster in a new window ("NewWindow")

    --------+ Hotspot: SkillLink = "Technomancer"

    ---------> Browser: Go to Outridersbuilder.Technomancer in a new window ("NewWindow")

    --------+ Hotspot: SkillLink = "Pyromancer"

    ---------> Browser: Go to Outridersbuilder.Pyromancer in a new window ("NewWindow")

    --------+ Hotspot: SkillLink = "Devastator"

    ---------> Browser: Go to Outridersbuilder.Devastator in a new window ("NewWindow")