Zooming and scrolling in SpriteKit
I am new to SpriteKit. I need to display an image via UIImageView OR
SpriteNode (it is a background image for a game). However, I need the user
to be able to zoom in to the background and pan around. I accomplished
this easily without using SpriteKit but cannot figure out how to make a
node accept zoom and pan. If I use UIScrollView in the storyboard, all the
sprites added in my scene don't become children and will not zoom or pan.
Is it possible and can you point me in the right direction?
No comments:
Post a Comment