I'm certain this has been asked before, but I do not want to use sks files. I have some very old Cocos2d code that I'm trying to port without a complete rewrite. I would rather programatically move my scene sprites around based on the screensize and do it in Obj-C.
It is unclear to me how to do this. I sort of found an answer here: https://stackoverflow.com/questions/43927323/are-spritekit-scene-sks-files-necessary-in-my-project
Tried to do something equivalent in Obj-C, but got no where.
What part of the Stack Overflow answer didn't work? What did you try that didn't work?. If you look at the
SKScene
class documentation in Xcode, there's aninit
function to create a scene in code without using a.sks
file.