from416 Posted February 22, 2016 Share Posted February 22, 2016 if the game switches state from one to another,How do you add animation effect to it? like super mario game,game over screen,thanks Link to comment Share on other sites More sharing options...
Zeterain Posted February 22, 2016 Share Posted February 22, 2016 You would have to play some effect right before you switch states. You might detect a level end, add a fade-out animation, and then when the animation ends, switch states. You could even add a fade-in effect once the new state starts to make it feel more like a transition animation. Link to comment Share on other sites More sharing options...
Recommended Posts