User Tag List

Results 1 to 6 of 6

Thread: movement questions

  1. #1
    Clicker Fusion 2.5 DeveloperiOS Export Module

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

    movement questions

    I have two movement issues that I'm having trouble with.

    1) When I launch the ball object vertically with pinball movement, I want the ball to be destroyed on the downside of the movement when the ball's Y position = 140. The ball's Y position will pass Y=140 twice, once going up and then when coming down. I tried to set a flag on the ball so that I can test when the ball is moving up or down but I haven't gotten it to work consistently.

    2) Is there an example that I can see how to handle the following situation. When the bottom object is under the top object and a ball is launched from the bottom object, I want the ball to pass over the top object and only detect a collision with the top object and ball when the ball is coming back down.


    I hope these questions aren't too confusing. The attached file should be easier to understand what I'm trying to convey.

    Steve
    Attached files Attached files

  2. #2
    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)
    Can't you just add a conditions to test if the ball is facing down? Also, you shouldn't use position = value for movements, sometimes positions can be skipped over if the speed is fast enough.
    Working as fast as I can on Fusion 3

  3. #3
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    King_Cool's Avatar
    Join Date
    Aug 2008
    Posts
    2,335
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    1)
    It appears that there is no way for MMF2 to determine wich direction an Object with Pinball Movement moves, wich makes this situation hard.
    You can however create a simple method wich determines this for yourself.
    By storing the Balls oldY_ possition in an Alterable Value, you can compair each Balls OldY_ to its current Y possition and thus determine if its moving up or down.

    2)
    If you do the method above ( 1 ), you will be able to determine if the Ball is moving up or comming down.
    The you could simply do:

    If Ball is comming down
    + Collision between Ball and Object
    - do your Action

  4. #4
    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)
    Quote Originally Posted by King_Cool View Post
    It appears that there is no way for MMF2 to determine wich direction an Object with Pinball Movement moves
    What are you talking about? o_o
    Attached files Attached files
    Working as fast as I can on Fusion 3

  5. #5
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    King_Cool's Avatar
    Join Date
    Aug 2008
    Posts
    2,335
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Oh man, major mistake by me. I sould be ashamed, really.
    Well thanks for correcting me LB.

    ...
    ST, pleace disregard my last post, LB is correct.

    1)

    If Ball is facing down
    + Ball Y possition > 140
    - Ball destroy

    2)

    If Ball is facing down
    + Ball collides with Object
    - <your_action>

  6. #6
    Clicker Fusion 2.5 DeveloperiOS Export Module

    Join Date
    Jun 2011
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for the responses. I'll try it out tonight. Still on the learning curve.

Similar Threads

  1. Custom Platform Movement + A Few Other Questions
    By flyoffacliff in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 3rd April 2013, 10:24 PM
  2. Platform movement on Active objects using Nifflas' basic movement widget
    By ac3raven in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 18th October 2012, 02:16 AM
  3. Spaceship movement left and right trought bouncing ball movement instead 8 direction?
    By daryuss in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 22nd May 2012, 09:33 PM
  4. Platform game movement questions
    By Endymian in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 5th January 2008, 06:07 PM
  5. Movement-related questions
    By Simion32 in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 10th March 2007, 07:15 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
  •