BigBuckBunny's Recent Forum Activity

  • I don't have an Android TV so I'll just share some things you could try.

    This is the list of the supported audio formats for Android TV. You may want to try other formats that are also supported by Construct (ex: FLAC), even though Construct converts them to WebM so I don't think that would change anything.

    An old issue on Github suggests that there may be some kind of issue with HRFT mode / latency hint, so you could try changing those (you can find them in the Audio object properties).

    Additionaly, you could try converting the audio from stereo to mono, or EQ-ing your track to reduce sub-bass and stereo width.

    You could also try and see if playing a video from Construct also has audio issues, just to make sure.

  • Based on the error details, it seems you're trying to call something as if it were a function, but it's not. Unfortunately, I can't provide more info because the link you shared is private. Please make it public so others can access its contents without needing authorization.

  • You can access instance variables from instVar. In your case you should do something like this to get the Health instance variable:

    runtime.objects.Box.getFirstPickedInstance().instVars.Health
    
    

    This code implies that you first select the Box you're targeting from events.

    Ex: on tap on Box ->

    const health = runtime.objects.Box.getFirstPickedInstance().instVars.Health
    
  • Writing to confirm that it was an issue with the Paid Apps Agreement and account configuration.

    After signing the Paid Apps Agreement, you have to add at least one bank account and fill in the tax forms. I am not the manager of the account that I'm using so I had to contact the account owner in order to get these things done.

    The code setup is fine :)

  • Writing for anyone who might stumble across this in the future.

    Consent for AdMob GDPR message is provided as a string of "1" and "0" called IABTCF string. When you tap "Accept", this string becomes "1111111111", when you tap "Reject", it becomes "0000000000", and when you individually specify the privacy options through the menu, each character becomes 1 if you tick the corresponding option, and 0 if you don't.

    The problem is that, since we are using Google UMP SDK, we really can't access that string from Costruct (even by using javascript), so we need a Cordova plugin that can pass that information to Construct via an addon. Fortunately EMI INDO made an addon called "AdMob pro" which provides a way to get the IABTCF string using one of his Cordova plugins.

    I'll share the code I used as a reference to anyone who has the same problem:

    It's not the best thing in the world, but I had some problems with identifying when consent changed, so I opted for this solution instead, which gets the job done.

    Keep in mind that you'll have to build your game manually for this to work. To do this you'll need Android Studio, Gradle, JDK and possibly other stuff. Once you're all set up, export your project as a Cordova project, extract the zip, locate the extracted folder and run cmd in that folder. Then run

    cordova platform add android

    And when that is completed, store a copy of your keystore somewhere on your computer, and in cmd type

    cordova build android --release -- --keystore=PATH_TO_KEYSTORE\keystore.jks --storePassword=PASSWORD --alias=KEY_ALIAS --password=PASSWORD --packageType=bundle

    After everything is completed, a message should pop up in your terminal indicating the location of the generated signed .aab file.

    Hope that helps :)

  • By default, does Construct 3 Cordova export use ProGuard to shrink / obfuscate / optimize code? Ashley

    I'm having issues with Google Play review process because of crashes that I cannot reproduce from internal testings, and online many developers say that often ProGuard obfuscation can break stuff, so I wonder if this is the case with Construct 3 exports (although I'm using Cordova export and building locally, so I don't think this is the case, or at least Construct isn't the issue)

    Tagged:

  • You can compare an instance against itself using scripting, which is supported in the first version.

    I made a working example for you:

    Project file: dropbox.com/scl/fi/zd8tul71sustcxvbt98t5/Socks.c3p

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • That looks promising. If you want share an example project, I could take a look later :)

    You'll probably need some kind of custom editor to edit and save the various shapes later on.

  • Does your project use scripting? It seems like there are some issues at the moment, so keep an eye on it.

    You could also try to export using older versions of Construct to see if the issue persist.

    If you find something let me know :)

  • Can you show your code so that we can take a look?

  • I reported the issue here github.com/Scirra/Construct-bugs/issues/8513

    If you have functions in your code that run script blocks, and these functions are disabled, the project breaks.

  • Have you tried pasting your text to a Drawing Canvas and using the canvas to perform the animation? At that point you just need a tween "width" to achieve the result I think you want.

    Something like this maybe:

    dropbox.com/scl/fi/96zurrjeyf1yvvqwtyfhn/TurnPage.c3p

BigBuckBunny's avatar

BigBuckBunny

Member since 14 Oct, 2018

Twitter
BigBuckBunny has 1 followers

Trophy Case

  • 6-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

11/44
How to earn trophies