dop2000's Forum Posts

  • You can hide FileChooser completely (make invisible or move off the screen) and use any other button/sprite to invoke file open dialog. For this you need to set ID on FileChooser object, for example to "FileChooser01" and then run this script:

    "FileChooser01.click();"

    You can also do this with Browser Execute Javascript action.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • In my case C2 just silently closes every 10-20 minutes...

    I'll try to disable auto-saving, will see if this helps.

  • odiusfly You can try Enhance plugin, it has GDPR support.

  • Yep, that's how I did this in a couple of projects. The are a few things you should be aware of -

    Make sure you don't save too often, for example when an object is dragged, don't save on every tick, save only on drop event.

    Add NoSave behavior to all objects you don't need to save, to decrease the size of saved data and saving/loading time.

    And also this potentially can create hundreds of saves and use a lot of browser storage. So I advise to limit the number of undo steps and recycle/reuse the save slots.

  • You do not have permission to view this post

  • When you set blend mode on the layer, it affects other layers under it.

  • Simply add a condition Audio tag "soundeffect" is NOT playing

  • setdev LiteTween is a behavior, you need to put it into Behaviors folder.

  • You can draw a polygon, and then fill it with color. But there is no "Flood fill" action, you can't fill any shape already drawn on canvas.

  • "200x-1,20x1,20x7" doesn't look like a lot, I think it should be quite easy to recreate it manually in the editor.

    But if you do have a big JSON file for a complex tilemap, you can edit the layout file in the project and paste it there.

    Project folder\Layouts\LayoutName.json, search for the tilemap object name and you should be able to see similar tags, where you can copy/paste values.

  • The best solution would be not to use Button object - make buttons with Sprite or TiledBackground instead. If you still want to use Button object, it has its own "On clicked" event, which will work correctly on mobile.

  • Text object or TextBox object? Could be anything, you need to post your project file or at least a screenshot of your events.

  • Possibly, but it uses testOverlapSolid method for "Platform Is by wall" condition. So if you need to check if character is touching the ceiling, it will be the same method.

  • You need to include event sheets:

    scirra.com/manual/82/includes

  • I guess not many people need this condition.

    And no, when checking for walls Platform behavior doesn't use raycast, at least not in C2. It moves the character 2px to the left/right and checks if it's overlapping a solid.

    It's easy to modify Platform behavior to include check for ceiling condition, but Scirra doesn't approve this. So I suggest using "Overlapping at offset", because it's basically the same.