User Tag List

Results 1 to 4 of 4

Thread: Movement-related questions

  1. #1
    No Products Registered

    Join Date
    Jan 2007
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Movement-related questions

    These are probably easy to do, but I would rather ask here than try to figure it out myself.

    NOTE: This took a little explaining. A good knowledge of Donkey Kong Country might help you answer my questions, since this is a DKC fan game which I'm creating.

    Ok, I have two objects: Donkey Kong, and a Barrel Canon (of which there are several instances). When Donkey Kong hits a barrel, he gets destroyed, and it then stores the fixed value of this barrel in a global value.

    When the player presses a key to fire, I want to create Donkey Kong and then automatically move him to the X,Y position of the barrel that Donkey Kong just landed in a moment ago

    How do I compare to the fixed value stored earlier to do something like "move Donkey Kong to X,Y of (fixed value)" where (fixed value) is the instance of the object I want to move him to?

    -------------------

    Ok, next question! This question should be a lot simpler.

    After I move Donkey Kong to that barrel, how do I make him move as if I were using the "shoot object" action?

    -------------------

    What I'm trying to accomplish is to shoot Donkey Kong as an active object, rather than just a bullet that only goes in one direction then disappears off-screen.

  2. #2
    No Products Registered

    Join Date
    Jan 2007
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Movement-related questions

    BUMP

    *AHEM* When I first posted this topic it went straight to the 2nd page! Now it's almost on the 3rd, and I don't want my question to get buried with the rest of 'em.

  3. #3
    No Products Registered

    Join Date
    Jun 2006
    Location
    Land of raging rockets
    Posts
    1,231
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Movement-related questions

    I think it still is not so clear what you want to do.
    You could give "Donkey Kong" a bouncing ball movement. With that he will move in a straight line, like a shot object.
    As you seem to use MMF2, you can assign multiple movements to an object.
    So if it's usually a platform movement, also give it a bouncing ball movement. When you position him to the barrel, make that movement active, set the direction to up and the speed to 50 or whatever.
    You could then have a condition that checks if he touches an obstacle or doesn't overlap the barrel any more and then changes the movement back to platform movement.

  4. #4
    No Products Registered

    Join Date
    Jan 2007
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Movement-related questions

    Ok, thanks! Thats all I needed to know. I forgot you can use multiple movements in MMF2. It works perfectly now!

Similar Threads

  1. movement questions
    By ST in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 24th April 2012, 03:43 PM
  2. a few semi-related questions
    By DaveC in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 15th April 2011, 01:25 PM
  3. A couple of questions - Text Related....
    By Mojo_Bone in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 17th April 2010, 03:24 PM
  4. some flash related questions and ideas
    By BrashMonkey in forum SWF/Flash Export Module Version 2.0
    Replies: 4
    Last Post: 8th March 2010, 06:41 AM
  5. Some string related questions...
    By Ran_TH in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 23rd December 2008, 04:03 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
  •