objective c - iOS Swipe Gesture Recogniser for a quick-paced game -


I'm new to iOS development world, so I'm starting with a game that neither Clans of Clans nor The infamous 'I am rich' I know Python and HTML / CSS, so I will be able to face computer words, but if you are able to explain any answer, then it would be good.

Shape a pattern on the screen from half to second, suppose it is 'Arrow Left, Arrow Right, Arrow Left' (in the form of an image). Then the user will have to repeat the pattern (in the right order) to proceed. Actually, I'm asking what would be the simplest / most effective way of programming? It would be great if I could easily add more patterns.

In a way I thought that it can be done that there should be an ID for each pattern, in which the pre-defined 'nodes' are swiped in a particular order, this is an advantage for this idea. That I can add patterns, although they may take some time to program. I have another idea that the user has to assign the eraser to the brush and it will find that + -95% pattern is swipeed. However, it will allow the user to swipe in any order.

Perhaps something is very easy that I can, but at the moment I do not have any idea. If it can do in Apple Swift, it would be great, but the purpose is not a problem.

Thank you in advance,

what

you Originally answered your question in the title. Take a look at UISwipeGestureRecognizer . From there you want to push gestures in an array and then want to compare current pattern array


Comments

Popular posts from this blog

winforms - C# Form - Property Change -

javascript - amcharts makechart not working -

java - Algorithm negotiation fail SSH in Jenkins -