User Tag List

Results 1 to 4 of 4

Thread: Fast loop particle movement breaks with more than one particle. Please help.

  1. #1
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)

    Join Date
    Jun 2015
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Fast loop particle movement breaks with more than one particle. Please help.

    Hi, everyone.

    I've created a particle movement using fast loops to get the perfect collision on the backdrop. However, it doesn't work with more than one particle. I couldn't get the X movement in a loop either.

    Here's the .mfa. Clicking the mouse creates a particle, so if you click the mouse rapidly, it breaks.

    Can one of the pros on this board please fix it up? Is there an example with this already taken care of? There are lots of particle examples but I couldn't find any which consider perfect collisions with the backdrop.

    Thanks, everyone.
    Attached files Attached files

  2. #2
    Clicker Fusion 2.5Android Export ModuleSWF Export Module
    Ziplock's Avatar
    Join Date
    Oct 2013
    Posts
    448
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    When you have more than one instance of the same object on the screen, Fusion doesn't know which one to point to. You need to use a ForEach loop to address them individually.
    Attached files Attached files

  3. #3
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)

    Join Date
    Jun 2015
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks, that's perfect. Didn't know there was an in-built ForEach in the event editor. You're a pro.

  4. #4
    Clicker Fusion 2.5Android Export ModuleSWF Export Module
    Ziplock's Avatar
    Join Date
    Oct 2013
    Posts
    448
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hey no prob. Also, in your gravity loop, using two different lines for "if b<0" and "if b>0" can be a bit redundant and resource taxing.

    "if b>0" set y to y+1 and "if b<0" set y to y-1 can be done through a single line.

    Set y to y + b/abs(b)

    This way, if it's more than 0, you end up with y+1 and if it's less, it returns y + -1

Similar Threads

  1. Including delta-time in fast loop movement?
    By J3sseM in forum Fusion 2.5
    Replies: 12
    Last Post: 30th May 2015, 12:44 PM
  2. Particle Help
    By darkmanx_429 in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 25th August 2013, 01:48 AM
  3. Faster Fast Loop Movement......in Flash
    By Eliyahu in forum SWF/Flash Export Module Version 2.0
    Replies: 8
    Last Post: 28th January 2011, 09:34 PM
  4. Fast loop within fast loop - platform game
    By Safe in forum The Games Factory 2 - Technical Support
    Replies: 1
    Last Post: 16th April 2010, 07:38 AM
  5. Fast Loop Grid Movement 2
    By nivram in forum File Archive
    Replies: 4
    Last Post: 17th April 2009, 03:15 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
  •