User Tag List

Results 1 to 2 of 2

Thread: Stuck on instances of objects.. again

  1. #1
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export Module
    Outcast's Avatar
    Join Date
    Jan 2011
    Location
    Sweden
    Posts
    3,237
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)

    Unhappy Stuck on instances of objects.. again

    This seems like it happens for every project I do, I am trying to have several identical objects behave independent but I get into problems. Could someone please take a look at this example and see what is wrong? It is inconsistent as it is now. What is supposed to happen is the actives are bouncing around and when they collide with a red ball the red ball should be attached to the active. However it does not always work right. Sometimes an active collide with a ball, but the ball gets attached to another active that is not colliding etc.

    I am using the excellent "frame step widget" (sorry don't remember who made it) so you can press "Page up" to pause and then go frame by frame by pressing the button again (or holding it) to see better what is happening.

    It is so annoying and I cant seemt o see what is wrong and there are very few events :/ And as I said it is inconsistent, so you may have to run the example 3-4 times to see that things does not always works as it should. Sometimes it works, sometimes not.
    Attached files Attached files

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export Module
    Fusion 2.5 (Steam)
    schrodinger's Avatar
    Join Date
    Nov 2014
    Posts
    3,159
    Mentioned
    28 Post(s)
    Tagged
    1 Thread(s)
    When in doubt, add a foreach

    PositionLoop_foreach.mfa

    You were spotting the fact that some diamonds sometimes were getting multiple redballs, correct?
    Seems more solid now... but stress-test to be sure.

    A really great widget indeed, didn't know about that.
    Pure gold for debugging!

Similar Threads

  1. Replies: 2
    Last Post: 29th December 2014, 11:47 AM
  2. Bouncing Collision Becomes Stuck Against Active Objects
    By Kid_Roleplay in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 20th August 2013, 09:06 PM
  3. Objects stuck in purgatory
    By pikzilla in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 5th March 2012, 03:37 AM
  4. Objects and instances?
    By danielfre in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 7th August 2011, 08:54 PM
  5. Instances of Active Objects.
    By Songbird in forum The Games Factory 2 - Technical Support
    Replies: 3
    Last Post: 4th December 2009, 05:05 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
  •