Bl4ckSh33p's Forum Posts

  • Seems I found a fix for it.

    Timezone offset was -120 (minutes) so I added this:

    -> System: Set ReleaseDate to Date.Get(2021, 3, 1, 0, 0, 0, 0)+(Date.TimezoneOffset×60000)

  • Hi. I added a timestamp from a date to a variable (April 1 00:00) but the countdown (using difference between end time and now) was 1 hour off and since today it's 2 hours. It's counting to 02:00. But why when I set it to 00:00 midnight?

    PS. I'm in Germany (gmt+1) and the timezone offset showed -60 minutes. But negative would be gmt-1?

  • Hi. Often links I open in an iframe (even with target set for a new window) open "in" my app instead of the default browser or installed app. Is there a way to force opening a new window when using a link in an iframe?

    Tagged:

  • Hi! Later this year google requires you to use the app bundle but how do you use it? Are there any easy tutorials how to make one?

    Or is it possible to make it easier so you dont have to use command line tools etc?

    Like adding the required info to a dialog in Construct when exporting for android (like it has now for building a signed .apk).

    source:

    android-developers.googleblog.com/2020/11/new-android-app-bundle-and-target-api.html

  • Thank you very much for the detailed answers.

    I wanted to use it to display a message on an iframe that you need an internet connection and it set visibility to the loading animation to invisible. Right now if you are offline iframe shows an error with black text on black background and the loafing anim is showing forever.

    And to change a svg icon if online/offline which displays server status.

    Some actions / expressions for iframe would be handy. Like a trigger when loading is complete, or a way to get what URL or code is shown in the iframe. Ashley

    Or a loading progress to show a timeout message after x sec.

  • Hi! Is there a list of not supported features for Android exports? I know about Browser > Downloads not working. And I tried Went Online/Offline conditions today and it seems they are not working on android exports.

    The condition "is Online" seems to work but the Went Online/Offline triggers do not seem to do anything. I tried it a few times and got nothing. (enabled airplane mode to go online/offline a few times)

    /Edit: Just tried it with a short Timer and on Timer > Is Online > X does not work either.

    It works in preview on PC but the exported version does not seem to update the online status.

    But "Is Online" seems to work once at launch cause actions are executed. Is online status not updated on Android exports?

  • And then set color with this huge value I get? Need to try it when I'm back.

    But for now I found a workaround without storing the colir value. Just using the Ajax.lastdata to set it again.

  • Hi! I have a tiled BG and added a Timer Behavior and set it to Global so the timer does not reset on every new layout. But now the tiled BG object is resized and moved when I use the code from the touch pan/zoom example but the layer it's on should not be affected by it. Is this a bug?

    And set Z order to bottom does not seem to work either. I set it on start of layout but sometimes its above the other objects.

    As soon as I remove the Global check it works as expected.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi! It seems there is no way to get the color value of an object so to restore a color after switching layouts etc. I thought it could work with a variable. When you change the color just set it to the variable so you can later use it again and remember which one it had.

    Can you store a color value like rgbEx(x,x,x) in a number or string and use it to apply the color again?

    When I tried it I just got a huge negative number. But that cant be used to apply the color again?

    Tagged:

  • I see. Thanks for the reply. 👍

  • Hi! I switched to my old PC recently and when I worked on my project today I noticed that the option to save my file to local browser storage is no longer present. I can only save as single file, folder project (thats what I use) and Cloud. I use the latest stable release of C3.

    Any idea why browser storage is no longer shown as option? I clicked on the "request permanent storage" link in the info window.

    Tagged:

  • I heard about the modulo operator but couldnt find it last time I searched the manual and never used it. I will try it, thanks!

  • Thanks. But how can I limit the hours to show only 0-23 for every day passing?

  • Thanks! Is it possible to add support for subscriptions?

    Or new ad formats from admob for the ad plugin? Ashley

    Since windows and Xbox exports are removed soon im focusing on Android and more formats or subs would be great.

  • Is this possible? Could not find a solution yet.