User Tag List

Results 1 to 7 of 7

Thread: Platform game movement questions

  1. #1
    Clicker Fusion 2.5 Developer

    Join Date
    Mar 2007
    Location
    Phoenix, Arizona, USA
    Posts
    58
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Platform game movement questions

    I am having a lot of trouble figuring out how to make some of the add-on movement controllers to work. I guess I'm still learning here, but primarily what I am trying to do here is limit the player's ability to change their direction in the air mid-jump. Does anyone know of an adequate solution for this?

    I am also trying to set up an event where the platform character can only kill an enemy object when jumping onto it from the top and while holding a particular button. Does anyone know of a way to do this?

    Thank you very much

  2. #2
    No Products Registered

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

    Re: Platform game movement questions

    For the second question. create a small flat bar (Active object) and put it on top of the characters head. Go to the event editor and do:
    >Always
    - Set possition of flat bar (on top of the enemy)

    and

    >Start of frame
    - Create flat bar (On top of the enemy's head)

    now to kill:

    >Player collsion with small flat bar
    +(Insert new Condition)Upon pressing "A BUTTON"
    - Destroy enemy

  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: Platform game movement questions

    Do it like this, but exactly the other way around. Set the small flat bar to the feet of the player, and also important don't do "Upon pressing" but "Repeat while holding".

    + Small flat bar is overlapping enemy
    + Repeat while holding "A BUTTON"
    > Destroy enemy

    Else you get association problems, and all enemies die if you touch one. And concerning the button, nothing will happen because the player collision was already an immediate condition and so is "Upon pressing key". You don't want that

    Concerning the movement controllers..
    What exactly do you have set up here?
    If it is a custom movement, you want some sort of horizontal speed that increases from holding left / right, while the player touches the floor (acceleration) and decreases from touching the floor while NOT holding left or right.
    If you restrict it to touching the floor, the player can't change direction in the air.

  4. #4
    Clicker Fusion 2.5 Developer

    Join Date
    Mar 2007
    Location
    Phoenix, Arizona, USA
    Posts
    58
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Platform game movement questions

    Quote Originally Posted by Random
    Concerning the movement controllers..
    What exactly do you have set up here?
    If it is a custom movement, you want some sort of horizontal speed that increases from holding left / right, while the player touches the floor (acceleration) and decreases from touching the floor while NOT holding left or right.
    If you restrict it to touching the floor, the player can't change direction in the air.
    Which custom movement extension do you recommend to best pull this off? Thanks!

  5. #5
    No Products Registered

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

    Re: Platform game movement questions

    Weeeell, personally I wouldn't use a custom movement extension at all. But you might use the help of some extra objects - e.g. the advanced direction calculator (or advanced math object, if you want to vitalize it).
    The advanced platform object can definitely save some time, of course at the expense of control. But if you don't know yet what you're doing, that might be welcome

  6. #6
    Clicker Fusion 2.5 Developer

    Join Date
    Mar 2007
    Location
    Phoenix, Arizona, USA
    Posts
    58
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Platform game movement questions

    Hmmm, I appreciate the input but I still don't know if I quite understand.

    I know that this project won't need to be vitalized, so the advanced math object is ruled out.

    Do you think the advanced platform object is the way to go then, or can I get away with it using the built-in platform controller with the assistance of the "Advanced Direction Calculator" you mentioned? Either way I am going to need to do intense help-file reading and self-teaching in order to understand the extension. A lot of this add-on business is very new to me. Are there any example files that might help me to understand it better?

    thank you again

  7. #7
    No Products Registered

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

    Re: Platform game movement questions

    The built-in platform movement pretty much can't be helped. So if you don't like it's problems, there's not much of a chance of fixing them.
    The solution is the advanced platform object or a roll-your-own custom movement.

    Usually every extension comes with examples and a manual that are located somewhere in your MMF directory. If you use the extension updater, those will -not- be there (complaints to the guy who made that thing :P).

Similar Threads

  1. error while exporting a swf file from a game using the platform movement object
    By Chokito in forum SWF/Flash Export Module Version 2.0
    Replies: 1
    Last Post: 24th December 2013, 03:17 AM
  2. 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
  3. Jump Through Platform (Platform Movement Object)
    By Tuna in forum SWF/Flash Export Module Version 2.0
    Replies: 8
    Last Post: 4th January 2011, 12:32 AM
  4. Platform Game Questions: Organization/Optimization
    By Logiq121 in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 15th September 2008, 02:15 PM
  5. Questions about making a platform game
    By stine in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 16th April 2008, 11:34 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
  •