User Tag List

Results 1 to 3 of 3

Thread: Advanced path movement problem

  1. #1
    No Products Registered

    Join Date
    Sep 2011
    Posts
    64
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Advanced path movement problem

    I want an enemy tank to launch a bullet every 5 seconds toward the player which is in this case a helicopter. After spending some time with advanced direction object and advanced path finding, finally I could achieve my goal using advanced path movement extension. For simplicity, I set my events like this:
    ---------------------
    Start of frame-->
    create new path node at X of tank and Y of tank
    create new path node at X of player(helicopter)and Y of player
    connect node ID 1 to ID 2 using speed 2(means fast,I dont know how to make it faster!?)
    set object to bullet
    ---------------------
    Upon pressing Space button->
    Add path node ID 1 to journey
    Add path node ID 2 to journey
    Start movement
    -------------------------------
    A.P.M object has reached the end of the journey-> destroy bullet
    --------------------------------------
    So my questions are:
    1. Any way to make the bullet follow the path faster?
    2. how to repeat above process upon each Space button pressing and not just for 1 time?
    3. how can I set all my events so that every 5 seconds enemy fires a bullet toward new location of the player?
    4. How to let bullet continue its path till it moves out of the screen rather than destroying it right at the end of its path which in many cases is inside of the screen without hitting the player?
    Your help is really appreciated.

  2. #2
    No Products Registered

    Join Date
    Sep 2011
    Posts
    64
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    After hours of tweaking and clicking finally I succeeded. I'll share it here in case it will be useful for someone else too.
    1. simply put 3, or 4 instead of 2 to make the bullet move along the path faster(0.5=slow, 1=normal, 2= fast, 3or4or..=even faster)
    2.every4 seconds->create new path node at origin
    create new path node at destination
    connect node id 1 and id 2
    set object to bullet
    Add path node ID 1 to journey
    Add path node ID 2 to journey
    Start movement
    with above done enemy will fire a bullet toward new location of player but it'll stop right there so I did this
    Advanced path movement(APM) has touched a new node OR has reached the end of the journey-->clear path
    and if there is no collision with player set the bullet to next movement(I chose bouncing ball) so that it would continue its movement to outside of the screen.
    There are some other things I did but I'm not in mood to type it all here.

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    happygreenfrog's Avatar
    Join Date
    May 2011
    Location
    I.L.T.D.O.I.R (I.L.T.D.O.I.R's Location: The Dimension Of Infinite Recursion)
    Posts
    4,307
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    I'm glad to hear you figured it out, even without help!

Similar Threads

  1. Problem: Advanced Path Movement - Selecting the closest node?
    By GreenOnion in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 7th March 2013, 02:16 PM
  2. Advanced path movement Node Problem
    By StingRay in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 28th July 2010, 05:41 PM
  3. Path Maker (Advanced Path Movement) for BIG levels
    By StingRay in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 22nd June 2010, 02:14 PM
  4. Advanced Path Movement
    By dsilvers in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 4th February 2009, 10:04 PM
  5. Path Maker for Advanced Path Movement
    By Willi Leopold in forum Extension Development
    Replies: 9
    Last Post: 15th November 2006, 03:23 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
  •