Ashley's Forum Posts

  • Those look like black bars from letterbox scale. Check you really do have the right aspect ratio; sometimes software buttons (such as back/home) or the status bar at the top (battery etc.) take up a small amount of screen space, and cause the remaining space aspect ratio to change slightly.

  • Closing, please provide steps to reproduce the problem otherwise there is nothing we can do.

  • Set 'Loader style' to 'Nothing' in Project Properties. However I would recommend having something, so users on slow connections aren't left without feedback and wondering if the page is working at all.

  • Oh, I know what this is: the middle (tiling) patch is not power of two. Since you have 1px borders, the middle patch ends up 30x30, and WebGL can currently only tile power-of-two textures, so it will have to stretch the middle patch to 32x32 to tile it which affects the display quality.

    There's not much we can do about this - hopefully WebGL 2 will fix it since it has non-power-of-two texture support.

  • Yes, that's what the node-webkit exporter does.

  • I'm afraid there is still nothing we can do unless you meet the requirements of the bug report guidelines.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • GeometriX - it works like this:

    Firstly "" inside a quoted string is actually read as a single " in the output string. For example the expression text

    "Here's a quote: "" <-- there it is"

    outputs

    Here's a quote: " <-- there it is

    By using two "" it inserts a double quote instead of being the " that ends the string.

    So a string containing just a double quote is " "" ", or without spaces, four double quotes: """"

    Add to that the app folder, then add the filename, which also has a quote at the end, e.g. "something.xxx"" ", or without the space, "something.xxx""".

    So you have an expression

    """" & NodeWebkit.AppFolder & "something.xxx"""

    that actually outputs a string like

    "C:\some\path\something.xxx"

    or, just a normal path wrapped in double-quotes, which is what the OS needs to handle paths with spaces.

  • Yes but it still shouldn't hang when preloading audio is enabled. Can you confirm r179 fixes it with preloading enabled?

  • It's worth mentioning in the manual, yeah. I've added this paragraph to how events work:

    [quote:3ku4nwdn]Note that because OR blocks run if any condition is true, it's possible the event will still run if some conditions were false and did not pick any instances. In this case the actions will still run, but possibly with zero instances picked for any objects where no instances met the condition. If any actions are run for objects with no instances picked, nothing happens.

  • SamRock - could you visit webglreport.com on the affected device and report what it says for "Max texture size" on the right? I have a Lumia 520 which reports 4096x4096, and I suspect the Lumia 720 will be similar, but worth checking it's within the device capability. If it is, I'm sure it is a driver issue with the device and you should report it to Microsoft.

  • The example in this report is working correctly. I believe there is merely confusion about how OR blocks work.

    OR blocks are unusual in that they are allowed to run with zero instances picked for an object type. In a normal event, the event would be false and not run in that case. Your event looks like this:

    Red: is outside layout

    • or -

    Blue: is outside layout

    There is a red object inside the layout, and a blue object outside the layout. The event is run as such:

    Red: is outside layout? Zero instances meet this condition. However since this is an OR block, a later condition may be true, so we keep running it; however 'Red' has zero instances picked (which is unusual but perfectly allowed/correct in this case).

    Blue: is outside layout? One instance meets this condition, so we have determined that the actions will indeed run.

    Now we run the following actions. Remember that as per usual, actions only run on instances that were picked by the event's conditions, and that the actions only affect the specific instances meeting the event.

    Red: destroy - there are zero red instances picked, so this does nothing.

    Blue: destroy - destroys the blue instance picked by 'Is outside layout', since it's outside the layout

    I guess it's possibly confusing, but it is in fact completely logical. No 'Red' instances are outside the layout, so no 'Red' instances are destroyed. If the Red object was actually destroyed, that would be quite a counterintuitive result: the action ran on an instance which did not meet the event condition.

    Closing as not a bug!

  • I don't see a bug here. The AppFolder expression is not an exception to the requirement (that comes from the OS) that paths with spaces in them must be wrapped in double quotes. So you need to use an expression like:

    """" & NodeWebkit.AppFolder & "something.xxx"""

    Also note your .capx has a redundant backslash, so tries to open a path ending in "win32\\construct2.png" which might also break it.

  • Closing, please follow the guidelines (attach a .capx etc).

    I've seen a few reports of that error but not been able to reproduce it. Have you tried removing all your Chrome extensions/addons? Sometimes buggy addons can break C2 games.

  • Closing, please attach a .capx and indicate your Construct 2 version. We made improvements to this in r178.

  • Aurel - thanks, good to hear - but I remember at the time not many games ended up using them. I guess that was because WebGL support was a lot rarer at the time. Maybe the same is happening with multiplayer support and it just needs more time to establish itself.