User Tag List

Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 21

Thread: fast loops

  1. #1
    No Products Registered

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

    fast loops

    could someone help by providing a example of incorp a fastloop to detect a shot colision with a backdrop and its destruction.
    thanks in advance

  2. #2
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    Stephen's Avatar
    Join Date
    Aug 2008
    Location
    Montana
    Posts
    4,515
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: fast loops

    _____________________________________________
    Nivram's Examples -Need extensions? Send me a PM.-


  3. #3
    No Products Registered

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

    Re: fast loops

    thanks i have looked at the fastloop tutorial according to rules i cannot destroy anything within a fastloop but i can stop colision and reposition along edge. i just want to stop my shot going through the background. e.g shot fires hits background destroy shot thats it sounds simple i cant do it.
    have you a suggestion?
    thanks

  4. #4
    Clicker Fusion 2.5 DeveloperHTML5 Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jul 2006
    Location
    USA
    Posts
    2,982
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: fast loops

    Quote Originally Posted by willow
    thanks i have looked at the fastloop tutorial according to rules i cannot destroy anything within a fastloop but i can stop colision and reposition along edge. i just want to stop my shot going through the background. e.g shot fires hits background destroy shot thats it sounds simple i cant do it.
    have you a suggestion?
    thanks
    You don't need fastloops for that. All you have to do is have a condition "Shot collides with background" then Destroy Shot.

  5. #5
    No Products Registered

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

    Re: fast loops

    ah forgot to say the action is within a scrolling screen so the "shot collides with background" goes through and off into the matrix and kills every1

  6. #6
    Clicker Fusion 2.5 DeveloperHTML5 Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jul 2006
    Location
    USA
    Posts
    2,982
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: fast loops

    Quote Originally Posted by willow
    ah forgot to say the action is within a scrolling screen so the "shot collides with background" goes through and off into the matrix and kills every1
    Are you using a level loading routine in a single frame or something? I'm not clear on what exactly you are doing here, as that should work whether the game scrolls or not.

    If you mean just stopping it from going off the edge of the screen, you'd have to do "Shot is getting 0 pixels from window's edge" then destroy shot. Also, make sure all the backdrops are set to Obstacle.

    But maybe if you provide more info on how your game is setup that will help us figure it out.

  7. #7
    No Products Registered

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

    Re: fast loops

    hold on this is realy basic stuff im only !new to mmf!

    no fancy level loading routines.

    heres what i have:

    a realy big screen. scrolling with player

    player who shoots in all directions.

    player bounces off background new enemy created and moves away so no instant collision.

    enemy movement bouncing ball "bounces" of background

    health bar positioned above player and goes down upon collision or shooting two choosen enemys

    as you can see its basic but its my idea and most of it works.

    As i said earlier the shot passing through the background dosnt look good and it dosnt always happen.

    would i be better of using an active object for the background this way i could set hot spot and action point.

    would this help?

  8. #8
    Clicker Fusion 2.5 DeveloperHTML5 Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jul 2006
    Location
    USA
    Posts
    2,982
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: fast loops

    Honestly, I think what is happening is that maybe some of your backdrop objects you forgot to set to "Obstacle" for their collision type. I would check all of those. Because for what you are doing "Shot collides with backdrop" then "Destroy Shot" should be working. If it is passing through some obstacles but not all, then I would say some of them must not be set to Obstacle.

    Also, check your hotspots for your Shot object to make sure they are all the same.

    No, changing to actives wont help and it will eat up a lot of resources if you make all of your background objects with actives.

    Edit - Also, double check that you have the Runtime property "Handle background collisions even out of Window" checked. And I would add the the check for the Shot getting closer than 0 pixels from window's edge and then destroy it to keep it from going off the screen.

  9. #9
    No Products Registered

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

    Re: fast loops

    thanks shawn got it i hadnt checked the box for collisions daaa
    one more question how can i get around players score i dont want to put it with the player. i wont be able to fix it to a position on screen as scrolling both directions any suggestions?

  10. #10
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    Stephen's Avatar
    Join Date
    Aug 2008
    Location
    Montana
    Posts
    4,515
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: fast loops

    Having it onscreen while scrolling should not be a problem. Uncheck "Follow the Frame" in the properties of the score.

    stephen1980
    _____________________________________________
    Nivram's Examples -Need extensions? Send me a PM.-


Page 1 of 3 1 2 3 LastLast

Similar Threads

  1. Fast loops
    By Idn in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 22nd March 2011, 06:43 PM
  2. Fast Loops vs Grouped Fast Loops vs ForEach
    By Ryan in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 6th August 2010, 12:22 PM
  3. I don't get Fast Loops, please help.
    By Carlos182 in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 12th September 2009, 08:43 AM
  4. fast loops
    By delusan in forum The Games Factory 2 - Technical Support
    Replies: 2
    Last Post: 26th July 2007, 07:04 PM
  5. Fast loops
    By BenMo in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 19th December 2006, 09:13 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
  •