[RELEASED] Easy Touch

Hi,

EasyTouch 3.1 is available Link to Asset Store

Web Player

Forum support

Allows you to quickly and easily develop actions based on a touchscreen, joystick button. All major gestures are recognized by EasyTouch such as tap, double tap, swipe, twist, pinch…

* New Multi-Cameras support
* New NGUI support
* New EasyJoystick 2.0
* New EasyButton 1.0
* New Reserved area
* and much more…Click here

  • All major gestures are recognized in the same time

  • Automatic object selection and multi layers

  • Remote support

  • Second finger simulation

You have all you need to create your game on mobile device, developed for mobile platforms has never been easier

EasyTouch is written in C#, it notifies you of an action by events. The events are sent by delegate system or internal messaging function of Unity

EasyJoystick allow you to create a virtual joystick in few seconde
Simpler than a long explanation, here are two videos showing you the possibility of joystick (hd mode is better) (sorry for my english)
Integrating charactercontroller

some parameter of EasyJoystick (it was the alpha version)

1 Like

Nice, is it in javascript or c#?

And how do I simulate 2 fingers with mouse on the web player?

Hi,

It is in Javascript, but in a “plugins” folder, so you can use it with C#.

EasyTouch simulates the second finger when you press the ALT or CTRL key, an orange circle appears on the screen to the simulated position.

ALT => For twist or pinch gesture
CTRL => For swipe or drag gesture

Or both simultaneously

Nicolas

Is Swipe a special case at all? I have a game object working fine with tap

function On_SimpleTap( gesture:Gesture)
{
	Debug.Log("TAP!");
}

But when I try to add Swipe i get no response

function On_Swipe(gesture:Gesture)
{	
	Debug.Log("SWIPE!");
}

I noticed in your example files you attached swipe to the same object as your EasyTouch init stuff, but I thought that the object you wanted to interact with had to be on layer 8 and have a collider.

Fantastic library by the way. Other than not being able to get at Swipe, this has saved me a ton of time.

Richie

Hi !

If you “swipe” on an object that is set in auto-select (layer + collider), you must use Drag message.
And your script (not the easytouch.js) must be on the object that received the touch

Function On_Drag(gesture:Gesture){
      Debug.Log("SWIPE!");
}

Swipe = Gesture without an object under the start of the touch
Drag = Gesture with an Object under the start od the touch

Let’s have a look at “Example-OneFinger” :

  • Load the scene example “OneFinger”
  • Easytouch.js is attached to an Empty Game Object
  • Drag.js is attached to a sphere that you can move

Ahh, I think I get it. Just drag on an item without moving it. I even see that I can still access the swipe direction from the gesture! This package is very nicely written.

I’m glad you like it

Many people asked me for the documentation before making the acquisition of Easy Touch.

You can download : Here

Just bought it :slight_smile: Excellent library !!

I made my first ipad touch demo in two seconds… No complicated delegate or prefab, just one script to drop on a game object.

Excellent work ! more of this.

Thank you,

We always try to keep it simple … The establishment of design Partern or C # is not for me a symbol of quality in all cases.

I know that for many users a library written in javascript is not a synonym of professional, I will never understand reasoning … (why do simple when you can complicate :slight_smile: )

The only limitation of Easytouch is your imagination…

i agree… what do you plan for the rest ? new library ?

We continue to enrich our offerings pakage media (skybox, effect, Nature).

The next library will be a library of artificial intelligence to the towers. It will automatically acquire their targets in different ways
The towers will shoot and acquire their targets while they are moving … And possess the usual rules for paramaters …

I say no more :slight_smile:

I have buy 1.0 version. Is update free?

Hi,

Yes, all update will be free.

But I have not received any bug, or requests for changes from users. I plan a C# migration with delegates (I will still keep sendmessage for javascript users, by a parameter)

Sorry, I don’t understand how update… I buy another time from asset store?

NO

  • Click on “MY STUFF” button on the bottom right.
  • You will see all the package you buy or free package that you are imported.
  • Click on “See complete list”
  • => You can now, Download / Import / write a review … (choose by clicking on combo button)

This is when changing the text presentation that I made a mistake by version 1.1, but there is no difference with version 1.0. But You Can download it again.

You have some issue with Easy Touch ?

do not forget to write a little review, this is always fun and allows other users to make their choice.

I’m facing an problem when trying to use it with C# code, because Javascript is somehow not compiled in the same time as C#, it gives undefined classes. The workaround is to put EasyTouch in Standard Assets folder, so Javascript gets compiled there it. It’s an annoyance as I put my packages in an external folder, a C# version is preferred.

Hi,

To use EasyTouch with C#, you must put the plugins folder in the root of your project. or Put the js script in Standard Assets folder.

Nicolas

The problem is the same for people using javascript with C # classes …

Indeed. Good package but C# version please