I was wondering how I would get a node to be swiped in one of eight direction and the node to travel in that direction. I would only want it to be able to be swiped in the following directions: swiped up, top right, right, bottom right, down, bottom left, left and top left. I am new to sprite kit and swift so I am not sure how I would do this. Any help would be appreciated!

Related posts

Recent Viewed