如圖中,我想做一個輸入名字的scene

你新建一个layer 然后把在新建一个LayerColor 设置成和屏幕一样的大小 设置一下他的透明度 就行了啊 然后你再添加一下
就有这个效果了
Scene 无法透明
这不需要用scene来做,用splash sprite然后控制transparent就可以了,Scene一般是基底除非是转场情境否则一般不会换scene.
thank you so much for reply guys !!!
I created sprite and put that sprite to background behind. when I need that sprite show up, I just call ‘this.sprite.node.setSiblingIndex(x)’ !!
