sizcoz's Forum Posts

  • Can confirm advanced minification is broken, but simple minification works.

    Also if adding firebase in android studio you have to change manifest.xml, and rebuild, because merge is broken.

    Search <property> in manifest and add

    tools:replace="android:resource"' to <property> element at AndroidManifest.xml to override.

    Can confirm this fix works.

  • Quick update

    Just celebrating 100,000 installs on google play.

    Snake in the Grass

  • Something like.

  • {"foo": "bar"}

    Json-for each entry in "items", System-Set Key to Json.CurrentKey

    Returns foo.

    You could also use this format.

    {"foo": [{"bar":"bar1"}]}

  • Hi, thank you very much, it will be very helpful, I tested it and had a little fun, I think creating a snake like the one I mentioned in the image with different dimensions from the head to the tail must be very complex.

    I made an App doing that https://play.google.com/store/apps/details?id=com.sizzgames.snakeinthegrass

    Subscribe to Construct videos now

    If I remember rightly, it wasn't that complicated.

  • I made this 7 years ago 😮, maybe you could adapt it.

    https://www.construct.net/en/tutorials/snake-events-1005

  • As far as I know the second parameter in tokenat must be number

    would you explain what is the second parameter(background) and how it would pick the dragonfly?

    oops, I was in a hurry and forgot to change the variable, anyway I have updated it.

    Anyway what I was trying to point out, is that you can use a variable in tokenat to set the animation that you want, if they are referenced in numerical order.

    tokenat(src, index, separator)

    Return the Nth token from src, splitting the string by separator. For example, tokenat("apples|oranges|bananas", 1, "|") returns oranges.

  • You could use something like this

    This example would pick the dragonfly animation

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The only way at the moment is to export to Android Studio and add firebase to your project, then build from there.

  • This is a known issue.

    https://www.construct.net/en/forum/construct-3/general-discussion-7/android-studio-gradle-wrapper-171411?kws=

    Haven't tried, but I think it was fixed in the last Beta.

  • sizcoz DiegoM can confirm this is still happening. For my most recent apps none is reporting the User Metrics mentioned above. For apps that i published in 2018 they are working fine. There must be something wrong with the way Mobile Advert plugin is implemented, or maybe the Cordova Exports?

    Hi, Yes I ended up having to add firebase analytics in Android studio.

  • Thats not the best way of "fixing" it.

    I guess you are using Mobile Advert plugin? That plugin uses an old version of a cordova plugin, that uses Admob sdk 20.3

    androidx.work:work-runtime:2.7.0 was added in Admob 20.4.

    So instead of manually adding work-runtime to the gradle you should just set Admob to 20.4 (or above!) and do a re-sync.

    For those who build with the CLI they can just change admob cordova version o 1.27 (wich uses an admob sdk with the fix included).

    Notes are here: developers.google.com/admob/android/rel-notes

    I am only using the C3 build, which if you don't use Android Studio will crash all Android 12 devices.

    BTW thanks for the advice I appreciate it, what I meant by this is most C3 users only use the C3 build then upload to the play store, so if C3 is using an older Admob version then, this will crash all Android 12 devices.

  • Quick Update , I have added a Rewarded hint system, for those who are finding it hard to complete some categories.

  • Just a side note, with the latest C3 beta build, All Android 12 users will Crash with this error,

    Fatal Exception: java.lang.IllegalArgumentException:Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent.

    Strongly consider using FLAG_IMMUTABLE, only use FLAG_MUTABLE if some functionality depends on the PendingIntent being mutable, e.g. if it needs to be used with inline replies or bubbles.

    In Android Studio

    The working fix to this is to add to the Build.Gradle(Module:) File in Dependencies

    implementation "androidx.work:work-runtime:2.7.1"

    Seems to fix it for me, for now.

  • Still getting this error Minimum supported Gradle version is 7.3.3. Current version is 7.1. If using the gradle wrapper, try editing the distributionUrl

    Anybody know how to solve this?

    Solved

    Had to download the latest Gradle and point Android Studio to the Folder.