Screens are not syncing from main screen to game screen and game over screen.

I am developing a simple game in which there are 3 screens. Main screen(play, setting, information), Game screen(play, score, die, point), gameover screen(reply, restart).

the problem is when my main screen start at the same time gameplay screen objects are also initiated. becase when i click on play button from main screen the objects on game screen are already running in middle instead of start. and at the game oer screen when i click on reply or restart, the more objects are apprear and collision of obstacle come multiple places.

please suggest to manage different screen and their objects. Thanks in advance for this.

There’s not enough information here. Are you using Composer?

no, only newGroup() i am using.

how can i use composer for different screens? do you have any link for that?

That’s what it’s for:

https://docs.coronalabs.com/api/library/composer/index.html

https://docs.coronalabs.com/guide/system/composer/index.html

https://docs.coronalabs.com/guide/programming/04/index.html

http://masteringcoronasdk.com/composer/intro-to-composer-scene-management/

https://www.youtube.com/watch?v=pSUBl99E_iM

https://www.youtube.com/watch?v=F07Fc8vNTn0

There’s not enough information here. Are you using Composer?

no, only newGroup() i am using.

how can i use composer for different screens? do you have any link for that?

That’s what it’s for:

https://docs.coronalabs.com/api/library/composer/index.html

https://docs.coronalabs.com/guide/system/composer/index.html

https://docs.coronalabs.com/guide/programming/04/index.html

http://masteringcoronasdk.com/composer/intro-to-composer-scene-management/

https://www.youtube.com/watch?v=pSUBl99E_iM

https://www.youtube.com/watch?v=F07Fc8vNTn0