User Tag List

Results 1 to 7 of 7

Thread: Can someone explain the expression editor to me please

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    Simflare's Avatar
    Join Date
    Oct 2013
    Location
    Australia
    Posts
    377
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Can someone explain the expression editor to me please

    Hi, I have no idea what most of the functions do on the expression editor, and I need to start understanding them (and I couldn't find explanations in the help files). Is there somewhere that explains what all of the functions mean, especially ones like Left$, Right$ and Mid$? I'm assuming they're to do with string, but don't know what they do and how to use them. It'd be great if someone could fill the following table with brief explanations:

    Left$: <what it is and what it does>
    Mid$: <As Above>
    Right$ : <" ", etc>
    Len:
    Val:
    Str$
    Hex$:
    Mod:
    Misc - Power:
    Misc - Bit-wise AND:
    Misc - Bit-wise OR:
    Misc - Bit-wise XOR:

    Thank you in advance
    Simflare

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module
    rubes's Avatar
    Join Date
    May 2011
    Posts
    371
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Left$ will allow you to take only a certain number of characters in a string, starting from the left and going as many characters as are listed after the comma
    If I have a string titled Name which is "Rubes"
    Left$( Name,3 ) would be "Rub"

    Right$ works the same way but working from the right side of the string
    Right$( Name,3 ) would be "bes"

    Mid$ allows you to grab in the middle of the string, here we have two values to set, where to start grabbing and how many characters to grab
    Mid$( Name,2, 2) would be "ub" (Start at the second character in the string and grab two characters)

    Len will return the total number of characters in a string

    Val will allow you to take a string that is numbers, and convert it to a numerical value that can be manipulated with math

    Str$ will allow you to take a number and convert it into a string

  3. #3
    Clicker Fusion 2.5 DeveloperiOS Export ModuleSWF Export Module
    Pineapple's Avatar
    Join Date
    Oct 2010
    Posts
    431
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    For the string functions, here is an in-depth example/tutorial I put together:
    http://community.clickteam.com/threads/84061-String-Tutorial

  4. #4
    Clickteam Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform 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)
    Simon's Avatar
    Join Date
    Jun 2006
    Location
    UK
    Posts
    2,743
    Mentioned
    65 Post(s)
    Tagged
    3 Thread(s)
    The help file has explanations for these, press the help button from the expression edit.

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    Simflare's Avatar
    Join Date
    Oct 2013
    Location
    Australia
    Posts
    377
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I did look at the help file, but could only find a general overview of the expression editor, not explanations for each individual function.

    Pineapple, your tutorial is excellent!

    Rubes, thank you for those very helpful explanations. It sounds like the mid$ function is going to be very useful to me indeed!

    Cheers everyone!

  6. #6
    Forum Moderator Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleSWF Export ModuleXNA Export Module
    ProdigyX's Avatar
    Join Date
    Jan 2011
    Posts
    1,197
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    SimFlare, incase you still wanted a overview of each function, I made this tutorial for MMF2. Though it is for MMF2, it covers a great portion of the general Expresssion Editor functions. In the upcoming future, I will be releasing one for Clickteam Fusion & all of its default actions/conditions/expressions

  7. #7
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    Simflare's Avatar
    Join Date
    Oct 2013
    Location
    Australia
    Posts
    377
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks, it looks useful

Similar Threads

  1. Using Log in the expression editor.
    By keokeo in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 29th November 2010, 03:44 PM
  2. Expression Editor and Icon Editor
    By OldGuy in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 27th September 2008, 01:21 AM
  3. A little bug in Expression Editor
    By JoKa in forum Multimedia Fusion 2 - Technical Support
    Replies: 12
    Last Post: 25th September 2008, 10:19 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
  •