[SOLVED]Cannot start a new SceneTransition in Nez

Hi,

I’m using Monogame 3.5 with Nez in my personal project. When I try to use the Core.startSceneTransition function I get the following message on screen:

I’m calling the function like this:
Core.startSceneTransition(new FadeTransition(() => new MyScene()));

My idea was to activate the transition when the player is on the edge of the scene. Am I forgetting something for the transition to work?

Make sure you don’t trigger it twice in a row. I.e. don’t do

public void Update()
{
    if (player at edge of screen)
        start transition
}

but do

public void Update()
{
    if (player at edge of screen AND not transitioning)
        start transition
}
1 Like

It’s working now! Thank you for the tip!

1 Like