User Tag List

Results 1 to 7 of 7

Thread: String course

  1. #1
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export Module
    Evilized79's Avatar
    Join Date
    Nov 2009
    Location
    Netherlands
    Posts
    890
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    String course

    Does anyone know where to find any information on how to use strings?
    I't a complete mystery for me!

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Popcorn's Avatar
    Join Date
    Jun 2006
    Location
    Norway, Bergen
    Posts
    2,367
    Mentioned
    13 Post(s)
    Tagged
    0 Thread(s)
    I think you will get better response if you tell us what you have trouble with, as strings are quite straightforward to use, and I don't think there are any tutorials on how to use Strings.

  3. #3
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export Module
    Evilized79's Avatar
    Join Date
    Nov 2009
    Location
    Netherlands
    Posts
    890
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Well i have been messing with your random engine trying to figure out why things react like they do with the strings u used. I never used strings before so everything i made i did ingame the long and hard way

    Just like str$ and the whole bunch that comes behind ,how do you begin to understand how and what the outcome will be let alone understand it hehe.

    Thought that there may be some manual for beginners.

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Popcorn's Avatar
    Join Date
    Jun 2006
    Location
    Norway, Bergen
    Posts
    2,367
    Mentioned
    13 Post(s)
    Tagged
    0 Thread(s)
    Okay

    Let's look at the action:

    Set Alterable String to "This is frame number "+Str$(frame)

    The current text of the String object is referred to as the alterable string.
    If we were to set the alterable string to plain text, we could say this:

    Set Alterable string to "This is frame number 5"

    Now the alterable string would be hardcoded with that text.
    We want to combine some plain text with a variable. The variable's name is 'frame' and that is the current frame we're at. You can find that expression by clicking the Retrieve Data from an Object button, selecting the storyboard icon and then Current Number Of Frame.
    If 'frame' was a string value, we could combine the two strings like this:

    "This is frame number " + frame

    But 'frame' is not a string, it is an integer value reprenting a framenumber. That means we have to convert it to a string before we can use it.
    We do that by wrapping it with Str$().

    So then our expression is:

    "This is frame number " + Str$(frame)

  5. #5
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export Module
    Evilized79's Avatar
    Join Date
    Nov 2009
    Location
    Netherlands
    Posts
    890
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Hmm this sounds easy enough if it written like this. but there has to be manual where people learn these things.
    guess I have to start messing with it more. your random engine is so brilliant opens so many doors now for me.

    thanks again!

  6. #6
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Popcorn's Avatar
    Join Date
    Jun 2006
    Location
    Norway, Bergen
    Posts
    2,367
    Mentioned
    13 Post(s)
    Tagged
    0 Thread(s)
    I agree, the manual for MMF2 could be better, but all of these expressions are easy to find within MMF2. In the expression editor, when you receive data from an object, you can browse through all the icons and their subcategories to find all expressions and functions, beside those that are directly in the expression editor as buttons. For instance, the Str$() function can be found by clicking on Special / Conversions / Convert number to string. If you know about these, it should be easy to figure out what to do when the epxression editor gives you the error: Mixed strings and numbers, or Please enter an alphanumeric expression.

  7. #7
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export Module
    Evilized79's Avatar
    Join Date
    Nov 2009
    Location
    Netherlands
    Posts
    890
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    i will go play with this some more, if i come up with something brilliant i will let you know

Similar Threads

  1. Find String in String issues
    By DistantJ in forum Android Export Module Version 2.0
    Replies: 2
    Last Post: 13th February 2013, 12:35 PM
  2. String splitting with string parser
    By Sejez in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 5th February 2013, 05:31 AM
  3. Unable to change a string with the list obect if string contains three periods in row
    By redpandagames in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 4th January 2013, 03:01 PM
  4. Using String Parser to check for any punctuation in a string
    By Apex in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 18th May 2012, 11:03 PM
  5. [BUG] String object does not retain its string
    By mobichan in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 16th April 2011, 11:18 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •