Ashley's Recent Forum Activity

  • I think it needs 1 or 2 lines of code changes to support JavaScript Modules. Contact the addon developer and refer them to this update from November.

  • There is no change to how functions work in r241. See the manual entry on functions.

  • It's been about 4 months already. Sorry, I think that's long enough: if the issue won't be fixed in that time, I doubt it will be fixed with more time.

    I'm afraid that, restating what I said before, if nobody can be found to spend 10 minutes doing a trivial update for an addon, and not doing that will hold back progress of Construct for everyone and impose maintenance burdens on us - then I think we're better off having a clean break. This is why you should choose third-party addons carefully and make sure there's someone around who can support it. Besides, what if something else goes wrong, like the next Safari update breaks the addon? You're completely stuck with a broken project again. Software needs maintenance.

  • If it's a cross-domain iframe, browsers expose virtually no information at all about it for security reasons. Not even if it loaded or failed to load.

  • It's hard to say for sure without seeing your project file, but in general, if your project works differently depending on the FPS/display rate, it is actually a framerate dependence issue as described by the tutorial I linked to. So I think you will need to amend the events as that tutorial describes.

  • Such lists are usually too difficult to maintain, since they change regularly, and vary across specific devices, Android versions, and browsers. The best way is probably just to test it yourself.

    I would not advise using "Is online" anyway. It's surprisingly difficult to determine if you are actually online or not - there are lots of common, grey-area states like suddenly going offline but the system hasn't noticed yet so it still says it's online, or being partially online and able to access some parts of the Internet but not others, etc. Reducing this to an on/off state is kind of misleading. Further you often don't need it anyway - for example there's no point checking if you are online before attempting an AJAX request. Just make the AJAX request, and see if it succeeds or fails.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • When he resizes the window to be smaller the game runs perfectly.

    Usually this means your game is limited by the GPU hardware fill rate (see performance tips).

    A quick fix could be to enable low quality fullscreen mode. This renders the game at a fixed size given by the viewport size, and stretches the result to fill the screen, rather than rendering the entire game and all layers at full resolution. It affects the display quality, but should be fast even when upscaling to very large screen sizes.

  • 1. I need to know in advance which variables to watch.

    I don't think there's a better way to do this than your proposed "start watching variable" action.

    TL;DR: Is there a way to give parameters to a trigger condition?

    The built-in addons handle this by just assigning a value to a property (e.g. this._param = someParam) before running Trigger(), and checking the value of this._param in the trigger method.

  • Don't modern mobile platforms have privacy protections that prevent you getting GPS data all the time?

  • Construct supports different refresh rates, but sometimes you also need to adjust your game logic to support this. See the tutorial delta-time and framerate independence.

  • Deprecated does not mean broken, it just means scheduled for removal in future. It should still be working. If something is not currently working, please file an issue following the guidelines.

    I'm aware an update will be necessary in future. We will try to address it soon. However please note we're a small team with limited resources, and work on Mobile Advert is particularly time-consuming and difficult.

  • GameSoul - I don't believe that code is valid syntax.

    Do I just need to convert this.peer to globalThis.Peer?

    this.peer does not refer to a global variable. If you have to ask a question like this, I think you need to learn more about the basics of the JavaScript language. There are plenty of resources for that on the web.

Ashley's avatar

Ashley

Online Now
Early Adopter

Member since 21 May, 2007
Last online 25 Feb, 2025

Twitter
Ashley has 1,440,741 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
  • x109
    Coach One of your tutorials has over 1,000 readers
  • x63
    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
  • x36
    Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

32/44
How to earn trophies

Blogs