User Tag List

Results 1 to 2 of 2

Thread: Fast loop problem

  1. #1
    Clicker Fusion 2.5
    ayejes's Avatar
    Join Date
    Feb 2008
    Posts
    83
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Fast loop problem

    I am creating an asteroids style game. I am using mmf's fast loop to create 5 asteroids at the start of the game.

    When a weapon destroys one of the asteriods just one destroys. So far so good. But when I started to setup a fast loop for three smaller asteriods to appear at the place where the asteroid is destroyed, all 5 asteroids disappear. The three small asteroids appear at the place where the larger one was destroyed but at the same time the other four asteriods on the screen disappear. All I half to do is delete the line of start small asteroids loop, and that stops all asteroids from disappearing. But I want to create three small asteroids where one is destroyed.

    Any ideas, please advise.

    Thank you.



  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS 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)Universal Windows Platform Export Module (Steam)
    Popcorn's Avatar
    Join Date
    Jun 2006
    Location
    Norway, Bergen
    Posts
    2,366
    Mentioned
    13 Post(s)
    Tagged
    0 Thread(s)

    Re: Fast loop problem

    In the loop you have to specify which object that started the loop.

    So try this:

    First make a counter.

    Then use these events:

    * weapon collides with Asteroid
    - set counter to fixed value of Asteroid
    - start loop "create new asteroids" 3 times
    - Weapon: destroy

    * On loop "create new asteroid"
    + Fixed value of Asteroid equals current value of counter

    - Create Small Asteroid
    - Small Asteroid: Set position to (somewhere relative to Asteroid)
    - Asteroid: Destroy

Similar Threads

  1. Instead of Fast Loop
    By ASD in forum Multimedia Fusion 2 - Technical Support
    Replies: 17
    Last Post: 5th November 2010, 04:08 AM
  2. fast loop and loop index
    By willow in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 18th May 2010, 01:43 AM
  3. Fast loop within fast loop - platform game
    By Safe in forum The Games Factory 2 - Technical Support
    Replies: 1
    Last Post: 16th April 2010, 07:38 AM
  4. Shooting Bullets Fast Loop problem
    By N64Mario in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 19th September 2009, 08:51 PM
  5. Fast Loop - How do you use it?!
    By jonjoyceuk in forum The Games Factory 2 - Technical Support
    Replies: 2
    Last Post: 31st May 2008, 02:47 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
  •