DiegoM's Forum Posts

  • I haven't looked at that code in a while, but one thing I remember is that the numerical sorting isn't smart at all. If you explicitly specify it and a file name can't be converted into a number then it won't do it. That means that it won't infer 01 from Clipboard01, for instance. If you tell it to sort file names that it can't convert to numbers they will all end up having the same priority, so I think that's why using numerical sorting with the files named Clipboard## ends up doing something unexpected.

    Another thing I remember is that explicitly specifying numerical sorting ended up being redundant after some iterations of the feature. If "sort" is not specified at all it just tries to do alphabetical sorting, unless all the file names can be converted to numbers, then it will try to do numerical sorting. That is the sensible thing to do in most cases.

    Lastly there is "no-sort" which just adds the files in the order the browser sees them, which can be different to the order shown by an operating system.

    So to explain each case:

    1. orig - no sort: that is the order in which the files are seen by the browser, sometimes it's the same as the OS but it is not guaranteed.
    2. orig - numerical: the importer is trying to convert those file names to numbers, but it can't so the sorting doesn't work.
    3. orig - sorting removed: the importer defaults to alphabetical sorting and because the file names end with a 2 digit number starting with "0" the sorting works as expected. In this case, if the names didn't have the "0", the sorting wouldn't work because, as an example, in strings "11" comes before "2". Not very intuitive, but that's how it works.
    4. renamed - no sort: same as first case.
    5. renamed - numerical: all file names can be converted to numbers, so it works as expected.
    6. renamed - sorting removed: the importer sees that all file names can be converted to numbers, so it does numerical sorting and it works as expected.

    To sum it up, the best is to just create your files with a number as the file name. If you want to add a string part you need to make sure the number part of the name is 0 padded to make sure your get the correct sorting when it tries to do alphabetical sorting.

  • Can you make the file public?

  • Just to clarify, there currently is no scripting API to work with flowcharts.

  • On top of citron2010 suggestion, you can also press F5 while the preview window has focus.

    F5 is the browser's shortcut to reload any web page, so it also reloads the preview window.

    Furthermore, if you get used to changing the focus of open windows using Alt+Tab you will be able to refresh preview rather quickly just using the keyboard.

  • This will be fixed in the next beta.

    Posting in the forum worked out this time because it was a relatively easy fix, but you can never know if something is easy to fix or not.

    If it is something more difficult, chances are high that anything posted in the forum will be forgotten as it is pushed down by newer posts.

  • yeah, you can email to diegoemw@scirra.com

  • cdgray626

    Can you share your project?

  • I don't know what your problem is exactly, but executing actions every tick doesn't sound like a great solution.

    Ideally you should be able to resize your image only when it is needed, rather than every tick.

  • Yes, that will execute the associated actions every tick, it's functionally the same as the Every Tick condition.

    You can try updating a Text instance with the time expression in the action block of an empty condition to see a visual representation of what is going on.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I see, that should be easy to add along with something similar to the variation of the dialog to import animations.

  • What where your trying to do?

    After highlighting a selection you can either:

    1. Press the toolbar button to tell the importer those are the frames that should be imported
    2. Right-click on top of the selection to bring up a context menu that has an option that does the same thing as the toolbar button
    3. Press F in your keyboard which does the same thing as the above.

    .

  • If you don't mind it being public you can share it here by uploading it to some storage service, like Google Drive, and copying the link here. If you do that make sure the file is public so it can be downloaded by others.

    You can also send your project to diegohwd@scirra.com

  • It seems to be working by just trying out the feature by saving random colours.

    Can you write step by step what you are doing? Maybe there is something specific about what you are doing that is not obvious.

    Does the problem reproduce from a blank project, if not it might have something to do with something particular to your project. If that is the case it will help if you could share your project.

  • Try pressing F12 on preview to bring up dev tools, there might be an exception going on.

    Can you share your project so I can take a look? Maybe it's just a logic error somewhere in the events, but without a project it's very difficult to tell.

  • I have been looking at this and I realise I misunderstood your first post.

    In that case, it's working as it has always worked. The On Start trigger is executed when ever the timeline starts playing, there is no distinction between starting from the beginning or being resumed.

    I think I will add a parameter to be able to decide if it should be triggered at any time, only from resume or only from the beginning.

    Can you make that file you shared public? I would like to take a look at it.