Seamless starfield

I am trying to make the starfield seamless between the 3 scenes; in other words an individual star will continue moving in the Game scene from the exact position it left in the Start scene.

So I removed the starfields objects from the Game and Lose scenes and I made them singletons with DontDestroyOnLoad() in the Start scene, exactly like the original music player.

It kind of works, in the sense that I can see the stars in the Game and Lose scenes. However, when I switch scene all the stars change to a random position, thus breaking the illusion of seamlessness. Is there a way to preserve the exact position of the particles when switching scenes?

1 Like

Privacy & Terms