User Tag List

Results 1 to 3 of 3

Thread: a doubt about random position

  1. #1
    mare
    Guest

    a doubt about random position

    hi

    anybody knows how i can make that a picture active has a random position?

    i hope you can help me

    see ya'

  2. #2
    Clicker Multimedia Fusion 2
    SEELE's Avatar
    Join Date
    Jul 2007
    Location
    Terra australis incognito
    Posts
    1,916
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: a doubt about random position

    yes,

    [event]
    -set x position to: random(radius)+start of field
    -set y position to: random(radius)+start of field


    so for example you said:
    x=random(10)+10 then
    x would be between 10 and 19 (note random works in base 0)

  3. #3
    Clicker Fusion 2.5 Developer

    Join Date
    Jun 2006
    Location
    Hampshire, UK
    Posts
    963
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: a doubt about random position

    Or a little more advanced:

    To make it appear at a random place anywhere in the frame, set the x and y coordinates to:

    random(frame width)

    and

    random(frame height)

    Frame width and Frame height basically set the number to the width and the height of the frame clever eh?

Similar Threads

  1. Random Loot Position Bug
    By Top_of_the_Temple in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 1st September 2013, 11:14 PM
  2. creating an object at a random position
    By Jason in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 29th June 2009, 03:05 AM
  3. Random position a created object
    By Rabagast in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 29th June 2008, 11:08 AM
  4. Random position on screen
    By Nickydude in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 10th April 2007, 04:12 PM
  5. Random Position
    By dingdong in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 17th February 2007, 10:50 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
  •