I am using an overlay scene to display player item counts (lives left etc). In the console I receive a warning :
scene score already exists, not added !
This appears when the player dies and I restart the scene.
What I would like to do is test if the overlay scene exists and only add if required. I am familiar with getCurrentScene. Is there a way to get a list of all scenes i.e getSceneList ??
Thanks for the replies. So the answer is no you can’t test for an overlay scene using python.
To Siegel:
I have thought of a couple of work arounds. For my game I think the simplest will be to reposition the player to the start position. But removing the overlay scene will be needed in a couple of situations.