Impact frames of game effects

how do make the black and white in between impact frame of a game effects. Is it fine for the optimization of the game?