PlayMaker Help & Tips > iOS Help
Trying to create an FSM for swiping through pages.
(1/1)
smiffy:
So what I want to do is very similar to the functionality of the iphone home screen.
Multiple pages that the user swipes to move through.
The page follows the finger and springs back when released.
Depending on where its released it will either spring to the current page or next/previous page.
Recreate the last/first page spring effect on iphones/ipad.
And probably at some point be able to pinch to zoom and move the screen within the constraints of the current page. Oh and double tap to zoom in/out on specific parts (like safari)
So I'm just wondering if anyone out there has any thoughts on where to start, things I should bear in mind, or even has anything to share? Any help would be appreciated.
Cheers,
Matt
jeanfabre:
Hi,
I created a bridge for Input.touches, and in there, you'll have a drag system that will be a good base for you to develop such swiping feature. What you are willing to achieve is quite an advanced feature tho.
https://hutonggames.fogbugz.com/default.asp?W961
you'll need to purchase Input.touches tho, else you can do without, but the level of complexity will increase.
bye,
Jean
smiffy:
Thanks, bought input.touches will let you know how I get on.
Matt
Navigation
[0] Message Index
Go to full version