问题
I'm trying to make a pop up menu for a game, what's the best way to make it? it looks like this:

回答1:
I'll give you a high level explanation
Just create a new sknode
or skspritenode
with zPosition
of 50
or something so its above everything else, and have child nodes in it for buttons, etc. Each node can have a touches began/ touches ended
event so you can detect touches.
also don't forget to set:
self.userInteractionEnabled = true
and then each button (node) can have a texture for what you want the button to look like.
then on clicking the menu button, you can add this menu node to the parent node (the SKScene presumably)
来源:https://stackoverflow.com/questions/33241283/how-can-i-make-a-pop-up-menu-in-sprite-kit-swift