Auto Layout in Xcode is very cool/useful, but Auto Layout doesn’t exist in a SpriteKit Scene. That’s sucks.
After doing some researches, this part of work is not obvious.
To have an Universal game is absolutely essential for my project. No way to avoid the difficulty. So many ways to approach the problem:
- Should I implement specific levels for iPad? -> Too long/complicated, be realistic!
- Should I keep the same grid for each level but increase the size of the cases to fill the iPad? Why not, but I had the feeling to have a kind of big zoom, and a grid easier than on the iPhone.
So I decided to keep the same ratio, and use border images on iPad to “hide” the blank area. I added a part of the borders on iPhone to keep some graphical consistency.
Not sexy at all.
To avoid ugly borders with no interest for the player, I decided to add a parallax effect. The foreground borders move faster than the background. I think to add later some graphical/animation effects.