hi guys! I’ve been playing with flashpunk for a while, i’m trying to make something like a continuous bouncing movemente like this http://imgur.com/mMWKsxM (it’s made in construct 2) but i can’t understant how linearmotion or any tween can do this.
movement = new VarTween(null, LOOPING);
movement.tween(this, "x", 480, 5,Ease.sineInOut);
addTween(movement);
The code above works but it’s only one way. How could i make this in ping pong way? Thanks!