User Tag List

Results 1 to 5 of 5

Thread: creating objects controlled at random

  1. #1
    No Products Registered

    Join Date
    Sep 2011
    Posts
    39
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    creating objects controlled at random

    Hi again folks.
    So I need to create 2 object every 10 seconds, but at a random time during these 10 seconds.

    Is that doable?

  2. #2
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    King_Cool's Avatar
    Join Date
    Aug 2008
    Posts
    2,335
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Use the TimeX extencion to accomplish this
    ...
    Or you can create your own timer using Counters if you dont want to use the TimeX

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    KLiK-iT's Avatar
    Join Date
    Sep 2011
    Location
    New Jersey
    Posts
    2,852
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Yep,..I would use counters to do this too!

  4. #4
    Clickteam Clickteam
    Danny's Avatar
    Join Date
    Aug 2007
    Location
    United Kingdom
    Posts
    3,016
    Mentioned
    21 Post(s)
    Tagged
    2 Thread(s)
    Use the built-in alterable/global values to achieve this, saves using extension and more code.

    Create a manual built-in timer:
    Every 1 Second + Alt Value of Active > 0: Subtract 1
    Every 10 seconds: Set Alterable Value of Active (Random(10)+1)
    Alt Value A of Active = 0: Create Object(s)

  5. #5
    No Products Registered

    Join Date
    Sep 2011
    Posts
    39
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Very neat. I will remember that bit of information. hopefully.
    For my specific task I found that a moving object spawning the objects works better.. Thanks for the input.

Similar Threads

  1. Mouse Controlled Objects
    By JimmyTHicks in forum The Games Factory 2 - Technical Support
    Replies: 7
    Last Post: 11th May 2012, 10:11 PM
  2. Question on a controlled random star spawn
    By pyromane in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 17th September 2009, 08:02 AM
  3. Creating a Random object
    By im2famous4u in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 5th March 2008, 12:09 AM
  4. Creating Random Objects
    By ChrisFrankie in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 20th September 2007, 05:07 PM
  5. creating objects with random placement....
    By mobilwon in forum The Games Factory 2 - Technical Support
    Replies: 4
    Last Post: 9th December 2006, 07:09 AM

Posting Permissions

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