I’m at the point of designing my game and I’m struggling with how to deal with a variable game map, made up from SpriteKit tiles where the user can zoom and pan around at will.
Is this whole grid of tiles inside a uiscrollview or is there another better (easier) way to deal with this problem?
Really? No help is almost 3 weeks?
@annemarie1185 Do you still have issues with this?
Yes, I do. I haven’t got my code working to the point where I can implement a plain old scroll view and start putting things in it to test, so I was asking before I went down a dead end, on how best to do this… and as you see, no one offered any help.
Hi @annemarie1185, UIScrollView is not going to work for you instead you should use SpriteKit’s camera
With the help of touch events you should be able to move the camera through your map and by scaling your map you’ll be able to mimic zoom
Hope it helps
Finally an answer! I’ll look at that solution.
This topic was automatically closed after 166 days. New replies are no longer allowed.