How to use a sprite sheet in swift and sprite kit?
问题 Title says it all. How do i use a sprite sheet in swift and sprite kit? I've searched google, stack exchange, and the apple documentation and I can't figure this one out. 回答1: In xcode 7, you can use Images.xcassets to create a sprite atlas. Click on Images.xcassets Click on the plus bottom in the bottom left Select "new sprite atlas" Then you can drag and drop all your images into the atlas If you drag in all three image sizes with the proper suffix (@2x and @3x) it will automatically