2D only - 4 Way swipe step by step (Buildbox)
A downloadable game
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
#buildbox
Purchase
In order to download this game you must purchase it at or above the minimum price of 5.00€ EUR. You will get access to the following files:
Comments
Log in with itch.io to leave a comment.
Hi,I purchased this code for step limit.And i used this for a 3d game.Unfortunately it was hard to make it work but got it working :) however when the character collides with another object it just pass through it. How to fix this ? i think its not detecting collision .
Hi, thank you so much for purchasing this. To fix your issue you need to adjust the 4 if colliders that are available on character node (L,R,U,D) left right up and down. Those 4 colliders needs to be at the limit of the player in such way that when colliding with anything it wont allow the player to move on. A good practice is to keep the wall's collider to static (from the Start node).
Note: If colliders works only with collision shapes that are set in "Start" node of that entity object. you cannot trigger 2 if colliders with one and another. Please let me know if you manage to fix it.
Hi,
You are welcome and thanks for the response :) .The wall has been set to static.However the character object pass through it .
Note: For 3d i modified y axis with z.
That means that the if collide is not triggered, would you mind sharing your bbdoc in a .rar or .zip format in a private message so I can have a look on it?
Hi,I have send you the bbdoc via buildbox forum :)
Thank you so much!