User Tag List

Results 1 to 3 of 3

Thread: I need help with Random draw of my actives frames.

  1. #1
    Clicker Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export Module
    Emerson3's Avatar
    Join Date
    Apr 2014
    Location
    Lafayette, Louisiana
    Posts
    721
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Question I need help with Random draw of my actives frames.

    Hey CLickteam,

    I have an active object that has four different colored frames with the frame speed set to zero. I have a condition that says, if "spacebar" is pressed change the frame to Random(4). That is easy to set up and works. But what I don't want is the same frame to pull again when I press "spacebar" the first time. Is there a way to do this? Thanks Clickers!

    Also, I have an event that states

    Current Frame of "Active" is 0 - set Y position to Y("Active") -1. Is that the slowest speed it can travel? Is there a way to use floating values to slow it down lower than 1?

    Also, is there a way to go to next animation frame upon condition? Like,

    Spacebar is being pressed - Under "Active" - Next Animation Frame.

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 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)
    Sparckman's Avatar
    Join Date
    Feb 2011
    Location
    Planet of the Kangaroos
    Posts
    1,396
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Here is one way of doing that -
    I place 4 objects in a row with a selector overlapping the first object if the first object
    is = the frame number the objects swap positions. So you can never get the same number twice.
    When I hit space bar I create an object that destroys the first one line.


    random_number_no_repeat.mfa

  3. #3
    Clicker Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export Module
    Emerson3's Avatar
    Join Date
    Apr 2014
    Location
    Lafayette, Louisiana
    Posts
    721
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Thank you Sparckman,

    That's such a neat example! Exactly what I need!

Similar Threads

  1. Random frames
    By anthonyjk123 in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 6th January 2017, 06:38 PM
  2. Whats up with this random draw mfa?
    By ratty in forum iOS Export Module Version 2.0
    Replies: 1
    Last Post: 25th February 2013, 07:45 PM
  3. random card draw help
    By csj1 in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 28th August 2008, 07:45 PM
  4. [BUG] Actives with alot of frames.
    By RaiFox in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 29th November 2006, 08:31 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
  •