List of usage examples for com.badlogic.gdx.math Interpolation exp5
Interpolation exp5
To view the source code for com.badlogic.gdx.math Interpolation exp5.
Click Source Link
From source file:com.jmolina.orb.elements.Orb.java
License:Open Source License
/** * Ejecuta la animacion de introduccion/* ww w . j ava 2 s . co m*/ */ public void applyIntroAction() { getActor().addAction(sequence( parallel(scaleBy(4 * this.getNaturalScale(), 4 * this.getNaturalScale(), 0), rotateTo(0, 0), alpha(0)), parallel(rotateTo(360, INTRO_TIME, Interpolation.exp5), scaleTo(this.getNaturalScale(), this.getNaturalScale(), INTRO_TIME, Interpolation.pow2), fadeIn(INTRO_TIME, Interpolation.pow2)))); }
From source file:org.pidome.client.photoframe.screens.photoscreen.actors.PhotosActor.java
public Interpolation getRandomFadeInterpolation() { switch (new Random().nextInt(14)) { case 0:/*from w w w . java 2 s .c o m*/ return Interpolation.exp10; case 1: return Interpolation.exp10In; case 2: return Interpolation.exp10Out; case 3: return Interpolation.exp5; case 4: return Interpolation.exp5In; case 5: return Interpolation.exp5Out; case 6: return Interpolation.fade; case 7: return Interpolation.linear; case 8: return Interpolation.sine; case 9: return Interpolation.sineIn; case 10: return Interpolation.sineOut; case 11: return Interpolation.bounce; case 12: return Interpolation.bounceIn; case 13: return Interpolation.bounceOut; default: return Interpolation.linear; } }
From source file:org.pidome.client.photoframe.screens.photoscreen.actors.PhotosActor.java
public Interpolation getRandomInterpolation() { switch (new Random().nextInt(20)) { case 0://from w w w.j a v a 2 s . c om return Interpolation.bounce; case 1: return Interpolation.bounceIn; case 2: return Interpolation.bounceOut; case 3: return Interpolation.circle; case 4: return Interpolation.circleIn; case 5: return Interpolation.circleOut; case 6: return Interpolation.exp10; case 7: return Interpolation.exp10In; case 8: return Interpolation.exp10Out; case 9: return Interpolation.exp5; case 10: return Interpolation.exp5In; case 11: return Interpolation.exp5Out; case 12: return Interpolation.fade; case 13: return Interpolation.linear; case 14: return Interpolation.sine; case 15: return Interpolation.sineIn; case 16: return Interpolation.sineOut; case 17: return Interpolation.swing; case 18: return Interpolation.swingIn; case 19: return Interpolation.swingOut; default: return Interpolation.linear; } }