Post

Replies

Boosts

Views

Activity

Adding SKNodes to a ScrollView within a SKScene?
Is there seriously no way to add SKNodes (e.g. sprites) into a ScrollView? On Android, I've previously used CCScrollView (part of Cocos2D-X) but Xcode seems to be lacking anyway to easily create a scrollable container for SKNodes, with the extras a ScrollView brings (like the elastic bounce, scrollbars, swipe gestures, etc). I know there's UIScrollView, but I'm writing for macOS. And there's SKCameraNode, but this seems to target the whole scene. I'm just like to create a horizontal scrollable node containing lots of interactive sprites within a scene. I know I could simply make the node move in relation to the mouse x value, but that's not good as a scrollview. Thanks
1
0
550
Jan ’23