Intel Animation for Java* Package TutorialLesson 6: Using EffectsThis applet shows effects. Click on the buttons to apply different effects to the Intel logo. The following needs to be done to apply an effect to a sprite: 1. Create an EffectParameter (in this example we'll apply a RotateXEffect. The steps are similar for the other effects)
2. Create an Effect
3. Apply the Effect to a sprite
After applyEffect() is called, the Effect is automatically activated (the effect is performed). Activate/deactivate an effect with Effect.activate(boolean)
Modify EffectParmeter using Effect.getParams and Effect.setParams
The Effect can be removed from the sprite with
This page was last updated on Feb 11th, 1997.
|