Bl4ckSh33p's Forum Posts

  • Hi! The built in timer expressions are great for countdowns but I'm missing days and limiting hours to 24 hours to count down. Right now hours is the biggest value and shows hundred hours instead of days.

    How can I convert the hours to days and change the hour countdown to 0-23?

    (for days I used floor(hoursleft/24))

    Tagged:

  • Hi. I tried to add Google play services to my recent game but it's not like described anymore. I was asked to setup Google cloud services and I'm not sure what to select to make it work for Android exports.

    Maybe the manual / publish tutorial could be updated?

  • Hi. When I published my app to Google Play today I got a warning about the Billing library. Is it possible to update the mobile IAP plugin (and maybe support new things like subscriptions)? Ashley

    I was sent to this link:

    android-developers.googleblog.com/2020/06/meet-google-play-billing-library.html

  • Hi. Is it possible to use links to open specific layouts or do other things in your game on Android exports?

    I know you can use URL params for Web exports. Is this working for apps, too?

    developer.android.com/training/app-links

    Tagged:

  • I tried the new URL with an example and it worked fine. But when I add my own key for my sheet it's still showing CORS errors. Any idea why or how to fix this?

  • I tried the new URL and as I said above it works with the example link I found. But my own sheet is still blocked and showing the error. I don't know why. 😣

  • Thank you! The example someone provided works but when I add my own spreadsheet key I get the same "has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource." error. And with header it says no header allowed.

    Why does it work with the example sheet?

    I tried disabling and re-enabling "publish to web" on my sheet (thats what I used previously) but it does not seem to change anything.

    Example link here:

    My spreadsheet:

    docs.google.com/spreadsheets/d/1sDygGjqldslj9MrDzQRg3JDSiIaEnnkqTvvkeO_eMg8/edit

    Link using Ride Ride method

    docs.google.com/spreadsheets/d/1sDygGjqldslj9MrDzQRg3JDSiIaEnnkqTvvkeO_eMg8/gviz/tq

  • I tried adding the Header beforfe the AJAX request but now I get this:

    Access to XMLHttpRequest at 'x' from origin 'https://preview.construct.net' has been blocked by CORS policy: Request header field access-control-allow-origin is not allowed by Access-Control-Allow-Headers in preflight response.

    I tried posting the C3 code but Copy as Text in the event sheet does not seem to work in r225.

    I used

    Header: "Access-Control-Allow-Origin"

    Value: "*"

  • Hi! I used some CSV data from google sheets and documents in my apps but it's no longer working.

    I tried debugging and found this error in the console:

    Access to XMLHttpRequest at x from origin 'https://preview.construct.net' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

    Is it possible to add this to make it work again?

    Or use header to log in as a user with rights to read?

    And below was this:

    AJAX request to x (tag 'MyTag') failed: ProgressEvent {isTrusted: true, lengthComputable: false, loaded: 0, total: 0, type: "error", …} bubbles: false cancelBubble: false cancelable: false composed: false currentTarget: XMLHttpRequest {readyState: 4, timeout: 0, withCredentials: false, upload: XMLHttpRequestUpload, onreadystatechange: ƒ, …} defaultPrevented: false eventPhase: 0 isTrusted: true lengthComputable: false loaded: 0 path: [] returnValue: true srcElement: XMLHttpRequest {readyState: 4, timeout: 0, withCredentials: false, upload: XMLHttpRequestUpload, onreadystatechange: ƒ, …} target: XMLHttpRequest {readyState: 4, timeout: 0, withCredentials: false, upload: XMLHttpRequestUpload, onreadystatechange: ƒ, …} timeStamp: 0 total: 0 type: "error"

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I used Google sheets to download some CSV data in my apps but its no longer working. It shows some errors and code snippets instead of my CSV data or nothing at all. Did Google change something to block Ajax requests and is there a workaround?

  • It started to work on the published app now. :)

    But how can I use Google Play in my debug apk while testing new changes?

  • Hi! It seems to work in the published app now but how can I use Google Play in my debug.apk when I test it on my phone? I added Testers but I can't connect to google play and on error trigger does not show an error.

    Hi. I linked my app, added client ID and app ID in the plugin properties and published the game project. But sign in does not work in the debug apk or signed release apk from Google Play store. And on error does not trigger to show what's wrong (browser alert).

    It works in my old game. Any suggestions? I use the stable build of C3.

  • Thanks for your reply.

    I hope they keep supporting it. I published a few games on Xbox and want to continue to make games for console. But the discontinued PubCenter is bad for free games.

    Multiplayer and Xbox Plugins are one of the best and my favorites. :)

    newt Which one in Game Pass is made with Construct? As far as I know a few are in IDsem@Xbox and in the "normal" store (not UWP games in creators collection like mine).

  • Really? I did not use visual studio for a while. So if I update I can't create UWP games for Xbox anymore? 😱

  • Are there any plans to add a new (official) plugin for Windows UWP Ads?

    Or is selling it or IAP via the Windows Store plugin the only way to make monea with your game?

    Ads on Windows and Xbox for free games would be great.