Make Character Jump With Swipe Up

Discussion in 'How Can I...?' started by volcank, Dec 4, 2016.

  1. volcank

    volcank Serious Boxer

    Joined:
    Oct 8, 2015
    Messages:
    794
    Likes Received:
    391
    Hi,
    I am trying to make my character jump with swipe top action but I can not see a jump command there only we can add linear velocity for X or Y. IS there a way I can do that. I would like my player to play the game with only swipe controls but it will be a platformer not a game lik pacman.

    So swipe right - go right (this is ok)
    Swipe left - go left (this is also ok)
    Swipe Top - Jump up (not available)
    Swipe Down - Jump down platforms (not tried yes but if available would be perfect)

    Thank You.

    A simple example of this kind of action can be found in game - Platform Panic - by Nitrome.
     
  2. meremy

    meremy Avid Boxer

    Joined:
    Aug 26, 2016
    Messages:
    134
    Likes Received:
    66
    You can set up Y velocity on swipe up with a timeout of for ex 0.5 seconds. It doesn't exactly look like a jump but it's the closest thing I think
     
    volcank likes this.
  3. blad300

    blad300 Serious Boxer

    Joined:
    Oct 8, 2015
    Messages:
    515
    Likes Received:
    276
    When you use Advanced Move you have Ghost Jump (take a look at ISO demo found in BB)
     
    volcank likes this.
  4. volcank

    volcank Serious Boxer

    Joined:
    Oct 8, 2015
    Messages:
    794
    Likes Received:
    391
    Thank You! I will give it a try! I am just not sure if it will give the same feeling of jumping.
     
  5. meremy

    meremy Avid Boxer

    Joined:
    Aug 26, 2016
    Messages:
    134
    Likes Received:
    66
    let me know how it pans out :p
     
  6. volcank

    volcank Serious Boxer

    Joined:
    Oct 8, 2015
    Messages:
    794
    Likes Received:
    391
    Thanks I will have a look at it. Can we adjust the jump settings etc like gravity in ghost jump? I believe it is almost an animation simulating jumping. Does the character Actually jump?? Thankss
     
  7. volcank

    volcank Serious Boxer

    Joined:
    Oct 8, 2015
    Messages:
    794
    Likes Received:
    391
    Yes it worked only now my character has like many jumping ability like can jump in air multiple times. LOL! :) Still looks nice Thank you. Maybe I can name my game Many Jump! LOL.
     
  8. volcank

    volcank Serious Boxer

    Joined:
    Oct 8, 2015
    Messages:
    794
    Likes Received:
    391
    It is cool! It worked like I said in my previous reply! Thank you! :)
     
  9. meremy

    meremy Avid Boxer

    Joined:
    Aug 26, 2016
    Messages:
    134
    Likes Received:
    66
    You can have "Jump from ground" activated and only 1 jump count
     
  10. volcank

    volcank Serious Boxer

    Joined:
    Oct 8, 2015
    Messages:
    794
    Likes Received:
    391
    I already have but it doesn't work since it is not a jump action but a linear movement action going up so it doesn't make a difference.
     
  11. meremy

    meremy Avid Boxer

    Joined:
    Aug 26, 2016
    Messages:
    134
    Likes Received:
    66
    Damn. Well good luck with it. If i happen to stumble on a way i will post it
     
  12. volcank

    volcank Serious Boxer

    Joined:
    Oct 8, 2015
    Messages:
    794
    Likes Received:
    391
    No problem still this will do nicely for my game setup. Thanx for all the help yes and if i come across a solutin i will post here. btw i would like my character jump on enemies to kill them. i know there is a way which you attach an invisible action sprite on top of enemies and set it to strike but seems then enemies can not move. right or left they stay in place or either i am setting the linkin in reverse dont know. also.like in mario it could be cool.if character could like bounce up once the enemy is destroyed. this option only seems to work with me with immobile.enemies only.staying in one place. I would appreciate the advice thank you.
     
  13. meremy

    meremy Avid Boxer

    Joined:
    Aug 26, 2016
    Messages:
    134
    Likes Received:
    66
  14. volcank

    volcank Serious Boxer

    Joined:
    Oct 8, 2015
    Messages:
    794
    Likes Received:
    391
    meremy likes this.

Share This Page