-
vencillio ditch
before
https://vgy.me/3qvxTH.gif
after
https://vgy.me/fW6X7s.gif
Code:
Location location = new Location(0, player.getLocation().getY() < 3522 ? 3 : -3);
TaskQueue.queue(new ForceMoveTask(player, 3, player.getLocation(), location, 6132, 33, 66, location.getY() == 3 ? 0 : 2));
using force movement mask instead of teleporting, i don't know the exact speed values, if someone is kind enough to post them i'd be very grateful
-
Code:
private Location location;
location = new Location(0, player.getLocation().getY() < 3522 ? 3 : -3);
TaskQueue.queue(new ForceMoveTask(player, 3, player.getLocation(), location, 6132, 0, 70, location.getY() == 3 ? 0 : 2));
soz lol.
Thanks for this tho stu
-
Quote:
Originally Posted by
RS Wiki
Code:
private Location location;
location = new Location(0, player.getLocation().getY() < 3522 ? 3 : -3);
TaskQueue.queue(new ForceMoveTask(player, 3, player.getLocation(), location, 6132, 0, 70, location.getY() == 3 ? 0 : 2));
soz lol.
Thanks for this tho stu
what you get copying code from one class to another!
-
-
lol the first picture when his doing the jump it looks like he's going very far :p
Thanks for this btw
-
Actually looks like an animation now!
The original almost looks like he just teleports to the new coordinate, then finishes the 'animation'. Lmao
Not to mention, it turns your player back towards the ditch, which is pointless :hurr:
Thanks, man. Gj
-
Thanks, would rep but yukno. :p
-
-
So this works fine on your side of the client, but to others you slide around massively and it looks horrible.
Is this just because of the speed of the ForceMoveTask?
-