Hey guys, I know my game is still in an early stage of development but for future reference, how do I add cutscenes to my 2D game? Would it be easier to pre-render it or have it happen in game? How would I code for both of these situations if I were to use a combination of the two? Thank you!
Cutscenes, as in video, are only available in Unity Pro. There are 2 alternatives in the free version though:
1.) You can render out your video in an image sequence (instead of having video, you have 5,000 or however many frames in your video) and play every frame one after another.
2.) You can create animations for your game objects for the ‘cutscene’. By using Mechanim, you can play cutscenes realtime as an animation instead of using rendered video.
Both can work. The first one isn’t so performance-friendly, while the second one isn’t graphics-fancy as without bloom effects, motion blur, etc., you may not get the right effect (but it all depends).
If you have Unity Pro, you can look at this to play videos instead of an image sequence.
The easy way is simply disable user input and use unity animation in the camera and objects.