User Tag List

Results 1 to 2 of 2

Thread: Jumping close to platform...

  1. #1
    Clicker Fusion 2.5 DeveloperiOS Export Module

    Join Date
    Jan 2015
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Jumping close to platform...

    Hi,

    I'm trying to get my player to jump in an ios build.
    I found success in the platform movement object - which is rad!
    The user clicks - the player jumps: BOOM! Sorted!

    I've made it so you can only jump when the object is standing on the ground: also totally cool - no double jump.

    However...
    Does anyone know how I can make it so the user can jump when the active object is a few pixels above the ground/platform???
    I figure if the game is gonna be fast paced it'll be super frustrating if the active has to have landed completely before they can jump again.

    I am a total newbie so any help would be really appreciated

    Thanks

  2. #2
    Clicker

    Fusion 2.5Fusion 2.5+ DLCAndroid Export Module

    Join Date
    Jan 2007
    Posts
    296
    Mentioned
    8 Post(s)
    Tagged
    1 Thread(s)
    Hi, Endorian.

    Are you using a square collision box for the character? What you could do is create a "Sensor" (Active Object.) Make its width the same width as your collision box, then make its height the distance from the ground that you want the player to be able to jump (IE Player can jump 4 pixels from the ground - make the height 4 pixels.)

    Now position the sensor directly below your collision box.

    Now all you have to do is change your code.

    Player Presses Jump
    +
    Player Is standing on Ground
    OR
    Player Presses Jump
    +
    Player is Falling
    +
    Player SENSOR is overlapping ground

    - Jump!

Similar Threads

  1. Physics - Jumping through a platform?
    By Paul_Boland in forum Fusion 2.5
    Replies: 0
    Last Post: 10th May 2014, 01:56 AM
  2. Platform Movement Object, reverse gravity/jumping?
    By ratty in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 30th October 2012, 06:08 PM
  3. platform jumping problem
    By okonz in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 19th December 2008, 12:34 AM
  4. Need help for jumping enemies in platform game
    By piscesdreams in forum File Archive
    Replies: 1
    Last Post: 7th August 2008, 07:22 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •