- Joined
- Oct 24, 2012
- Messages
- 6,545
I am having a problem changing color of a texture that I am using as a Projectile.
Here is the method I am using.
The above does not change the color but it should.
The picture that I am using is also attached.
Thanks for any help.
Picture right here.
http://www.hiveworkshop.com/forums/pastebin.php?id=bco76z
It was a .png file. The black area was transparent. I made this on GIMP version 2.8.10
Here is the method I am using.
Code:
spriteBatch.Draw(p.Txt2DImage, p.Location.Position, null, Color.Black, 0, Vector2.Zero, p.Size.ScaleValue, SpriteEffects.None, 0);
The above does not change the color but it should.
The picture that I am using is also attached.
Thanks for any help.
Picture right here.
http://www.hiveworkshop.com/forums/pastebin.php?id=bco76z
It was a .png file. The black area was transparent. I made this on GIMP version 2.8.10
Last edited: