This is the code being used to test the 2 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);
Here is a link to the sprite class:
http://pastebin.com/f68be73c6
No comments:
Post a Comment