This is the code being used to test the effects together:
test = new Sprite(Content.Load
test.position = new Vector2(50.0f, 50.0f);
test.setTransparency(50);
test.beginFadeEffect(255.0f, 2000.0f);
test.beginRotationEffect(MathHelper.ToRadians(-180.0f), 2000.0f);
test.beginScalingEffect(3.0f, 2000.0f);
Here is a link to the sprite class:
http://mage360.pastebin.com/f427b2e0b
No comments:
Post a Comment