Swipe: simple method with default behaviors

2

Attached Files

The following files have been attached to this tutorial:

.capx

swipe-simple-with.behaviors.capx

Download now 172.13 KB

Stats

2,867 visits, 4,184 views

Tools

License

This tutorial is licensed under CC BY 4.0. Please refer to the license text if you wish to reuse, share or remix the content contained within this tutorial.

Published on 4 Jan, 2015. Last updated 19 Feb, 2019

This a simple method to get a swipe function.

It uses only default behaviors and no code.

For example, you can use it for a level selection:

What you need:

A sprite object empty or invisible

Width: windowwith

Height: windowheight

Behaviors

- DragDrop

- ScrollTo

- BoundToLayout

That's it. Test the attached capx.

.CAPX

swipe-simple-with.behaviors.capx

Download now 172.13 KB
  • 0 Comments

Want to leave a comment? Login or Register an account!