User Tag List

Results 1 to 4 of 4

Thread: Need help with platformer (jumping)

  1. #1
    Clicker Multimedia Fusion 2Android Export ModuleiOS Export ModuleSWF Export Module
    Mystemo's Avatar
    Join Date
    Aug 2012
    Posts
    28
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Need help with platformer (jumping)

    Hi!
    I'm trying to train myself to become better at MMF2. I'm not a complete novice and I know how to use most of the basic stuff in the program, but I'm still far from an advanced user. Right now I'm trying to create a simple platformer engine and it worked very well right up untill I got to the jumping. I'll try to explain what I've done so far as good as I can.

    The way I tried to make the jump is by using a fast loop that keeps adding -1 to the players Y position as long as the jump button is pressed and then when the button is released or the jump reaches a certain value (a global value that is also increased by the fast loop) the player falls and another global value makes sure that you can not start a new jump until you've landed. This works well enough but I wanted to add a very slight delay so that the player does not fall imediately when the button is released. This also works with the methods I've tried so far but no matter how I try to do it the side effect is that the jump button also allows me to either stop falling in mid air or perform a new jump in mid air. Can anyone give me any tips on how to solve this problem or direct me to a tutorial, all the tutorials on platforming I've found while searching uses the platformer movement object or MMF2's default platforming controls and I want to make it from scratch without using any add-ons.

    Thanks in advance!

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    happygreenfrog's Avatar
    Join Date
    May 2011
    Location
    I.L.T.D.O.I.R (I.L.T.D.O.I.R's Location: The Dimension Of Infinite Recursion)
    Posts
    4,307
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    The Platform Movement Object should work fine, it isn't really much of an extra, as it is compatible with basically every runtime (if you can name a runtime it isn't compatible with, I will give you a nice, big cookie in a flavor of your choice). However, if you really don't want to use the Platform Movement Object, then you can read this tutorial, which uses fastloops.

  3. #3
    Clicker Multimedia Fusion 2Android Export ModuleiOS Export ModuleSWF Export Module
    Mystemo's Avatar
    Join Date
    Aug 2012
    Posts
    28
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for the reply!
    The metod used in the tutorial has a set height for the jump and I wanted to make it so that the jump becomes higher the longer you hold the button down. But if the platformer movement object is as compatible as you say then I guess I might as well use that after all. But anyway, thanks for the help.

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    happygreenfrog's Avatar
    Join Date
    May 2011
    Location
    I.L.T.D.O.I.R (I.L.T.D.O.I.R's Location: The Dimension Of Infinite Recursion)
    Posts
    4,307
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Mystemo View Post
    Thanks for the reply!
    The metod used in the tutorial has a set height for the jump and I wanted to make it so that the jump becomes higher the longer you hold the button down. But if the platformer movement object is as compatible as you say then I guess I might as well use that after all. But anyway, thanks for the help.
    If you read on in the tutorial, it adds the "jump higher by holding down the jump key" feature. However, the Platform Movement Object is easier to work with. After downloading it, make sure to look at the example, or the help file, or both. It should give you a good understanding of the object.

Similar Threads

  1. Platformer help
    By Beginier in forum File Archive
    Replies: 4
    Last Post: 28th April 2009, 03:01 PM
  2. platformer
    By SamG in forum File Archive
    Replies: 4
    Last Post: 17th August 2008, 11:57 PM
  3. My first platformer
    By Z_Blade in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 29th June 2008, 10:18 AM
  4. help with platformer
    By bunnyonion in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 23rd June 2008, 09:50 PM
  5. 3D Platformer help
    By Karasu in forum The Games Factory 2 - Technical Support
    Replies: 1
    Last Post: 25th July 2007, 01:13 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
  •