User Tag List

Results 1 to 5 of 5

Thread: How do you reference multiple instances of the same active object?

  1. #1
    Clicker Fusion 2.5 DeveloperiOS Export Module

    Join Date
    Apr 2009
    Location
    Paris, France
    Posts
    40
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How do you reference multiple instances of the same active object?

    If an active object collides with another instance of itself how do I identify which active object is supposed to do what?

    Here's an example:

    Let's say that I have a single "warrior" active object which includes a "fall down" animation sequence. I make a level that features 9 or 10 of these warrior characters. When gamers click on one it flies off in a random direction. Should that warrior collide with one of the stationary warriors, the stationary warrior falls down and the moving warrior keeps going.

  2. #2
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    TheSynapse's Avatar
    Join Date
    Jun 2011
    Location
    London, UK
    Posts
    100
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Isn't there an option like "the other object" that could help you here?

  3. #3
    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)
    If Warrior collides with Warrior
    + If Warrior aniamation is 'Stationary'
    -->
    Warrior: Fall down



    In the example above, two Warriors collide, but ony the one playing the 'Stationary' animation is selected.
    Therefore any actions affecting Warrior in this condition only affects the Warrior with 'Stationary' animation ( of the two ).

    I have not tried this but it should work

  4. #4
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleSWF Export ModuleInstall Creator Pro
    Ls2's Avatar
    Join Date
    Jun 2011
    Location
    Maceió - Brazil
    Posts
    927
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    I believe than ForEach can help you...

  5. #5
    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)
    ForEach extencion is not required to do what Cybert9 describes
    ...
    I just checked, the condition i mentioned above works

Similar Threads

  1. Still having trouble dealing with multiple instances of one object
    By Outcast in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 31st December 2013, 10:33 PM
  2. An issue with the direction of after-images for multiple instances of the same object
    By Jocastus in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 18th December 2013, 04:04 PM
  3. Shoot object of multiple instances
    By ASD in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 31st October 2011, 03:58 PM
  4. Multiple instances with platform movement object?
    By CPW in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 8th February 2009, 12:08 AM
  5. Multiple Instances of Object glitch
    By JimJam in forum File Archive
    Replies: 10
    Last Post: 5th March 2008, 11:44 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
  •