User Tag List

Results 1 to 5 of 5

Thread: Trouble with continuity

  1. #1
    No Products Registered

    Join Date
    Oct 2009
    Posts
    25
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Trouble with continuity

    Hi ya!

    I have a problem with a couple of objects. I am trying to use them for scoring purposes in my game. When an object is invisible, it is supposed to add 1 to a counter or a value, and that is the players score. The problem is, it's invisible for a certain amount of time, and it's being counted for that certain amount of time continuously.

    This is also a problem if I were to count a certain number of objects that I use to make the other object invisible. Since it's always invisible during that time, it's always being created. I don't want it to be always created, I just want it to happen once for each time it occurs gosh darnit! The problem is, whenever I use the run event once in some instances, it only runs the event once, so no other chain reactions occur.

    I'm thinking of a fastloop or something. Or I may succomb to using an extension.

    Anyways, what I want to occur is this.

    //psuedo code
    -When the user clicks on a shape object, the object (which it does) explodes in different particles.

    -An object checker is created when this occurs, but a problem is, it's *continuosly* created.
    ->If the object checker (which overlaps 9 objects) overlaps a shape object that matches the animation frame of a main shape object, then make the shape object invisible.

    ->If the object checker is overlapping another shape object that matches the main shape, then again, create an object checker at the center of the shape object. The problem here is that it is *continuously* created.

    ->I also have it so that if a shape object is invisible, add 1 to a counter. The problem is, is that it is *continuously* adding 1, becuase the group is only enabled for a short amount of time, but long enough for it to continuously add.

    What I would like to know, is how can I get it to stop doing something continously?

    source
    http://www.filefront.com/16116289/BetaShapeShift.mfa

    (ps kudos and many thanks to my buddy gerald here, didn't want to bother you again )

    Thanks in advance!

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Tisnart's Avatar
    Join Date
    Feb 2008
    Location
    On, Canada
    Posts
    1,073
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    Re: Trouble with continuity

    Your welcome and It's never a bother to help someone out :grin:

  3. #3
    Forum Moderator

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    nivram's Avatar
    Join Date
    Jul 2006
    Location
    Bandon, Oregon
    Posts
    6,773
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)

    Re: Trouble with continuity

    So,xhunterko,has your problem been solved?

    If not, add to your event, only one action when event loops.

    From your post I could not determineif it had been solved.

    Marv
    ​458 TGF to CTF 2.5+ Examples and games
    http://www.castles-of-britain.com/mmf2examples.htm

  4. #4
    No Products Registered

    Join Date
    Oct 2009
    Posts
    25
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Trouble with continuity

    No it has not. And that only does it once. Say I have 12 shapes in a combo that match the main shape. If I use that method, it will only count one of the shapes that are invisible.

    Although I may have some success. I am able to account for individividual collisions. So I'm thinking of something like a scanner.

    I shall report later tonight if my theory is a solution.

  5. #5
    No Products Registered

    Join Date
    Oct 2009
    Posts
    25
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Trouble with continuity

    Got it finally, I believe.

    What I did, was create a screen wide object that moved down across the screen. Whenever this object collided with a shape that was invisible, it added one to a counter. Which, for the moment, is working quite nicely.

    Thank you once again.

    Cheers!

Similar Threads

  1. Trouble Using ini
    By Godspeed8118 in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 9th January 2013, 11:22 AM
  2. Trouble Using ini
    By Godspeed8118 in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 8th January 2013, 04:54 AM
  3. Box 2D trouble
    By Kalis in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 26th June 2011, 10:23 AM
  4. More trouble!
    By FlinkGigitty in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 7th March 2010, 08:14 PM
  5. Having Trouble With INI's
    By Damian_Fox in forum The Games Factory 2 - Technical Support
    Replies: 3
    Last Post: 30th June 2008, 05:43 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
  •