4 Way Swipe

Discussion in 'BBNodes' started by akrmtch, Apr 25, 2020.

  1. akrmtch

    akrmtch Boxer

    Joined:
    Jan 8, 2016
    Messages:
    42
    Likes Received:
    37
    Hello Boxers
    I use 4 way swipe in my game. But I want the character to go at a certain rate in the direction I want. In presets it goes on forever until I swipe in a different direction. I tried different solutions but failed. I'm waiting for help.

    I want it to progress step by step like in this game:
     
  2. akrmtch

    akrmtch Boxer

    Joined:
    Jan 8, 2016
    Messages:
    42
    Likes Received:
    37
    does anyone have an idea?
     
  3. TheGameAppStudio

    TheGameAppStudio Serious Boxer

    Joined:
    Nov 2, 2016
    Messages:
    927
    Likes Received:
    318
    Hi,Did you try timeout option in advance move?
     
  4. Vlad-NY

    Vlad-NY Serious Boxer

    Joined:
    Jul 21, 2018
    Messages:
    604
    Likes Received:
    360
    Hey @arkhend

    I've spend some time to implement you request. You can buy it by accessing this link: https://vlad-ny.itch.io/4-way-swipe-template-by-step

    Swipe by step is a base template demo for movement based on a specified distance.
    This .bbdoc supports was created for top down 2D styles of games.

    Created with Buildbox 3.2.0



    Note:
    You have the standard swipe node options + some new fields responsible for player's movement

    - Step Length the distance between swiping points and can be adjusted based on your needs
    - Speed the vector 3 responsible for movement speed (we use only X and Y values)
    -Delay Between Swipes: the delay time required to pass before you can swipe again
    - Drag Length the minimum distance drag in pixels that is required to register your swiping motion

     
    TheGameAppStudio likes this.
  5. Vlad-NY

    Vlad-NY Serious Boxer

    Joined:
    Jul 21, 2018
    Messages:
    604
    Likes Received:
    360
    Quick update here, I've changed the price from 5 to 2.5 now to be more affordable. Have fun and please DM me If you have any questions.
     
  6. Bill Basie

    Bill Basie Boxer

    Joined:
    Apr 3, 2020
    Messages:
    12
    Likes Received:
    2
    I bought this a couple of days ago. Works like a charm. Thanks Vlad
     
    Vlad-NY likes this.
  7. Vlad-NY

    Vlad-NY Serious Boxer

    Joined:
    Jul 21, 2018
    Messages:
    604
    Likes Received:
    360
    I'm glad it works, I hope to help you in your next journey of game development, if you have suggestions please feel free to DM me and it might implement that and share it as 1.1 version :)
     
    Bill Basie likes this.
  8. Bill Basie

    Bill Basie Boxer

    Joined:
    Apr 3, 2020
    Messages:
    12
    Likes Received:
    2
    Thanks for your generous offer. I just started using it and it fulfills my needs perfectly. Will give you feedback in case I come up with ideas on expanding it
     
    Vlad-NY likes this.

Share This Page