User Tag List

Results 1 to 7 of 7

Thread: Create Object + Object Selection Revisited

  1. #1
    Clicker Fusion 2.5

    Join Date
    Mar 2007
    Posts
    495
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Create Object + Object Selection Revisited

    Hi Folks,

    I know this topic has been discussed many times and in the past I have been advised to use fastloops to counter the problem of MMF2 not applying the same events to multiple objects that are created simultaneously. However I have found no way of using fastloops to force MMF2 to apply events consistently to all objects created (and only those that are being created) earlier under the same condition.

    Is it at all possible to use the same object to simply create different coloured objects (using RGB coefficient) reliably where multiple instances of the created object are being created? Or do I actually have to use a different object for each colour?

    I searched after "create object" and "object selection" together and nothing relevant could be found.

    Any ideas that people may have come across would be very much appreciated.

  2. #2
    No Products Registered

    Join Date
    Dec 2006
    Posts
    319
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Create Object + Object Selection Revisited

    -on loop "create"
    create active object
    set rgb coefficiency to random ()

    -start of frame
    start loop 12 times

    This is just and idea, you would need to customize it for your needs. But wouldn't this roughly do what you want?
    Btw if you use the "tint" effect (hwa) you can have infinitely more control and precision over color.

  3. #3
    Clicker Fusion 2.5

    Join Date
    Mar 2007
    Posts
    495
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Create Object + Object Selection Revisited

    That sounds interesting, the thing is that I want to create these objects (dust/smoke) relative to other objects that shoot out from explosion points etc.

    So, you'd be creating an uncertain number of objects; ie. one dust particle for each creator object per frame, wherever those creators were located for however long they existed.

    Would you just tell MMF to start the loop as many times as you had creator objects? I'm not sure that would convey the right idea to the program.

    That's the real problem I'm having.

    Essentially, back with the original Games Factory if you created objects relative to two or more creator objects at once, all the created objects would obey the subsequent events in the condition.
    In MMF2, only the objects created relative to the most recent creator object obey such events. This is obviously counter-productive to what I hope to achieve.

  4. #4
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    RickyRombo's Avatar
    Join Date
    Mar 2008
    Location
    Somewhere between here and there
    Posts
    3,167
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Create Object + Object Selection Revisited

    All active objects share the same image. RGB coefficients im not sure but I know replace color doesnt work

  5. #5
    Clicker Fusion 2.5

    Join Date
    Mar 2007
    Posts
    495
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Create Object + Object Selection Revisited

    I see, well the action being done to the object isn't really important. The RGB thing was just an example.

    When I tell MMF2 to create objects relative to several existing objects, I want to be able to apply events in the same condition line to all those created objects.

  6. #6
    No Products Registered

    Join Date
    Dec 2006
    Posts
    319
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Create Object + Object Selection Revisited

    I tried something, have a look you might find something that works for you. I am using collision to detect a specific instance of a "generator" object. You might have to have different clones (and not instances) of your smoke "generator" objects to fully achieve what you want.

    View MFA


    edit - I think I might have missunderstood what you wanted.

  7. #7
    Clicker Fusion 2.5

    Join Date
    Mar 2007
    Posts
    495
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Create Object + Object Selection Revisited

    Yes, I've been doing a similar thing.
    I detect whether the created object's value A is 0, test which generator it overlaps and issue it events accordingly.

    This has worked pretty well up to now but with tonnes of objects (like you need with dust clouds) it's not perfect and you get a few green radiation sprites mixed in with your nice white dust cloud etc.
    Although I think I may have cracked the problem 100% today because I was using behaviours before and the events may not have been occurring in the intended order because obviously behaviours come after what's in the event editor etc.

    So I think I've cracked the "how to create lots of objects relative to others and make them all do what you want problem"
    If anyone wants an example let me know! Although I may find a problem with the solution later.

Similar Threads

  1. How to create a self organized itens selection?
    By Decoamorim in forum Multimedia Fusion 2 - Technical Support
    Replies: 15
    Last Post: 17th October 2013, 12:30 AM
  2. [BUG] Create object if flag is off, and assign something to the created object
    By Popcorn in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 24th January 2013, 11:01 PM
  3. Object Selection (Create and Reference)
    By Danny in forum File Archive
    Replies: 10
    Last Post: 26th August 2012, 05:54 PM
  4. Create Object + Object Selection
    By Crash86 in forum Multimedia Fusion 2 - Technical Support
    Replies: 12
    Last Post: 13th October 2009, 04:56 PM
  5. Object Selection
    By NG2 in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 13th March 2009, 02:41 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
  •