So, we need follow new rules for iPhone X and with SpriteBuilderX it’s so easy.
WYSIWYG editor gives you ability to configure scene without even running and testing it on actual device.
Here is my result so far:
I’ve added this
AdoptGUIDemo.spritebuilder project into SBX demo on github. So you can check how I can adopt GUI for all devices like iPhone 5, 6, 7, 7+, iPhone X, any iPad’s and actually any resolution.
Here is quick setup for this SBX project:
First, in project options,
Scenes scale type should be
Second, nodes hierarchy should be like this:
And finally, options for CCNodeGUI:
Please note, that it’s my idea of how I will probably adopt my game for iPhone X and along with it all other resolutions.
For sure you can do it whatever you like, but make sure to check Apple recommendations/ requirements.