Home 4 › Forums › General Support › Empty iOS and tvOS Starter Kit
This topic contains 1 reply, has 2 voices, and was last updated by Justin 2 years, 6 months ago.
How can i move a character with an dpad, thumbstick or similar onscreen controls like in the platform kit? Can someone help me with this? The documentation shows only the solution for the TVos version but i like to test this on my iPhone.
The controls in the Platform Games Kit are taught in this course…
Swift and Sprite Kit Control Systems Video Tutorials
Or if you’re looking for simple swipe gestures, this course discusses that as well…
tvOS Video Tutorials for Game Development with Swift 2 and Sprite Kit
You might want to check that out, because I actually kind of prefer some of the quick swipes for moving characters. Its not the fanciest way of doing it, but it can be fun.
Also if you wanted to just take the code from the Platform Games Kit, just look for the touchesBegan, touchesMoved, touchesEnded functions. Most of it should be in there.
You must be logged in to reply to this topic.
Become part of the CartoonSmart Team with our Affiliate Program
Make recurring money when you refer a subscriber. 30 day tracking. Commissions 33%-50%!
Uh oh, missing your affiliate ID. Create one real quick