User Tag List

Results 1 to 4 of 4

Thread: Random Number Generation

  1. #1
    Clicker Fusion 2.5 Developer

    Join Date
    Feb 2010
    Posts
    44
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Random Number Generation

    Hi,

    Just wondering if there is an extension available to perform random number generation.

    If not, how would I go about creating one? I know quite a bit about C++, but would need to know how to get the necessary SDKs. Unless someone who develops extensions would be willing to create one.

    I am not looking for anything fancy, just a simple extension that I can call a randomize action for and then after that be able to call as such random(x) where x is the top of the random pool of numbers.

    TIA

  2. #2
    Clicker Fusion 2.5 Developer

    Join Date
    Feb 2010
    Posts
    44
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Random Number Generation

    Never mind, I just found out that the expression editor can do what I need.

    There should probably be some better documentation for the expression editor though.

    Thanks again.

  3. #3
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    RickyRombo's Avatar
    Join Date
    Mar 2008
    Location
    Somewhere between here and there
    Posts
    3,167
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Random Number Generation

    You can find most of the "hidden functions" underneath the Special object (the one with two monitors)

  4. #4
    Clicker Fusion 2.5 DeveloperiOS Export ModuleSWF Export Module

    Join Date
    Jul 2006
    Location
    USA
    Posts
    461
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Random Number Generation

    Quote Originally Posted by AngelicTech
    Just wondering if there is an extension available to perform random number generation.
    An extension exists (Random Multipool), but it hasn't been ported to the flash runtime yet. You can simulate this by adding random numbers to a list and pulling them out with a random index.

Similar Threads

  1. Random Dungeon Generation
    By nivram in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 30th October 2011, 07:14 PM
  2. Random Cave Generation...
    By MatthewJTabin in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 10th July 2011, 03:39 PM
  3. Random terrain generation
    By ac3raven in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 21st June 2011, 02:24 AM
  4. random map generation
    By uprize in forum Multimedia Fusion 2 - Technical Support
    Replies: 14
    Last Post: 2nd April 2009, 11:49 PM
  5. Random Number Generation Limits
    By Jdsfrog in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 22nd October 2008, 06:29 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
  •