Background image size Sprite Kit Game

后端 未结 9 2016
一生所求
一生所求 2020-12-23 09:51

i just started a new Sprite Kit project to learn how to use it. I watched and read a lot of tutorials but no tutorial has a answer for my question/problem.

I want to

9条回答
  •  梦毁少年i
    2020-12-23 10:32

    I got the same issue with you. After several days googling and trying, finally I got the key of this problem. You can try to change your scene.scaleMode several times, until you got the size which you satisfied with. I just found this last night, so if you want to know more, here is a link

    https://developer.apple.com/library/ios/documentation/SpriteKit/Reference/SKScene_Ref/Reference/Reference.html#//apple_ref/doc/uid/TP40013024-CH1-DontLinkElementID_3

提交回复
热议问题