N
N
Nikola_evich2021-09-02 09:41:49
2D
Nikola_evich, 2021-09-02 09:41:49

How to make a cut-scene in the 2d game itself (not a separate screen saver, but passing under the control of the player)?

Hello. A cutscene is required at the beginning of the game. But it should not be as a separate screensaver.
2D platformer.
Principle:
Dark screen. The music begins and the voice of the announcer begins. The picture appears and we see how the camera slowly moves along the X axis, showing the vastness of the game. The movement slows down a bit and the name of the game appears on the screen, then the camera speeds up a little and we see our character. After that the camera stops and we can control the character.
Nowhere could I find an explanation of how to enable player control at a certain moment (when the camera stops on the player) and how to make this cut-scene without using the splash screen principle (as a kind of video sequence)?
Thank you all in advance!

Answer the question

In order to leave comments, you need to log in

3 answer(s)
N
Nikolai Sokolov, 2021-09-02
@NikS42

There is such a tool, unity timeline, specifically for these tasks.

M
MrSlowpoke, 2021-09-03
@MrSlowpoke

Did the same, used Coroutine. In it, you can wait for certain actions before continuing to execute the code. For example, the end of an animation or a button click. After execution, you can give the player control.

N
Nekit Medvedev, 2021-11-03
@NIKROTOS

activate the player control component when required.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question