User Tag List

Results 1 to 6 of 6

Thread: Object's order randomization?

  1. #1
    Clicker Multimedia Fusion 2
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)iOS Export Module (Steam)
    Aloan's Avatar
    Join Date
    Dec 2008
    Location
    Massachusetts, USA
    Posts
    375
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Object's order randomization?

    Friends, is there a code so all the objects on the screen play around with each other changing their order automatically and randomly every two seconds? thanks!

  2. #2
    Clicker Multimedia Fusion 2
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)iOS Export Module (Steam)
    Aloan's Avatar
    Join Date
    Dec 2008
    Location
    Massachusetts, USA
    Posts
    375
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: Object's order randonmization?

    (like) every 2 seconds - order - randomize /that would be fun! because there are lots of objects hidden behind others which are in front of them, so I'd like to interchange all of them so each object gets a chance of showing up in front of others respectively! thanks (just so you know all the objects have a bouncing ball movement and the level is like a screensaver displaying pictures)

  3. #3
    Clicker Multimedia Fusion 2
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)iOS Export Module (Steam)
    Aloan's Avatar
    Join Date
    Dec 2008
    Location
    Massachusetts, USA
    Posts
    375
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: Object's order randonmization?

    Ok. It seems like a tough question... I've been giving it a thought and came up with a harder way of doing it.
    1- Count the number of objects manually
    2- divide by 3
    3- assign 3 qualifiers and name them A, B, C.
    4- have if A collides with B bring A to front
    5- if A collides with C send A to back
    6- if B colides with C bring B to front

    Do you think this is fair?

  4. #4
    No Products Registered

    Join Date
    Nov 2009
    Posts
    26
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Object's order randonmization?

    Would running a loop like "Every 2 seconds + Pick 'Object' at random. > 'Object': bring in front of 'object'"

    Alternately, you could spread an alterable value through all the objects then use random pool to randomize their order.

  5. #5
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: Object's order randonmization?

    Set Alterable Value to Random(NObjects)

    Start Loop NObjects times

    On Loop, Loop Index == Alterable Value: Bring to Front
    Working as fast as I can on Fusion 3

  6. #6
    Clicker Multimedia Fusion 2
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)iOS Export Module (Steam)
    Aloan's Avatar
    Join Date
    Dec 2008
    Location
    Massachusetts, USA
    Posts
    375
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: Object's order randonmization?

    Cool! I'll check those out! exciting exciting and exciting is just how I feel with all these wonderful "it can be done in mmf2" stuff! it's the expandability of creation with this wonderful tool which is mmf2! txs folks! this is the best forum I have ever been part of, ever!

Similar Threads

  1. Question on Randomization
    By Top_of_the_Temple in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 5th August 2013, 08:32 PM
  2. Object order issue when rendering. (Move object in front of/behind...)
    By JayTholen in forum SWF/Flash Export Module Version 2.0
    Replies: 1
    Last Post: 16th November 2012, 11:39 PM
  3. Question regarding randomization.
    By Almightyzentaco in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 21st February 2012, 05:49 AM
  4. Randomization?
    By ibrhm in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 26th June 2009, 04:19 PM
  5. Randomization of Particles
    By Martin_Bodger in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 8th November 2008, 04:13 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
  •