Cocos2d Engine - Pause , resume

后端 未结 3 1026
再見小時候
再見小時候 2021-02-10 18:51

I have a game scene which has 2 layers as shown below , when the user taps the Pause button am adding a Pause window layer as a child to Status bar layer. Game is in progress so

3条回答
  •  星月不相逢
    2021-02-10 19:06

    Add a new layer when the user press the button "pause", a "pause layer" with a button resume, it may resolve your problem but i don't know if it's the right solution.

    Maybe this link may help you Cocos2d pause

提交回复
热议问题