User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 15

Thread: Platform Movement Problem

  1. #1
    No Products Registered

    Join Date
    May 2008
    Location
    Germany
    Posts
    20
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Platform Movement Problem

    Hi,

    I'm making a platform game (jum'n run). But I've some problems with the movement of the character. Maybe someone could help?

    I'm using the platform movement that comes with MMF.

    What I have:

    - some platforms :-)
    - Jump, walk, stand animation

    The problem is...

    Shift = Jump
    Arrows = walk left, right

    I want that the character just jump 1 time, even the player still pressing the Shift key. But at the moment, if the player has landed back on the platform and the Shift key is still pressed the character jumps again and again...

    Yes, sure if its still pressed he still jumps...

    I use:

    "While pressing key = Jump"
    + upon pressing key right arrow

    If I only use:

    upon pressing key "shift"
    + upon pressing "right arrow"
    After the jump is finished, the the animation stops at the last frame of the jump animation and not switch to the walk animation.

    Ok...


    Easier :-)

    Settings:

    upon pressing "shift" play Jump ani.
    + upon pressing "right arrow" play jump ani.
    (that the player can jump to the right too.) (shift + right arrow) if i dont use it, the character walks in the air...
    back on the platform:
    shift, not pressed anymore, right arrow still pressed.
    the character move to the right, but the last frame of the jump ani. still displayed... :-(

    Other way:
    While pressing "shift key"
    + upon pressing "right arrow"
    The character jumps up and to the right. Good
    Back on the platform:
    Shift not pressed anymore, right arrow still pressed.
    The animation change to walk, good :-)
    But, if I still press the "shift" key, the player jumps and jumps... :-( This is what I don't want.

    I want:

    That the character just jump 1 time, even the shift key is still pressed. And then on the platform, he should walk again. If the player want to jump again he must press "shift" again... :-)

    How can I do that, without the problems...?

    Thanks a lot!

    MooKai




  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module

    Join Date
    Jun 2006
    Location
    UK
    Posts
    519
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Platform Movement Problem

    Dependent on your object -

    You may be able to add the condition
    + when jumping animation is over
    - change animation sequence to stopped

    or maybe do

    + When player colides with backdrop
    + Animation Jumping is playing
    - Change animation sequence to stopped

    Simplest ways I can think of doing it, though both has its negatives, but so does the default platform movement .

    This may not be the best solution though, I just woke up .


  3. #3
    No Products Registered

    Join Date
    May 2008
    Location
    Germany
    Posts
    20
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Platform Movement Problem

    Hm, yes... but then the player still can jump and jump :-)
    with the "stopped anim." if the shift key is still pressed.

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module

    Join Date
    Jun 2006
    Location
    UK
    Posts
    519
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Platform Movement Problem

    Not if you make it "upon pressing shift" Rather than repeat while the key is pressed.

  5. #5
    No Products Registered

    Join Date
    May 2008
    Location
    Germany
    Posts
    20
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Platform Movement Problem

    Anyone an idea?

    1 Jump only, even the "shift" key is still pressed...
    After this, the anim. for walk/run should be playing.
    I don't know at the moment, what I did wrong :-)
    Maybe someone has an idea... so I can try it tonight at home.

  6. #6
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module

    Join Date
    Jun 2006
    Location
    UK
    Posts
    519
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Platform Movement Problem

    Another idea is to completely abandon the default movement, and use the platform movement object (the extension). That will give you a lot more control over the player, not to mention it will work a lot less bug free.

  7. #7
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleSWF Export Module
    DavidN's Avatar
    Join Date
    Jun 2006
    Location
    Boston, MA, USA
    Posts
    4,044
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Platform Movement Problem

    A lot more bug-free, I think

  8. #8
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module

    Join Date
    Jun 2006
    Location
    UK
    Posts
    519
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Platform Movement Problem

    Don't question my bad English, im from England, its allowed *ahem* :P.


  9. #9
    No Products Registered

    Join Date
    Oct 2007
    Location
    Norway, Oslo
    Posts
    379
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Platform Movement Problem

    If you use this events, the player jump and jump and jump when shift key is pressed.

    +Object is standing on ground
    +upon pressing "shift"
    --jump
    --Change animation sequence to jumping

    Try this.
    +upon pressing "shift"
    +Object is standing on ground
    --jump
    --Change animation sequence to jumping

    This works.

  10. #10
    No Products Registered

    Join Date
    Oct 2007
    Location
    Norway, Oslo
    Posts
    379
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Platform Movement Problem

    I think I'm misunderstood a little. This works with the Platform Moving Object extension. The platform movement that comes with mmf is not recommended.

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Problem with platform movement object
    By path in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 12th May 2013, 09:18 PM
  2. platform movement problem
    By brett in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 4th March 2011, 10:00 PM
  3. platform movement problem
    By andy in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 18th December 2009, 01:38 PM
  4. platform movement problem again
    By DAH in forum The Games Factory 2 - Technical Support
    Replies: 5
    Last Post: 7th January 2009, 11:49 AM
  5. Platform Movement Problem
    By Lightwand in forum The Games Factory 2 - Technical Support
    Replies: 2
    Last Post: 30th July 2006, 05:12 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
  •