User Tag List

Results 1 to 7 of 7

Thread: Change speed of launched object

  1. #1
    Clicker Fusion 2.5 DeveloperiOS Export Module

    Join Date
    Jun 2011
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Change speed of launched object

    I have object1 launch object2 with a set speed, I want to be able to change the speed of object2 once it collides with another object. How do you accomplish this? Thanks.

    Steve

  2. #2
    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)
    One option is to destroy Object2 and create another object2 at object2's location and have the object it collided with relaunch the new object2.

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

  3. #3
    Clicker Fusion 2.5 DeveloperiOS Export Module

    Join Date
    Jun 2011
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for the reply. I have a follow up question. I used the alterable value A of object2 to track the number of collisions before destroying it. Now that I'm destroying object2 on the first collision and launching a new object2 at that location, the alterable value A is no longer updating properly. How do I carry over or set the alterable value of the newly launched object2 within the same event?

    Steve

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    KLiK-iT's Avatar
    Join Date
    Sep 2011
    Location
    New Jersey
    Posts
    2,852
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Can you post your example so I can see what is going on? Every time you destroy an object it's values are gone. You can say... on collision,..set A value to new object2.

  5. #5
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    TheSynapse's Avatar
    Join Date
    Jun 2011
    Location
    London, UK
    Posts
    100
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ST,

    regarding speed - there is a built in 'change speed' command within MMF.

    E.g. if your condition is 'when object2 collides with <other object>', then you can right click under object2 in the event editor and then choose Movement>>Set Speed.

    You have to have a movement type for object2 selected for this option to be available.

    Hope that helps.

  6. #6
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    It does not affect launched objects as they use an entirely different movement mechanic.
    Working as fast as I can on Fusion 3

  7. #7
    Clicker Fusion 2.5 DeveloperiOS Export Module

    Join Date
    Jun 2011
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    That's what I figured. It wasn't obvious to me how to set an alterable value to new object2 so I changed my approach. I no longer use the launch object. I set a bouncing ball movement on the object so I can control the speed on collision tests and randomized the timing of when the object appears. It actually plays better now and there are fewer runtime objects. Thanks for the ideas. It was getting too complicated and I needed to rethink it and simplify.

Similar Threads

  1. How do I change the overall speed of my game?
    By SergioAndre in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 30th July 2013, 08:22 AM
  2. Can't stop a launched object.
    By LemonyLime in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 11th October 2012, 04:59 PM
  3. how to control a launched object
    By wizlore in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 23rd September 2012, 06:55 PM
  4. movement speed does not change
    By krestalex1 in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 20th May 2008, 07:27 PM
  5. change speed of animation
    By the_raven in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 2nd October 2006, 10:52 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •