Touch (9 in 1) (Game Templates)

Discuss Scirra's 2D Asset Store

Post » Tue Mar 28, 2017 10:27 am



Touch (9 in 1) — Now for sale in the Scirra Store!
https://www.scirra.com/store/royalty-free-game-templates/touch-9-in-1-3400

Touch mechanics:

  • Scrolling along X-axis
  • Scrolling along Y-axis
  • Scrolling along both axes
  • Inertial scrolling along X-axis
  • Inertial scrolling along Y-axis
  • Inertial scrolling along both axes
  • Zooming
  • Swiping (4 directions)
  • Swiping (8 directions)

I will add new mechanics if anyone of the owners will need it.



Use this topic to leave comments, ask questions and talk about Touch (9 in 1)
B
53
S
26
G
51
Posts: 139
Reputation: 30,016

Post » Tue Mar 28, 2017 10:52 am

Cool, great work
B
48
S
22
G
12
Posts: 618
Reputation: 11,215

Post » Tue Mar 28, 2017 11:50 am

@humanescape, thank you :D
B
53
S
26
G
51
Posts: 139
Reputation: 30,016

Post » Thu Nov 16, 2017 11:48 am

@Paradine
Great work !
Each feature taken separately is excellent ! Now, we would love to be able to combine them. For example, the basic combo Swipe to scroll/Zoom. Is it something you could try implement ?
Nice capx BTW
B
38
S
16
G
5
Posts: 270
Reputation: 5,971

Post » Thu Nov 16, 2017 12:41 pm

@Laurent
Thank you!
Try to disable 63 event and manually enable "active on start" checkbox for the groups you want to work at the same time.
If you would have any problems with it, let me know your email, I will send you the capx-file with the changes you need ;)
My email: [email protected]
Thanks again!
B
53
S
26
G
51
Posts: 139
Reputation: 30,016

Post » Mon Nov 20, 2017 12:48 pm

Thanks @Paradine,
I did follow your instruction but apparently, Zoom and Scroll+ Both appear to conflict. Touch behavior for scroll makes the screen move before scroll occurs.
I'm afraid this kind one conflicts may appear with every combination. For example, if I want to combine Scroll with Swipe. How can they be differentiated ?
B
38
S
16
G
5
Posts: 270
Reputation: 5,971

Post » Wed Nov 22, 2017 4:34 pm

@Laurent
I have created the new version. Please, try it. The capx-file will appear as soon as it is accepted.
I think, Scroll and Swipe should not be combined with each other, because, scrolling is an action that happens during/after swiping. But you can combine them if they have different axis. For example you can combine vertical scrolling with horizontal swiping and horizontal scrolling with vertical swiping.
P.S. if you want to create swiping along only x-axis or y-axis you can take "SwipeFourDirections" and delete 29-31 or 32-34 events.
B
53
S
26
G
51
Posts: 139
Reputation: 30,016

Post » Thu Nov 23, 2017 5:54 pm

@Paradine
Thanks !
I just downloaded the capx and tried it and it seems to work well. Combining scroll and swipe detection can be interesting to find out the direction of a scroll movement. And scroll seems to work well with zoom.
Thanks a lot !
B
38
S
16
G
5
Posts: 270
Reputation: 5,971

Post » Fri Nov 24, 2017 10:24 pm

@Laurent
You are welcome!
May be you mean that you want type of Swipe that will show the direction of swipe not at 4 or 8 directions but angle of finger's motion should be shown or may be after swipe the arrow should show the direction? And also the distance between touch start point and touch end point should be shown?
Please, let me know, and I will add this.
Thank you, too!
B
53
S
26
G
51
Posts: 139
Reputation: 30,016

Post » Sat Nov 25, 2017 8:04 am

paradine wrote:@Laurent
You are welcome!
May be you mean that you want type of Swipe that will show the direction of swipe not at 4 or 8 directions but angle of finger's motion should be shown or may be after swipe the arrow should show the direction? And also the distance between touch start point and touch end point should be shown?
Please, let me know, and I will add this.
Thank you, too!


@Paradine
That, indeed, would be a very nice addition too ! And what about swipe speed also ?
B
38
S
16
G
5
Posts: 270
Reputation: 5,971

Next

Return to Scirra Store

Who is online

Users browsing this forum: No registered users and 2 guests