User Tag List

Results 1 to 3 of 3

Thread: A [simple] question about "for each"

  1. #1
    Clicker Fusion 2.5 DeveloperiOS Export Module

    Join Date
    Apr 2009
    Location
    Paris, France
    Posts
    40
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    A [simple] question about "for each"

    I used Multimedia Fusion (and MMF2) for many years, but I'm fairly new to Fusion 2.5 and I can't seem to get the new "for each" stuff to work. What I'm trying to do is very basic so I'm not sure why I'm struggling with it:

    I have 6 instances of an active object called "my_object"

    Here's my code:

    Always:
    Start loop for each one of [my_object], loop name "MyLoop"

    On Loop "MyLoop":
    Set [my_object].y to [my_object].y -1

    When I run the game "my_object" doesn't move. What am I doing wrong?

  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,344
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    Hm, only thing I can think of is that you are perhaps using the fastloop's On Loop condition, while you should use the object's Loops -> On Each Object condition.

  3. #3
    Clicker Fusion 2.5 DeveloperiOS Export Module

    Join Date
    Apr 2009
    Location
    Paris, France
    Posts
    40
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks, Popcorn! That is exactly what I was doing wrong. Much appreciated -- it was driving me crazy. ;-)

Similar Threads

  1. Replies: 6
    Last Post: 15th September 2015, 08:59 PM
  2. Replies: 6
    Last Post: 18th August 2015, 02:23 AM
  3. "Simple" pseudo 3D space engine needed without extensions
    By MJK in forum Paid Design & Development Requests
    Replies: 35
    Last Post: 26th February 2014, 01:40 AM
  4. Two simple questions about some "basic" things.
    By oldkliker in forum Multimedia Fusion 2 - Technical Support
    Replies: 11
    Last Post: 21st September 2011, 05:48 PM
  5. "Change Resolution Mode" - Simple Question
    By Docilemouse in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 26th March 2010, 05:51 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
  •