I'm trying to make touch controls for my android game. I can't figure out how to do it. Can you help

I have keyboard controls which work on the pc to move my character in this platform game I am making.

See my drawing/screenshot here: Google Workspace Updates: New community features for Google Chat and an update on Currents

However, i want to make the jump button to work with Touch controls on my phone, it will make my character jump. and my arrow keys will move him right and left and later on, in combination with jump, the up and down arrow keys will make him go up a ladder sans jump button or jump down or go down a ladder sans jump button.

Thanks ahead for your help.

I am not a programmer and have no idea what is happening.

-Line

hi
i hope this help you

good luck.

Thanks for the link but this video explains how to use keyboard controls, not touch :\

Thanks for responding though. I appreciate it.

Use the UI´s buttons :slight_smile:

I think I may have found a tutorial that does exactly what I want. I haven’t tested it out yet but this guy also make a platformer game for mobile and has buttons to move his character which seem to be working in his video. I will try this momentarily and I will update this forum post so you will know if I got it working as well.
Here’s the link:

He uses the old Gui, would be much easier with the new :wink:

Yes, I see that he uses guiTexture and the replacement is: GetComponent

I do not mean that, watch the videos I posted :stuck_out_tongue:

send me link of video Please ! Guys I having same issue!

Please don’t necro-post to six-year-old threads with content-less “ME TOO” assertions.

For one, it’s against forum rules, and for two, it’s not likely to be helpful.

Instead, START YOUR OWN THREAD… it’s FREE!

When you post, keep this in mind:

How to report your problem productively in the Unity3D forums:

http://plbm.com/?p=220

This is the bare minimum of information to report:

  • what you want
  • what you tried
  • what you expected to happen
  • what actually happened, especially any errors you see
    - links to documentation you used to cross-check your work (CRITICAL!!!)

If you post a code snippet, ALWAYS USE CODE TAGS:

How to use code tags: https://discussions.unity.com/t/481379