rifter1818
Junior Contributor
Im having trouble rendering with sprites
device.clear(....)
device.beginscene()
sprite.begin(SpriteFlags.AlphaBlend)
sprite.draw2d(Texture,Rectangle.Empty,new Rectangle(0,0,100,100),new Point(),Color.Black)
sprite.end()
device.endscene()
device.present()
Simple enough render sequence but the sprite is no where to be found. (What i want is to render a texture with Black Transparant) Help please?
Edit Directx 9.0C
device.clear(....)
device.beginscene()
sprite.begin(SpriteFlags.AlphaBlend)
sprite.draw2d(Texture,Rectangle.Empty,new Rectangle(0,0,100,100),new Point(),Color.Black)
sprite.end()
device.endscene()
device.present()
Simple enough render sequence but the sprite is no where to be found. (What i want is to render a texture with Black Transparant) Help please?
Edit Directx 9.0C