User Tag List

Results 1 to 6 of 6

Thread: physics question

  1. #1
    No Products Registered

    Join Date
    Jan 2009
    Posts
    18
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    physics question

    Im creating a 2d strategy game that requires the player to push a box off a ledge and into a pit so that the player can walk over the pit. The problem is that no matter what i do the behavior just isnt right. The box cannot be allowed to go up and it must completely stop when not being pushed.
    p.s. ive used mmf2 before but its been awile so sorry for simple questions i might ask.

  2. #2
    No Products Registered

    Join Date
    Jan 2009
    Posts
    18
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: physics question

    alright i think that ive figured out how to move the box using the pinball movement but the box merges into the background even though it is set not to.

  3. #3
    No Products Registered

    Join Date
    Mar 2007
    Location
    Sydney, Australia
    Posts
    1,369
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: physics question

    why dont u try physix extension? (think its called Chipmunk Physics?). But beware its an advanced extension.

  4. #4
    No Products Registered

    Join Date
    Jan 2009
    Posts
    18
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: physics question

    actualy last night i figured out a way to control the pinbal movement with invisible active objects as gaurd rails.

  5. #5
    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)

    Re: physics question

    Just make it so that when the character hits the crate you set the crate's x position to (X Position of Crate + 2) or whatever value. you can lso use fastloops and on every loop, move the crate 1 pixle, and when it's not overlapping the player anymore just stop the loop.

    Also when it's right over the pit to make it drop and disable it moving when the player touches it, have an invisible detector one pixle into the pit so when the crate it all the way over it it touches the object by just one pixle and you set it to be in the pit.

    Hope that helps,
    -LB
    Working as fast as I can on Fusion 3

  6. #6
    No Products Registered

    Join Date
    Jan 2009
    Posts
    18
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: physics question

    To be honest im not that great with the more advanced parts of mmf2 like detectors and alterable values so i tend to use simple solutions to problems like invisible active objects.
    but thanks for the help.

Similar Threads

  1. Rope Physics Question
    By piscesdreams in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 15th December 2013, 01:56 PM
  2. Physics question! Making AI that uses Physics Platformer/Physics Static movement
    By Krim in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 13th December 2013, 03:19 AM
  3. physics question
    By malospam in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 15th September 2011, 09:26 PM
  4. Physics object question
    By LazyCoder in forum Extension Development
    Replies: 6
    Last Post: 1st March 2007, 03:12 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
  •