DiegoM's Recent Forum Activity

  • I see. I was asking because recently there was an issue in the bug tracker that looked very similar to what you posted.

    They were using Brave, which turns out has a bunch of features to help with online anonimity, and one of them is garbling image data in imperceptible ways. It obviously didn't play well with image processing.

    I take you don't have any chrome extensions, right?

  • jobel

    What browser are you using?

  • Can anyone confirm if this crash still happens in the latest beta or not?

  • I though of doing something with points along the line, but didn't think it was going to work :P

  • This is a rather uncomplicated way to start of, maybe you can add on top of it to make it do exactly what you want.

    dropbox.com/scl/fi/m8p1unohd0qe43r575qrw/LineInGrid.c3p

    Just ask if there is something you don't understand about it.

  • RandomPixels

    Consider looking at this other thread, construct.net/en/forum/construct-3/general-discussion-7/issues-admob-r276-2-166635

    There is an issue around adverts since r276 which affects some Android Application IDs, unfortunately it is out of our control, but there are a couple of ways around it, if that is the problem you are having.

    dazedangels

    The only reason for banner ads not to be supported is that the library from Google that C3 is using, doesn't support them. Why are they not supported? Not really sure, but my best guess is that they know that interstitial and rewarded ads are way more effective and decided to drop banners because of that.

  • brushfe

    That looks like a bug.

    The way it is implemented, it will always create a folder with a unique name, but I just realised that in the Animations Editor you can in fact, have sub folders with the same name. I must have gotten confused with animations, that do require a unique name.

    So I think it is not necessary for sub folders to be created with a unique name after all.

    Will probably be changing that in the near future.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Oh sorry, a lot of people just don't know the Set Instance action even exists, I just took a quick look at the first post and assumed that was the problem :P

    Anyway, to make it work you need to have a different Play action for each instance. So you need the Create object action, then the Set Instance action and lastly the Play action.

    You then repeat those steps for each unique instance you want to use with the timeline.

  • Look into the "Set Instance" action of the Timeline plugin. You can find information on how to use the action in the manual.

    construct.net/en/make-games/manuals/construct-3/plugin-reference/timeline

    You can also look at the Timeline instances example project in the Start Page for an example on how to use a timeline animation with different instances at runtime.

  • Can you make the file public?

  • There is a sticky topic explaining what is going on.

    construct.net/en/forum/construct-3/general-discussion-7/issues-admob-r276-2-166635

  • Background

    During the last beta cycle an issue with Admob started affecting some Android users. There seems to be a problem with the underlaying Ads SDK by Google because a similar problem has also been happening in other platforms, such a Unity for instance.

    To make things short, Construct needs to wait for the Ads SDK to finish initialization, and for some Android App Ids the SDK never finishes initialization and the app just freezes.

    This issue was reported in our tracker, you can find it here github.com/Scirra/Construct-bugs/issues/5211

    The initialization process is very quick, so to get around this issue, we implemented a timeout of 2 seconds in r273. What it does is very simple.

    If the SDK finishes initialization before the timeout is complete, then everything is ok.

    If the timeout finishes before initialization is complete then we are not sure what is going on, but to keep the app from freezing we assume ads failed to load. In this case the application does not freeze, but ads won't work.

    This is what Construct is doing in r276.2.

    Workarounds

    If you are seeing that ads are not working for you in r276.2, there is a possibility that you have an Android App Id which is causing problems and Construct is not initializing ads.

    We understand that for a lot of people, not freezing and ads not working is not enough, unfortunately there isn't much more that we can do because we simply don't have control over the cause of the problem. So if you are encountering that ads don't work in r276.2 you can try a couple of things.

    Create a new Android App Id and ad units

    Since the problem seems to be tied to certain Android App Ids, in my opinion, the easiest is to just create a new id. Head over to your Admob account and create a new app with corresponding new ad units. Once you have all your new ids, replace them in your C3 project and chances are high they will work.

    Manual patch

    If for any reason, you are not able to create a new Android App Id, you can try applying a manual patch to an Android Studio project export and then generate your APK or App Bundle using Android Studio.

    Follow these steps to apply the patch:

    1. Generate an Android Studio project export

    2. Open the project in Android Studio

    3. Find the file app/java/admob.plus/cordova/AdMob.java

    4. Find the following block of code at line 62

    case Actions.START:
    	MobileAds.initialize(cordova.getActivity(), status -> {
    		helper.configForTestLab();
    		callbackContext.success(new JSONObject(new HashMap<String, Object>() {{
    		 put("version", MobileAds.getVersionString());
    		}}));
     });
     break;
    

    5. Change it so it looks like this

    case Actions.START:
     MobileAds.initialize(cordova.getActivity());
    
     helper.configForTestLab();
     callbackContext.success(new JSONObject(new HashMap<String, Object>() {{
     put("version", MobileAds.getVersionString());
     }}));
     break;
    

    6. Try it in the simulator

    7. Generate APK or App bundle with the patch applied

    Hopefully in the future this issue will be fixed from Google's side and none of this will be needed anymore.

DiegoM's avatar

DiegoM

Member since 24 Apr, 2015

Twitter
DiegoM has 1,424,746 followers

Trophy Case

  • 9-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

15/44
How to earn trophies

Blogs