Ashley's Recent Forum Activity

  • You do not have permission to view this post

  • I would like to change my site appearance when certain games event occurred.

    You can do that even if the game is in an iframe. JavaScript APIs like postMessage() let you send messages between the iframe and its parent frame.

  • It's actually a difficult problem to solve in general: imagine a tiny gap in a wall with a large object behind it. How do you tell if you have LOS to the large object behind the wall? You'd need to check hundreds or possibly thousands of points distributed across the large object to see if you have LOS to any of them, which is probably too costly to do for performance. So the best thing to do is probably just pick a few key parts of the object with image points and check LOS to any of those.

  • Well, JavaScript lets you attach extra properties to any object, so the fact that a property named extra is no longer in the C3 runtime shouldn't stop you - you can just put extra properties directly on the object (so long as the names are unique). However I would advise to use a WeakMap instead, as a better and more modern way of tracking custom state with other objects in JavaScript. You can use the object you want to add state to as a key, and an object with all your custom properties as a value, and because it's a weak map your custom state will get garbage collected at the same time as the other object and so not leak memory.

  • I think we saw similar such reports around the Android 12 update, and the conclusion was it's a bug in Google's reporting code. Now the splash screen counts toward the startup time when it didn't used to, and so that is incorrectly added to your startup time, which makes the stats look wrong. Only Google can fix their reporting. However this happens with no actual change to the app startup time so users won't notice anything wrong.

  • The booleans true and false are written lowercase in JavaScript. If you're new to JavaScript I'd recommend taking the Learn JavaScript in Construct course which covers the basics such as this.

  • Construct 2 sales were retired in 2020 and it has not been available since then.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I'm afraid this sounds like an issue with your SSL certificate, which is entirely in your hands - it's difficult for anyone else to help with server/networking configuration, which is why it's best to rely on the existing official signalling server unless you are already knowledgeable about running Internet services.

  • The 2023 suggestions platform is now open! See the updated original post in this thread.

    Please note:

    • As planned, the new suggestions platform is starting from scratch. We intend to run suggestion platforms for a year before starting over the following year.
    • The old suggestions platform will no longer be monitored.
    • As an experiment, this year we are allowing unlimited voting. However please be aware that we only have the resources to implement a small number of suggestions. Spending hours voting on hundreds of features does not change that.
    • Suggestions that do not meet the requirements will not be considered.
    • Suggestions posted in this forum thread will not be considered.

    If the build server itself was causing the disconnects, it would probably be happening to everyone. But it's not.

    Unfortunately we can't be sure from this information what the problem is. But it may be a problem with the Internet connection in your area. If that's the case then I'm afraid it's unreasonable to ask us to investigate or fix the problem. It's simply out of our control and it's impossible for us to help, no matter how much anyone insists we deal with it.

    I would instead suggest that the next best place to go to for help would be your ISP. If there is indeed a problem with the network in your area, they may be able to identify what's going on, and if the issue is with their network they would be the ones who can resolve it.

    If the problem really was with the build server, then likely everyone would be having the same problem. But that's not the case. It seems the build server is working fine for almost everyone, but not for you.

    Generally this is good evidence that there's a problem with your specific system or Internet connection. I'm afraid it's extremely difficult to help with that though - it could be anything from firewall software to ISP-imposed filtering rules. All anyone else on the outside can do is guess.

    If for whatever reason you can't access the build server, there is the option of using the Cordova CLI as an alternative.

  • FWIW, setInterval can be used in workers too, but window is not defined in workers. You should follow the advice to always refer to the global object with globalThis instead of window to avoid such problems.

Ashley's avatar

Ashley

Early Adopter

Member since 21 May, 2007

Twitter
Ashley has 1,427,027 followers

Connect with Ashley

Trophy Case

  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Forum Wizard Made 5,000 posts in the forums
  • Forum Unicorn Made 10,000 posts in the forums
  • Forum Mega Brain Made 20,000 posts in the forums
  • x108
    Coach One of your tutorials has over 1,000 readers
  • x62
    Educator One of your tutorials has over 10,000 readers
  • x3
    Teacher One of your tutorials has over 100,000 readers
  • Sensei One of your tutorials has over 1,000,000 readers
  • 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
  • x35
    Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

32/44
How to earn trophies

Blogs