Ashley's Forum Posts

  • You do not have permission to view this post

    • Post link icon

    This thread is related to Firefox issues from 2012 or so, and is unlikely to be related to any of the issues discussed in this 2015 bump, so closing. Please start a new thread if you have further questions.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You do not have permission to view this post

  • Dropbox allows an instant download without shoving misleading clickbaiting ads in your face (often with big "DOWNLOAD" buttons to confuse you from the real download button) and having an obnoxious timer countdown while trying to sell you a pro subscription before you can download the file, which was what pretty much every download site was like before Dropbox, so unsurprisingly it caught on. The obnoxious sites were actually frustrating enough when dealing with bug reports that for some time we officially requested that all bug reports host their files on Dropbox. Google Drive and OneDrive now provide that level of service too now though so there's choice now.

  • Closing, please always follow the bug report guidelines, and refer to the manual where this is documented.

  • You generally can't name things with a number, because it makes it ambiguous whether a name is a name or a number. The best example is with object type names, where they can appear in expressions e.g.

    Sprite.X

    If you could call a sprite "34" then it appears as

    34.X

    which is difficult for the parser to figure out what you mean (since 34. is a valid floating point number). That doesn't exactly apply to animations, but for consistency and future-proofing the same principle is applied nearly everywhere. Workaround: use names like "a1", "a2", "a3"... and set the name "a" & number.

  • Well in the context of Construct 2, you have the overhead of the entire event engine, so worrying about variable types is very much like the analogy from the blog post of cleaning your car in the hopes it makes it faster. There are definitely more useful things to think about.

  • Yeah, don't waste your time. Or, answer the question yourself! This question might have mattered in say 1990 when processors were around 25MHz so you might have noticed this sort of thing.

  • Yes, in order to produce absolutely flawless downscaled images, it is necessary to pad them to a power-of-two size and repeat the last row and column of pixels across the image area so that mipmap generation never exhibits artefacts. However it is rarely necessary and "medium quality" suffices just fine for most games, and doesn't go to that extreme. Construct 2 now prompts when you choose that mode because you aren't the first person to choose the option without being aware of its consequences.

  • This is not a C2 bug. It is simply returning the navigator.onLine property, which as the MDN describes has a complicated definition: https://developer.mozilla.org/en-US/docs/Web/API/NavigatorOnLine.onLine

    The spec says:

    [quote:2pawdroz]The navigator.onLine attribute must return false if the user agent will not contact the network when the user follows links or when a script requests a remote page (or knows that such an attempt would fail)...

    Browsers interpret this differently. Some browsers only return false if they are explicitly put in to "offline mode", others only if they are not connected to any LAN, and perhaps others if they cannot reach some fixed server on the Internet (say google.com). It's surprisingly difficult to define "online". For example if you can access company intranet websites, but not outside internet websites, are you online (in the sense that you can access remote pages) or offline (in the sense that you can't access other servers elsewhere)?

  • The 'disable collisions' action is global: it affects all instances of that type permanently. You do not need to use it for individual instances. By the time the object is created, it is too late, it may have already collided with something. So you need at least 1 initial instance in the layout (to run the action on), then just disable collisions on start of layout.

    Please also note as per the bug report guidelines your project should be as minimal as possible to demonstrate the problem. There are many events in this project not directly related to the problem, which makes it more difficult to debug, since I have to review them and prove that none of those other events are causing the problem that you describe. Normally I will not bother and will just ask for a simpler .capx.

  • Just tested the first game on Chrome and IE11 and it worked fine.

    If none of the games on Google Drive were working, the most likely explanation is that Google Drive had some kind of outage. Check the browser error console, or preview from within Construct 2, to check if this is the case.

  • Closing as no .capx provided (it is mandatory).

    Note that the behavior you describe is by design if you choose "High quality" downscaling mode. If you had provided a .capx, I would have been able to verify that you had chosen this option.

  • Can't reproduce, obviously if this was an actual C2 bug then we would be hearing a lot more about it, so I assume this problem is specific to your system. Broken graphics drivers would be a likely candidate.