xna drawing question
I'm building a top down shooter and i want to make the screen flash a color of tint when you are hit. What would be a way of achieving this mechanic?
I'm building a top down shooter and i want to make the screen flash a color of tint when you are hit. What would be a way of achieving this mechanic?
Probably the easiest way to do this would be to draw a partially transparent full screen sprite (with SpriteBatch). You can animate the alpha value over time in code to make it gradually fade it and then back out.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement