Posts by Chrille

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.

    There's no method that doesn't take some effort, you'll have to add the files as binary data manually, but I believe you can add several files at a time. As for extracting them, I believe the easiest way would be the following:

    1) Add the paths of all files to a list, the full path to each file where they are when you build your application.
    2) Save the list contents to a file and include this file as binary as well.
    3) When you need to extract the files, load the list file into the list object and run a loop through the list to extract each file with the path stored in the each line.

    Note: You can just use the list object to add all the file paths from within fusion, it beats adding each file manually.

    Just a note regarding Android; it handles the creation and destruction of objects poorly, so even if there were no more than 24 objects on screen it would cause a performance hit. Also, if I'm not mistaken, pasting/creating new backdrops during runtime will treat them as actives on Android.

    If you want to single out objects, or address them rather, you have to compare their alterable values/strings directly, and not using Compare two general values... So Mid & Left won't work in this case unfortunately. You could use two alterable strings to specify the type. Like:

    alterable String A = "hostile"
    alterable String B = "devour"

    etc.

    I'm creating my own system of fonts for a project I'm working on. The way it works is that it retrieves the ASCII value of a letter/symbol, which then points to the corresponding X-index of an array of that value, telling it what graphic to use. The problem is that I've been using the String Parser Object for this and it's worked fine until I decided to add some fancy letters like Å, Ä, Ö, Ü etc... and it seems that the String Parser Object doesn't have any support for the extended ASCII character codes, either that or it's a bug, as it returns the wrong values for those particular symbols. Anyone know which it is? If it's a bug I could just make a bug report and wait for it to be fixed.

    As alternatives, I tried the ASCII Character Object which works fine, but it's unfortunately not cross-platform. My last resort is to simply add extra events for any symbols that require it but I'd prefer not to. Any ideas?

    I'd probably use a controller object with some alterable values, or just global values, to make sure they were all on the same frame. Like this:


    1) Create some alt. values in a unique object or perhaps global values. Name them something like this: sourceObject, sourceAnim, sourceFrame

    2) Create a first parent/source object. It will always be animating and shouldn't be affected/destroyed etc. by other code:
    + Start of Frame
    - Create Object
    - Hide Object
    - Change Object Animation sequence to Walking (for example)
    - Set value sourceObject to Fixed value of Object

    3) Run a loop on every frame/cycle to sync the animations. It would look something like this:
    + Always
    - Run loop "sync" 1 time

    + On loop "sync"
    + Fixed value of Object is equal to sourceObject
    - Set value sourceAnim to Object > Current animation value
    - Set value sourceFrame to Object > Current frame

    + On loop "sync"
    + Fixed value of Object is different from sourceObject
    - Change Object Animation sequence to sourceAnim
    - Change Object Animation frame to sourceFrame


    I was curious to test it myself so I made an example as well.

    File: Please login to see this attachment.

    Ok, so assuming you want to do what I _think_ you want to do, try this:

    1) Set the resolution to 1280 x 960
    2) Under your Application > Window Properties, check "resize display to fill window size"
    3) Add the Window Control object to your frame and use its Resize function in the event editor to set the desired Window X & Y dimensions.

    You have the right idea. I made a quick example where one string is copied letter-by-letter from a source. If a space (" ") is encountered, it assumes a new word will follow and retrieves the number of letters in this word. If it exceeds the allowed line length, it will insert a line break.

    File: Please login to see this attachment.


    It's very basic, and doesn't acount for "-" between words nor line-breaks when retrieving the word length. Can be added with too much effort I guess.

    If you want full control of strings, line lengths and stuff like that, it's probably better to build your own text system using actives. That way you can easily determine the total length of a line by retrieving the total width of all the actives in a line. If you use the String object, you'd have to store the size of every letter in a font in a database somewhere. Of course, you can always use monospace fonts, where are letters are the same size.

    I agree, and while on this topic, for Windows 10 users, I can recommend its free video capturing feature, DVR. You might need to download the Xbox app from the store to set it up, but I've used it to capture footage of my Fusion products with good results.

    I sometimes use the list object for this purpose, but it takes time to setup. When my program crashes, I add a line to the list for each event I suspect might be causing the crash and save the list to file. That way I get a better idea of which event was last run before the crash.

    Anyway, would also love some built-in log file support.