Forum begins after the advertisement:


[Part 5] Tip for fixing Scene Transition issues

Home Forums Video Game Tutorial Series Creating a Metroidvania in Unity [Part 5] Tip for fixing Scene Transition issues

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #18275
    Terence
    Level 31
    Keymaster
    Helpful?
    Up
    0
    ::

    Reposting a tip from @stevanvieira3665

    One tip for those that are having troubles with the scene transition, that the variables “cutscene”, and “invincible” stay true forever. Its because this condition ” if (GameManager.Instance.transitionedFromScene == transitionTo)” never gets to be true, so the WalkIntoNewScene coroutine never runs.

    To fix this, make sure that you have a scene transition on both caves (Cave_1 and Cave_2). And in Inspector on the field “Transition To” make sure that on Cave_1 you put Transition to Cave_2, and on Cave_1 you have Transition To Cave_2. Only after this you will make the if ” if (GameManager.Instance.transitionedFromScene == transitionTo)” to be true. -Repeat this logic for other caves and transitions.

    I want to thank the hard work of this developers to put such a master piece tutorial like this. Im loving it! Thanks!

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.

Go to Login Page →


Advertisement below: