Hello guys,
I have been using unity3d for about 4 months now, been focusing on developing games. I have learnt a lot in these couple of months but one of my main concerns is that I started working on unity3D for developing mobile games. Unity3d allows conversion to other platforms easily but my problem is how to make mobile controls
In my current game I would like to create a swipe upward gesture from the bottom centre of the screen upwards to trigger an action. I have already triggered this action with the default “jump” button or space button.
I haven’t got any idea how to do this and I would like to know if it is as simple as the 1 line of code I have for the space button(If so can someone give me a sample?) If not can someone direct me to a good tutorial?
All help is more than appreciated
Thanks in advance to anyone that responds
PS I am working with JS and I would prefer if help is available for JS
Thanks for nothing renman3000.(I would find it nicer if you were to say you don’t know or do not have time to help me, I find your response rather degrading.)
If I was looking for something from google I wouldn’t be posting for help in here. For me to be posting it here it means I can not find exactly what I am looking for. which is SWIPE gestures + unity3D sample script tutorial/video tutorial.
Google knows all my friend. As a newbie not long ago, it was my default to ask in here for help. I still do for various things. There is nothing wrong with that. All I am saying is, if you need help with something very general, like “Touch Gestures In Unity” then google is your friend.
For instace, I just typed “unity touch gestures” in Google and guess what I got??!
This saves you time waiting around for some one to reply. If you have an issue that is more specific, google does not always help, but your question was very general.
have you seriously looked at the first page of results? I do not want to seem ignorant but this is not helpful to me. Even unity3d documentation isn’t clear enough to me. I am looking for something in the form of a tutorial and specific. http://forum.unity3d.com/threads/14219-Sliding-finger-(touch)-gesture
is an example of sample snippets but it does not explain much and me not being a coding guru it isn’t helpful in this scenario.
Someone has also mentioned finger gestures, paying 55 dollars isn’t my problem but I would rather know how to make something than have it done for me:P
I do not like being spoonfed on things especially coding(I am not good at it and will only get better when I do more of it;) )
anw if you do stumble across what I initially stated would be more than grateful to hear or see it