User Tag List

Results 1 to 2 of 2

Thread: Random colors!

  1. #1
    No Products Registered

    Join Date
    Jul 2010
    Location
    Australia
    Posts
    98
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Random colors!

    Hey everyone, need a little help.

    I'm making a game based on lots of randomization.
    At the moment, I'm can't find the syntax to make random colors.

    For example;
    --Start of Frame
    ==Set frame background color to XXX

    Now usually when you go through the little menu you end up with a "choose a color" dialog box. When I click calculation, I am confronted with the expression calculator.

    What coding do i put in there to get a totally random color? ie, using "Random()".

    Thanks for the help

    EDIT: Sorry, never mind I solved the color conundrum!
    For the record it's;
    GetRGB(Random(),Random(),Random())

  2. #2
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: Random colors!

    No, actually it's just Random(256*256*256)
    Working as fast as I can on Fusion 3

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
  •