Hi, i want to move my object, every tap, by 640 px. Now my sprite is blinking for those 640px every tap, but i want to smoothly slide. Any ideas ? I tried pathfinding, and bullet, but doesnt work.
Develop games in your browser. Powerful, performant & highly capable.
bump
LiteTween behavior
https://www.scirra.com/forum/behavior-litetween_t70700?&hilit=litetween
There is any siplest solution for this ?
Try Lerp()
Behaviors (like LiteTween) are as simple as it gets... basically no thinking required.
Lerp can accomplish the same thing though it requires you to think a little bit about how to use events.
Behaviors (like LiteTween) are as simple as it gets... basically no thinking required. Lerp can accomplish the same thing though it requires you to think a little bit about how to use events.
Yep, I use MoveTo a lot. OP check that out too
Hmm, its a great tool ! But any ideas why its working only for first tap ? Not continue from current position.
Edit:
I did this, i've just set start from beggining, from current position. This tool is rly awesome !