User Tag List

Results 1 to 5 of 5

Thread: Make Random Pool not-so-random?

  1. #1
    Clicker Multimedia Fusion 2

    Join Date
    Dec 2012
    Posts
    62
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Make Random Pool not-so-random?

    As in, a Random Pool object that gives out its numbers in order?

  2. #2
    Clicker Multimedia Fusion 2

    Join Date
    Dec 2012
    Posts
    62
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ohey, I figured out a way! So nevermind.

    If anyone's interested, I can explain how I did it (or I can find out that it's a real common trick that everyone already does).

  3. #3
    Clickteam Clickteam
    Danny's Avatar
    Join Date
    Aug 2007
    Location
    United Kingdom
    Posts
    2,961
    Mentioned
    17 Post(s)
    Tagged
    2 Thread(s)
    You can define the random seed yourself which will then produce numbers in a sequential order based on that seed.

    Example:
    Start of Frame: Randomize(23839)

    Every 1 second: Set Alterable Value A("Active") to Random(1000) and it will generate the exact same sequence everytime.

  4. #4
    No Products Registered

    Join Date
    Jan 2013
    Location
    Australia
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Interesting Danny,

    I think what UltraHammer is looking for is a pool - type data structure.

    A cheap way might be the ini++ object. anyway good luck.

  5. #5
    Clicker Multimedia Fusion 2Android Export ModuleiOS Export Module
    loglady's Avatar
    Join Date
    Jul 2011
    Location
    Twin Peaks
    Posts
    192
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    UltraHammer, could you explain how you did it?

Similar Threads

  1. Random Pool?
    By diefox in forum Android Export Module Version 2.0
    Replies: 6
    Last Post: 1st August 2013, 06:54 PM
  2. Random Pool, how to?
    By diefox in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 1st August 2013, 03:44 PM
  3. Random Pool ext.
    By LeGauche in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 28th August 2011, 05:25 PM
  4. Random Pool
    By sabercat in forum The Games Factory 2 - Technical Support
    Replies: 3
    Last Post: 8th June 2010, 09:15 PM
  5. Kinda random pool but not really?
    By Jafa in forum Multimedia Fusion 2 - Technical Support
    Replies: 11
    Last Post: 25th February 2010, 07:14 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •