User Tag List

Results 1 to 6 of 6

Thread: Curious: Superscript in the Expression Editor

  1. #1
    Clicker Fusion 2.5 (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Nov 2007
    Posts
    456
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Curious: Superscript in the Expression Editor

    I just noticed that by pressing Ctrl+Shift+'+' in the expression editor, it goes to Superscript format (oddly enough, there does not appear to be a command for subscript. At least, it's not on the default control). Does this actually do anything, or is a little pointless feature of the Expression Editor? A sort of unintentional easter egg of sorts. I tried testing it - I entered "2 to the power of 2" in superscript format (ie, not '2 POW 2', can't do Superscript on a forum post), but that just gave me 22, not 4. Is there any reason for this, or is it just the formatting of the expression editor?

    Regards
    ~Raylax

  2. #2
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleSWF Export ModuleUnicode Add-on
    Looki's Avatar
    Join Date
    Aug 2006
    Location
    Karlsruhe, Germany
    Posts
    3,741
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    Re: Curious: Superscript in the Expression Editor

    It's a feature of the RichEdit control, but it's not used in MMF.

  3. #3
    Clicker Fusion 2.5 (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Nov 2007
    Posts
    456
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Curious: Superscript in the Expression Editor

    Fair enough. It'd be cool if it was implemented in a future build in some way as a visually simpler way of handling powers.

    Hey, maybe subscripts could be used to control a specific instance of an object when it's not marked by the action. For example:

    Always
    - Set Counter to Alterable Value A("Enemy")<subscript: 3>

    Would set the counter to Alterable Value A of the 3rd instance of enemy, rather than having to Spread Value and whatnot first. Maybe it could actually override any marked object in the Actions, too. So if the Action marks the first instance, this would still affect only the 3rd.
    How about a range of enemies in the subscript, too? If you entered, say: "3-6, 8, 12" in the subscript, it'd effect instances 3 to 6, and 8, and 12. But '-' means minus. Hmm. Maybe underscore to represent "to" instead?

    What do you think?


    EDIT: Whilst I'm on the subject, here's another idea for 'cleaning up' the expression editor - when changing a value related to an object (ie, it's variables/position/etc), it'd be cool if it wasn't necessary to enter the name of the object being controlled when typing the expression. For example, atm you'd type:

    Set ist of Player to Abs(X("Player") - X("Enemy"))
    Set YDist of Player to Abs(Y("Player") - Y("Enemy"))

    With this, you'd just type:

    Set ist of Player to Abs(X - X("Enemy"))
    Set YDist of Player to Abs(Y - Y("Enemy"))

    Or perhaps, if MMF2 requires some reference, just put empty brackets: X() - X("Enemy")
    Then MMF2 would know you're refering to the object being controlled.

    Just an idea :P

  4. #4
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleSWF Export ModuleUnicode Add-on
    Looki's Avatar
    Join Date
    Aug 2006
    Location
    Karlsruhe, Germany
    Posts
    3,741
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    Re: Curious: Superscript in the Expression Editor

    That would require a lot of internal changes..
    Currently, no format (bold,superscript,...) is stored, only the text.

  5. #5
    Clicker Fusion 2.5 (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Nov 2007
    Posts
    456
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Curious: Superscript in the Expression Editor

    Maybe an MMF3 thing instead, then

    Did you read the edits, btw? None make your point any less valid, I just editted that post a few times with ideas and was aware that they might be missed :P

  6. #6
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jun 2006
    Location
    Darlington, UK
    Posts
    3,298
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Curious: Superscript in the Expression Editor

    Normally ctrl+minus or ctrl+shift+minus is sub-script. I'm not at my MMF pc right now, so I can't test it.

Similar Threads

  1. Val vs. Value (expression editor)
    By Pineapple in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 28th December 2013, 06:19 PM
  2. 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
  3. Expression Editor and Icon Editor
    By OldGuy in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 27th September 2008, 01:21 AM
  4. Expression Editor
    By Kid_Roleplay in forum The Games Factory 2 - Technical Support
    Replies: 1
    Last Post: 27th October 2006, 11:34 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
  •