Jump function

Discussion in 'Technical Discussion' started by dhawal_tamakuwala, Jan 1, 2016.

  1. dhawal_tamakuwala

    dhawal_tamakuwala Avid Boxer

    Joined:
    Oct 5, 2015
    Messages:
    120
    Likes Received:
    46
    Hey guys,

    I am making game in that on tap the player jump (jump direction: X15 & Y120) with gravity -80.

    Now I am try to do when I tap on left side the player should jump towards left side (x-15 & Y120) and when I tap on right side the player should jump towards right side (x15 & y120)
    Note: there is no character movement in game the character should move with jump only.

    I want when player press left side of screen the character jump left side and when player tap on right side the player jump right.

    Can any anyone guide / help me out in game.
     
  2. kodagames

    kodagames Avid Boxer

    Joined:
    Oct 11, 2015
    Messages:
    294
    Likes Received:
    115
    dhawal_tamakuwala likes this.
  3. dhawal_tamakuwala

    dhawal_tamakuwala Avid Boxer

    Joined:
    Oct 5, 2015
    Messages:
    120
    Likes Received:
    46
    @kodagames Thanks for the kind reply. its works fine. :)
     

Share This Page