User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11

Thread: Fastloops / Platform Tutorial

  1. #1
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Apr 2012
    Location
    California, USA
    Posts
    26
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Fastloops / Platform Tutorial

    I found two other posts related to this but it is still not clear to me.

    Code:
    Start loop "gravity" ABS(Grav("Player")) times
    Can someone walk me though adding this line - do you just add it through the expression editor when you select Special Conditions>Fast loops > Start Loop?

    I don't see ABS in the expression editor and am not sure how this expression is constructed (the actual 'click in this column, select this option...')

    Sorry, greenie here - jumping straight from Chocobreak to Fastloops so I'm sure it is basic stuff. I appreciate your help.

  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,352
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    1: Inside the expression editor, click the Retrieve Data from an object button
    2: Right click the icon labeled Special
    3: Select Calculations and then Absolute value
    4: You'll now see this: Abs (>Enter number<)

    Any negative number you enter in here will be converted to its positive value. -5 will be converted to 5.

  3. #3
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Apr 2012
    Location
    California, USA
    Posts
    26
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ah PERFECT! Thank you.

  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,352
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    You're welcome

  5. #5
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Apr 2012
    Location
    California, USA
    Posts
    26
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I am still crawling through this tutorial. I am unsure of where these next lines in red go or exactly what the purpose is yet since I haven't beeen able to run them. Sorry still taking baby steps. Thanks.
    Code:
    + Repeat while player presses Right
    -> Set Horiz("Player") to 3
    
    + Repeat while player presses Left
    -> Set Horiz("Player") to -3
    
    
    X Repeat while player presses Left
    X Repeat while player presses Right
    -> Set Horiz("Player") to 0
    

  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,352
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    The X here means NEGATE. It tells MMF that the condition is negated. You can negate a condition by right-clicking it and select Negate.
    [NEGATE] Repeat while player pressed Left means that the condition will be true while the player is not pressing left.
    Conditions that happens in an instant, such as Upon pressing a key, or start of frame, cannot be negated.

  7. #7
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module
    rubes's Avatar
    Join Date
    May 2011
    Posts
    364
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Holy smokes. That's how to do a traditional NOT operator, if I understand this correctly. Good stuff

  8. #8
    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,352
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    Yes, that is correct

  9. #9
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Apr 2012
    Location
    California, USA
    Posts
    26
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I don't think I would have figured that out on my own any time soon. I am at work, so don't have the program in front of me to play with this, but I am not 100% sure I understand the need to Negate. Doesn't the action "+ Repeat while player presses Right" already involve checking to see if Right is being pressed? This seems to imply that there is already a check being made ie "do this only while this condition (right key is being pressed) is true" why the need to also negate?

    I want to be sure I fully understand everything -especially were it relates to loops- which is why I am working through this slowly line by line. Thank you for your response and tutorials.

  10. #10
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    The reason is that you want the event to run when the player is NOT pressing that key. If you check and see that they are, then you would not want to run the event - Negate does this, it makes conditions behave the opposite way.
    Working as fast as I can on Fusion 3

Page 1 of 2 1 2 LastLast

Similar Threads

  1. FastLoops or ForEach Object for cross platform compatibility?
    By King_Cool in forum Multimedia Fusion 2 - Technical Support
    Replies: 12
    Last Post: 25th March 2012, 08:42 PM
  2. (Problem) DavidN's Platform Tutorial
    By Kentronisk in forum File Archive
    Replies: 4
    Last Post: 8th November 2011, 10:04 AM
  3. Detectorless, no fastloops, Platform Engine
    By JimJam in forum Widgets
    Replies: 2
    Last Post: 13th November 2010, 05:09 PM
  4. Platform game tutorial
    By joolz in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 3rd August 2006, 12:14 AM

Posting Permissions

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