User Tag List

Page 2 of 2 FirstFirst 1 2
Results 11 to 17 of 17

Thread: Irregular animation?

  1. #11
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export Module
    Chaos's Avatar
    Join Date
    Aug 2006
    Location
    Burnsville, MN, USA
    Posts
    806
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Irregular animation?

    Or...

    Random(6)+5 - this includes 10.

  2. #12
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleSWF Export ModuleUnicode Add-on
    Looki's Avatar
    Join Date
    Aug 2006
    Location
    Karlsruhe, Germany
    Posts
    3,741
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    Re: Irregular animation?

    Which is what he said without explaining how it works really

  3. #13
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export Module
    Chaos's Avatar
    Join Date
    Aug 2006
    Location
    Burnsville, MN, USA
    Posts
    806
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Irregular animation?

    Mine doesnt require unnecessary math in your random generator though! :P

    Essentially "Random(6)+5" will pick a random number from 0 to 5, (Results of a Random(6) are 0,1,2,3,4,5 so... six numbers starting from zero) and add 5 to it. Since you are adding 5 to the random, that is the smallest number you will ever get since the random seed could pick a zero, which still leaves you with 5.

    There. Explained.

  4. #14
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export ModuleUnicode Add-on

    Join Date
    Nov 2010
    Location
    Switzerland
    Posts
    301
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Irregular animation?

    Or you could just use the "old" Randomizer-Extension-Object which allows to enter a "Range" the Randomization-Process. (ex. Range from 10 to 20) creates Random Numbers between 10 and 20).

    Greets,

    jahkri

  5. #15
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleSWF Export Module
    Konidias's Avatar
    Join Date
    Aug 2009
    Posts
    1,546
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    Re: Irregular animation?

    Quote Originally Posted by Jahkri
    Or you could just use the "old" Randomizer-Extension-Object which allows to enter a "Range" the Randomization-Process. (ex. Range from 10 to 20) creates Random Numbers between 10 and 20).

    Greets,

    jahkri
    Sounds like a super unnecessary use of an extension... Really, it's not hard to set the range by doing 5 + Random(6). If people need an extension for that... well that's depressing.

  6. #16
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export Module
    Outcast's Avatar
    Join Date
    Jan 2011
    Location
    Sweden
    Posts
    3,237
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)

    Re: Irregular animation?

    Thanks! Just for the sake of it, what is that +5 meaning? Also why 10-5 and not 5-10? It looks more logical to my newbie brain

    EDIT: Oh i did not see the answers on the second page, that explained my question!

  7. #17
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jun 2006
    Location
    Darlington, UK
    Posts
    3,298
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Irregular animation?

    Yeah, it's because it's a subtraction, not a range. You're not the only person who's been confused by that at first.

Page 2 of 2 FirstFirst 1 2

Similar Threads

  1. irregular vertical counter
    By SolarB in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 15th October 2012, 07:53 AM
  2. Play animation on collision. Destroy animation
    By Maarten in forum Multimedia Fusion 2 - Technical Support
    Replies: 11
    Last Post: 30th November 2010, 11:38 PM
  3. Animation
    By Janman in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 13th November 2009, 06:28 PM
  4. Clicking on an irregular area (RISK-like game)
    By CKX in forum Multimedia Fusion 2 - Technical Support
    Replies: 11
    Last Post: 23rd September 2008, 10:09 AM
  5. Bouncing with irregular shapes not working
    By benjamin in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 24th August 2006, 01:10 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
  •