User Tag List

Results 1 to 2 of 2

Thread: Pinball Movement Glitch

  1. #1
    No Products Registered

    Join Date
    Dec 2006
    Posts
    86
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Pinball Movement Glitch

    Okay, so I have a character that uses the Advanced Platform Movement. In my game, whenever your character gets hit by a bullet, he flies back. To do this, I make him momentarily change to the pinball movement and unpause the Advanced Platform Movement. He is set to go at a 45 degree angle upwards depending on which direction he is hit from.

    The way the game detects when he finishes flying back is whenever he touches an obstacle, he returns to the Advanced Platform Movement.

    This works just fine except for one thing. Whenever the player stands next to wall and then gets hit, he gets stuck in the wall. I can't seem to figure out why it does this so any advice will be helpful.

    Things I've tried:

    -I tried making him bounce whenever he touches the obstacle, but the effect is even worse. He stops moving after finishes flying back.

  2. #2
    Clicker Multimedia Fusion 2

    Join Date
    Mar 2009
    Location
    Australia
    Posts
    254
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Pinball Movement Glitch

    My best guess is that it's just an issue with the Pinball movement’s collision detection, if you need an alternative method that just uses the PMO I asked the author of a game called Ziggy last year about how he handled knock backs with the PMO and this is what he told me:

    What I did was, when the player gets hit by an enemy then set his animation to "hurt". Make the animation as long as you want him to stay hurt for.

    Now these conditions:

    PLAYER animation "hurt" is playing
    + PLAYER is facing direction right
    Set x velocity of PMO to -150 and ignore player control


    PLAYER animation "hurt" is playing
    + PLAYER is facing direction left
    Set x velocity of PMO to 150 and ignore player control


    PLAYER animation "hurt" is playing (negate)
    + Only one action when event loops
    Restore player control
    To make the player be thrown in the air just set Y velocity on the PMO to -400 when they get hit.

Similar Threads

  1. Pinball movement
    By netninja in forum Multimedia Fusion 2 - Technical Support
    Replies: 15
    Last Post: 17th February 2014, 06:46 AM
  2. Pinball movement
    By TedBoomerang in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 3rd April 2010, 12:08 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
  •