Skip to main content
10 events
when toggle format what by license comment
Jan 8, 2015 at 22:33 review Suggested edits
Jan 8, 2015 at 23:56
Jan 8, 2015 at 22:32 vote accept Madmenyo
Jan 8, 2015 at 22:29 comment added Madmenyo I somewhat got the effect I want, indeed the powOuts are what i actually need, not fade since that is reversed. But somehow I still cannot get the power at start and a very slow fade to the end. I am trying to mimic a 3D effect of shooting an object away from the camera. I am using two actions: moveTo that needs to fade out very softly and scaleBy that needs to be linear or fade slightly.
Jan 8, 2015 at 22:10 comment added Ion Farima You could use Interpolation.fade or Interpolation.pow4out or ` Interpolation.pow5out, it depends of what do you need
Jan 8, 2015 at 22:02 comment added Ion Farima Interpolation.bounceIn.apply(current_position, target_position, smoothness) is out of scene2d, try this format action.setInterpolation(Interpolation.TYPE);
Jan 8, 2015 at 21:59 comment added Madmenyo bounceOut does not do what I want. It bounces, I need a powerfull start that fades out smoothly. It looks somewhat like pow2Out in the video but still not exactly what i want. Likewise i cannot seem to combine Interpolation.bounciIn.apply(float,float,float) with setInterpolation.
Jan 8, 2015 at 21:49 comment added Ion Farima I've edited the answer. Check it out.
Jan 8, 2015 at 21:46 history edited Ion Farima CC BY-SA 3.0
added 400 characters in body
Jan 8, 2015 at 21:22 comment added Madmenyo Thanks, could you demonstrate here how I would use that within the addAction method for a complete answer? actor.addAction(Actions.moveTo(currentTouch.x - actor.getWidth() / 2, currentTouch.y - actor.getHeight() / 2, .2f, Interpolation.bounceIn.apply(2,2,2))); does not even compile. Still have to watch the vid but a complete answer here would benefit.
Jan 8, 2015 at 19:09 history answered Ion Farima CC BY-SA 3.0