Hi all. I just built to my phone for the first time! Yipee!! Script works fine. I just noticed that there is a slow response from when the user presses the gui-texture to when the character actually jumps. Here’s my code:
////// This gets the touch on the screen.
Please tell me if its something I’m doing with my addforce or translate*Time.deltatime that is affecting the responce from the button
Sorry Eric!! First time posting code here. :-? (Fixed)
I don’t think I have any OnGui calls Meltdown. I am just using three invisible Gui textures as the buttons. When the user presses the button there is a small delay till the action is performed. This is problem cause if you want to jump over a ledge you have to press jump a half second before you would naturally do so.
So your saying using Gui is not the way to go with mobile devices? Is there a way to use a simple box collider as a button?