i wanna stop everything first time someone plays the game and show them an image of how to play and when they tap on screen game starts.
i don’t know how to make everything stop
i wanna stop everything first time someone plays the game and show them an image of how to play and when they tap on screen game starts.
i don’t know how to make everything stop
what do you mean by custom event?
https://docs.cocos2d-x.org/api-ref/creator/v1.5/classes/EventTarget.html
You emit an event that says “everyone stops now”
every node that cares this event should have a script with a subscription to the event and stop(the code of what’s stop means depends of you)
I endorse the way Andres_IC suggested for three reasons:
Thanks guys