dop2000's Forum Posts

  • Ok, I feel bad now, it's the second time I was wrong in this post.

    This is a bug, but I swear it wasn't happening yesterday! Your project must have infected my NWJS with this bug :)

    I reported it on Scirra bug tracker:

    github.com/Scirra/Construct-3-bugs/issues/3465

    .

    To work around this bug - after opening the dialog you can deactivate the group with "On LoadButton clicked" event, and when dialog is closed/cancelled, wait 0.5 seconds before re-activating the group.

  • I'm using Desktop version, simple code, no bug.

  • Can you post a screenshot of "On dialog cancel" event? And also the contents of the browser log when you double-click Cancel button.

    .

    Also, I'm sorry I mislead you with the TextBox solution, turned out it only works with C2 runtime. In C3 runtime it doesn't block mouse clicks...

  • It's not on this screenshot.

    You need to check the events where you open the dialog, and On Dialog Cancel. Add browser logs, see which of these events are firing again when you double-click Cancel button. If you can't figure it out, post your project file.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Not sure if you've seen my previous comment. I don't think there is a bug in NWJS, and the bug report you logged will probably get closed because you didn't provide a sample project file. It looks like the bug is in your events.

    .

    Oh, I just realized, you logged this bug on NWJS github, not on Scirra's.

  • About that bug of yours - it must be in your code. I tested with NWJS Open Dialog, no matter how fast and how many times I click Cancel button, it doesn't open the dialog again.

  • I put a huge Text Input object on the size of the layout, made it invisible

    No, invisible TextBox doesn't work. It needs to be visible with transparent background (you can do this with CSS). I used this method in another app and it works great.

  • I told you my very easy solution in another post - put a big transparent Text Box object above everything on the screen. It will automatically block all mouse input, you don't need to change any events.

  • Press F12 in browser, select Console, check how large are your saves.

    Also, use NoSave behavior for object which you don't need to save.

  • If it was working 2 days ago and now doesn't, then there is probably nothing wrong with the project, and it's likely a bug with the build service.

    I suggest you try to reproduce the problem in a small project and log a new bug report.

  • If you touch two different objects in the area where they are overlapping, then "On touched object" will be triggered for both of them.

    If you touch two overlapping instances of the same object, then this event will be triggered once, but will pick both instances. You can use "For each" inside this event.

    .

    Basically when you touch the screen, you touch all objects in this point, including invisible, with disabled collisions, on invisible layers etc.

    For example, if you have multiple buttons sprites on different layers (HUD, GameOver, GamePaused), you can do this:

    On Button touched
    Button: is visible
    System: Layer Button.LayerNumber is visible
    
  • Yep, it looks like a bug and you need to report it. To reproduce it in your demo project, remove Platform behavior from sprite objects and add it to the Creature family.

  • If it's not supported, you can easily make your own right-to-left typewriter effect:

  • See also comments in this post. App ID should be entered without quotes.

    If it doesn't fix the issue, then it's probably a different problem and you need to log a new bug report.

  • You can easily test all these things yourself.

    1. 1. yes
    2. 2. yes
    3. 3. yes
    4. 4. If you touched two objects, "On touched object" event will be triggered for both objects.

    You can add "Is visible" or "Is collision enabled" or "Opacity=100" as a second condition to "On touched object" event, to exclude objects which you don't want to be touched.