User Tag List

Results 1 to 7 of 7

Thread: Random change

  1. #1
    No Products Registered

    Join Date
    Jan 2012
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Random change

    Hello everyone,
    I am a beginner and I am trying to make my second game for my neighbor little girl.

    I made a little kitten who seeks from time to time something from the player: water, food, biscuit ball...etc - actually "cat speach" appear as balloons in comic books, showing the pictures of what pussy wants.

    How do I make, that the picture that appear in balloons, every time be diferent - to be chosen at random way, among several diferent.

    Thank you in advance.

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Eliyahu's Avatar
    Join Date
    Oct 2007
    Location
    Seattle, WA
    Posts
    1,523
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Have a single Balloon object, and each thing it can want can be a different animation frame or different animation sequence.
    When you display the balloon, you set the animation frame or sequence to Random(numberOfOptions).

  3. #3
    No Products Registered

    Join Date
    Jan 2012
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank. Could you explain to me how to do that. I try but not succeed. I try in event editor to do: If Balloon visible than in "Special condtition" i chose randomize than "Retrive data from an object", than choose balloon object / Animation / Curent frame and get text "Image( "Active 3" )" - but not work.

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Eliyahu's Avatar
    Join Date
    Oct 2007
    Location
    Seattle, WA
    Posts
    1,523
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    No, don't use the Randomize action. I'll make an example of what I mean since I'm terrible at explaining things.
    Here's an example:
    Attached files Attached files

  5. #5
    No Products Registered

    Join Date
    Jan 2012
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for example. I try to do like you in your example but nor work.

    I don't have button. I have 1 ballon with 4 diferent frames.
    1. On startup ballon is not visible
    2. Every 15 second cat sit and than balloon is visible for 5 second.

    In event editor i set: every 15 sceond ballon is visible and "Force anomation frame Random(4)"

    But to work - I see always same frame.

    Where is my error, please help me.
    Attached files Attached files

  6. #6
    No Products Registered

    Join Date
    Jan 2012
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I edit my previous post - i attached my example. I deleted cat animation frames and backgrounds because of file size.

  7. #7
    No Products Registered

    Join Date
    Jan 2012
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It's work, I succeed. Thanks.

    p.s
    My speed im Direction options of Balloon was 50.

Similar Threads

  1. Random Active Spawn in Random Location in Frame
    By Top_of_the_Temple in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 20th October 2016, 03:33 AM
  2. Make Random Pool not-so-random?
    By UltraHammer in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 4th April 2013, 02:53 PM
  3. BUG: Random is not random in Flash mode
    By oldkliker in forum SWF/Flash Export Module Version 2.0
    Replies: 1
    Last Post: 11th October 2011, 08:56 PM
  4. Random and MT Random strange behaviour
    By crusher in forum iOS Export Module Version 2.0
    Replies: 0
    Last Post: 8th October 2011, 01:32 PM
  5. Random Speed + Ypos at random times
    By Keehan in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 14th May 2011, 05:25 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
  •