BipolarDesign's Swipe Control Widget on the ClickStore
On-screen controls and tilt-to-control are great for some games, but others play best on mobile with a form of control only available on touch devices: Swiping!
Introducing the Swipe Control Widget, new in my series of BipolarDesign Control Widgets! This widget can detect both Swipes and Gestures, with the possibility of creating your own custom gestures, and comes with TWO starter game engines:
1) A swipe-based platform engine using the Platform Movement Object and some physics effects, similar to the Rayman games on mobile!
2) A top-down combat engine with waves of enemies coming from all directions, swipe on the screen to attack and use gestures to perform special abilities!
Here's a preview of the game engines, and a look at the included debug frame to see how the widget works:
You can use the Swipe Control Widget to find when the user swipes on the screen, what direction they swiped, and what gestures they are using. It's super easy to use, here's a couple sample events that would go in place of, for example, "Upon Pressing Right Arrow" and "Upon Pressing Left Arrow":
Custom Gestures are as easy as adding an event to the Swipe Widget's behavior code, here's an example of a "shake" gesture, where the user swipes back and forth:
As you can see, gestures are simply made up chains of swipes. If you think of them in this way, they become incredibly easy to customize to your liking!
Check out the Swipe Control Widget on the ClickStore, and let me know about the awesome games you create with it