TOUCH CONTROLS in Unity!

แชร์
ฝัง
  • เผยแพร่เมื่อ 29 พ.ย. 2024

ความคิดเห็น • 1.6K

  • @David-vz4yk
    @David-vz4yk 4 ปีที่แล้ว +976

    4:31 ”after all you do have five fingers”
    Me with ten fingers: confused screaming

    • @KashTheGamerYT
      @KashTheGamerYT 4 ปีที่แล้ว +7

      haha

    • @Bruzen
      @Bruzen 4 ปีที่แล้ว +5

      Same

    • @Rainlars1031
      @Rainlars1031 4 ปีที่แล้ว +9

      I actually did this before reading the comment

    • @danielsp500
      @danielsp500 4 ปีที่แล้ว +1

      LOL

    • @codinghub3759
      @codinghub3759 4 ปีที่แล้ว +6

      We have 10 toes as well.

  • @beaujanssen6243
    @beaujanssen6243 6 ปีที่แล้ว +2499

    Actual reason to buy pro, *dark theme*

    • @ankurbanerjee6607
      @ankurbanerjee6607 6 ปีที่แล้ว +27

      Exactly

    • @haim96
      @haim96 6 ปีที่แล้ว +29

      plus will be enough for the dark theme

    • @hiiammatthew8735
      @hiiammatthew8735 6 ปีที่แล้ว +26

      After every unity update I’m changing hex to make dark theme for free

    • @chikato7106
      @chikato7106 6 ปีที่แล้ว +1

      When I can afford it I'm sure the team workflow is great.

    • @mygames545
      @mygames545 6 ปีที่แล้ว +21

      I have pro because my mobile game I don't want to show people made with unity

  • @_game_x7847
    @_game_x7847 3 ปีที่แล้ว +19

    Brackeys is the best if u want to learn anything on unity

  • @MicMan2710
    @MicMan2710 4 ปีที่แล้ว +40

    I'm gona miss awesome videos like this. This was the only channel that answered all my questions in a short and simple video.

    • @haroona.9790
      @haroona.9790 4 ปีที่แล้ว +2

      i know

    • @FyreflyStudios
      @FyreflyStudios 2 ปีที่แล้ว

      I am trying to fill the gap with my channel. commit if you get stuck, and ill answer the question with a video

    • @AnshYadav-iq6gu
      @AnshYadav-iq6gu 23 วันที่ผ่านมา

      Us bro us

  • @mygames545
    @mygames545 6 ปีที่แล้ว +771

    Plz do more about mobile and optimization sir
    Because I trust you

    • @user-tn7jr9bt5t
      @user-tn7jr9bt5t 6 ปีที่แล้ว +6

      Lol

    • @mygames545
      @mygames545 6 ปีที่แล้ว +5

      @@user-tn7jr9bt5t 😂

    • @emonikino
      @emonikino 5 ปีที่แล้ว +1

      he's into something more sophisticated hardware than mobile phones. even if he wanted to, he needs to learn about it like the rest of us. unfortunately, not likely your wish gonna happen soon (or ever)

    • @zombrexgame6670
      @zombrexgame6670 5 ปีที่แล้ว +1

      @@user-tn7jr9bt5t omg L commented🤚
      Btw * i a m k i r a*

    • @SowedCastelli
      @SowedCastelli 4 ปีที่แล้ว

      😂😂😂😂😂😂😂

  • @kmmmnnrlecris9895
    @kmmmnnrlecris9895 6 ปีที่แล้ว +142

    SOURCE CODE:
    using System.Collections;
    using System.Collections.Generic;
    using UnityEngine;
    public class Movement : MonoBehaviour
    {
    void Update ()
    {
    if (Input.touchCount > 0)
    {
    Touch touch = Input.GetTouch(0);
    Vector3 touchPosition = Camera.main.ScreenToWorldPoint(touch.position);
    touchPosition.z = 0f;
    transform.position = touchPosition;
    }
    }
    }

    • @dailyspace8091
      @dailyspace8091 4 ปีที่แล้ว +2

      OMG YOU ARE A LIFE SAVER!!! i accedantly deleted the code and i came back here to re type it then i saw your comment THANK YOU SO MUCH

    • @gamedevperson
      @gamedevperson 4 ปีที่แล้ว +2

      good boi I ill sub for doing that

    • @dayls8545
      @dayls8545 3 ปีที่แล้ว

      Do you know how to make it work in 3D?

    • @TheEarlPH
      @TheEarlPH 3 ปีที่แล้ว +1

      2 years late but, Thanks!

    • @mandyronald8187
      @mandyronald8187 3 ปีที่แล้ว

      saver of all times

  • @scxlez
    @scxlez 5 ปีที่แล้ว +804

    $125 per month...
    I can barely afford internet.

  • @nelzster01
    @nelzster01 4 ปีที่แล้ว +54

    Thanks for this, few extra things I found that weren't very obvious: 'ScreenToWorldPoint' only works when camera is in orthographic view coz of z depth. Also if you can't see debug.drawline in game view, make sure 'selection wire' is enabled in scene view and camera near clipping mask is set to 0 else you wont be able to see it.

  • @JoligonOne
    @JoligonOne 4 ปีที่แล้ว +450

    Hmm video summary : asset store->Joystick [Install]

    • @lem2004
      @lem2004 4 ปีที่แล้ว +9

      Thank you for your time

    • @hikozam2675
      @hikozam2675 4 ปีที่แล้ว +2

      Yes fx hominem men mm green

    • @not_herobrine3752
      @not_herobrine3752 3 ปีที่แล้ว +16

      for me, some rocket science is involved in the process, including ensuring that the correct version is selected, sifting through endless stack overflow and unity forum pages on why i cant download the package, messing with the firewall, crying in a corner, you know, the normal stuff

    • @idkidc1885
      @idkidc1885 3 ปีที่แล้ว +2

      How so you connect it to your player

    • @xaviervelez9692
      @xaviervelez9692 3 ปีที่แล้ว

      I think you are missing the transform part

  • @jirue
    @jirue 6 ปีที่แล้ว +2

    Dude, are you a psychic? I was just talking to my friend about a phone app he wants to make and here you come out with a tutorial which I can use to build the idea in Unity. Nice work!

  • @ysundawa
    @ysundawa 4 ปีที่แล้ว +4

    Watched many of your tutorial, just realize that your Visual Studio font setting is arranged in such way that is easy for us to read it... (ie ; should be big and bulky on your real monitor). Thanks Brackeys !

  • @Gathrey
    @Gathrey 5 ปีที่แล้ว +72

    Simply amazing! Whenever i'm stuck with something, there is always a Brackeys tutorial waiting to help me out! Thank You!

    • @xoduk
      @xoduk 3 ปีที่แล้ว +3

      Seriously though! Literally anything I need help with there happens to be a Brackey's tutorial on.

  • @zachenright
    @zachenright 6 ปีที่แล้ว +378

    Any intermediate tutorials coming soon?

    • @Brackeys
      @Brackeys  6 ปีที่แล้ว +71

      Would love to do some! If there is any particular subject you would like we have a video_suggestions channel on Discord where you can suggest and vote on topics, feel free to add something there :)

    • @ukaszskabowski9025
      @ukaszskabowski9025 6 ปีที่แล้ว +4

      Fading out objects in front of camera view (between camera and player) would be great

    • @NoMercy8008
      @NoMercy8008 6 ปีที่แล้ว +3

      Lukasz, my first suggestion would be to cast a ray from the camera towards the player (probably each update) and if the ray hits anything obstructive, just hide whatever it hit (maybe by just deactivating the renderer component on that object) :D
      You could probably also keep a list of currently hidden objects so that you can a) ignore them when they are hit by the ray whilst already hidden and b) make them visible again when they are no longer between the cam and the player.
      That's at least what I would try first :) But there's probably a better/more performant solution.

    • @ukaszskabowski9025
      @ukaszskabowski9025 6 ปีที่แล้ว +1

      This isn't much problem for me, but creating half-transparent material is. My model is voxel and I can see part of faces in back of the model, and it looks ugly. In other cases (I've tried many shaders) my model isn't casting or receiving shadows. Eventually creating good half transparent shader is really hard.

    • @zachenright
      @zachenright 6 ปีที่แล้ว +1

      Łukasz Skabowski dont cubes/objects have some sort of transparency option you could change? Or is that a option from another game engine im thinking of.

  • @foreducation408
    @foreducation408 2 ปีที่แล้ว +2

    Brackeys videos still helping me to this day, it's like Brackey is immortal in our hearts.

    • @jozimastar95
      @jozimastar95 2 ปีที่แล้ว +1

      after 3 years I end up in the same location

  • @pumares371
    @pumares371 6 ปีที่แล้ว +84

    Please create a video about good settings for a mobile game that needs to be responsive for multiple screen resolutions or aspect ratios

    • @rotteclaw234
      @rotteclaw234 6 ปีที่แล้ว +3

      Anyone who has a good tutorial about this? Im also kinda stuck on this

    • @huseyin.goktas
      @huseyin.goktas 6 ปีที่แล้ว +1

      It actually depends on your game type. There is no unique solution. But it is a pain the ass situation for Android developers.

    • @chikato7106
      @chikato7106 6 ปีที่แล้ว +2

      I have my game scaling from 1080p which probably works for most people. But I too will face this problem one day. My solution is to do all the math, logic, and code myself creating a responsive and setting system.

    • @me.unpredictable280
      @me.unpredictable280 4 ปีที่แล้ว

      @MR Zeus found one yet?

    • @darox3549
      @darox3549 3 ปีที่แล้ว

      @@me.unpredictable280 Found one yet?

  • @Aryan-fd9yv
    @Aryan-fd9yv 2 ปีที่แล้ว +1

    Just to clear out for those of you who's phone isnt doing anything, ur gonna have to go to "about phone" then tap "build number" 10 times, this will enable developer options, then just turn on usb debugging and itll work

  • @DillyzThe1
    @DillyzThe1 5 ปีที่แล้ว +17

    Finally, *_a sponser that makes sense_*

  • @soulage9888
    @soulage9888 6 ปีที่แล้ว +2

    I busted my back for three days working on my controls with a swipe 3rd person camera
    And when i finished you decided to upload a video about touch controlls
    I feel so stupid 😂
    Keep up the good work 🌷

  • @orbitalstudio53
    @orbitalstudio53 4 ปีที่แล้ว +14

    I am working on creating a game for android. I try to start earning some money from doing what I like. This tutorial helped me.

  • @fluffystuff
    @fluffystuff 2 ปีที่แล้ว +2

    brackeys tutorials makes my day

  • @harshdeepdwivedi9731
    @harshdeepdwivedi9731 6 ปีที่แล้ว +3

    Thanks for turning in at Brakeys!

  • @raverecage
    @raverecage 4 ปีที่แล้ว

    The only tutorial that made sense to me. Maybe I am now used to a bit of coding... I always avoided touch controls every since i started messing around with unity. Thank you so much.

  • @pekarnik1
    @pekarnik1 5 ปีที่แล้ว +50

    Thank you man!! I got a job because of you!)

    • @daviddabreo9895
      @daviddabreo9895 4 ปีที่แล้ว +2

      seriously?

    • @cow4025
      @cow4025 4 ปีที่แล้ว +2

      Holy shit nice

    • @spru_sky
      @spru_sky 4 ปีที่แล้ว

      Good for you!
      ❤️

    • @victorrus01
      @victorrus01 3 ปีที่แล้ว

      You should make a video about your story!

  • @yanvitor9123
    @yanvitor9123 6 ปีที่แล้ว

    This chanel is a gold mine

  • @abdullahsalih493
    @abdullahsalih493 6 ปีที่แล้ว +319

    we need "Endless Runner" Game tutorial

    • @senko784
      @senko784 5 ปีที่แล้ว +21

      Well u just have to set the running to be always true , then when u hit smth to stop its simple

    • @equation1321
      @equation1321 5 ปีที่แล้ว +7

      Стилян Кръстев big brain

    • @demigodbga6280
      @demigodbga6280 4 ปีที่แล้ว +3

      @@senko784 I have no clue how to do that...zero coding knowledge/experience here

    • @senko784
      @senko784 4 ปีที่แล้ว +10

      @@demigodbga6280 well if thats the case u will need to learn some programm language (I recommend C#) and just follow a basic tutorial about player movement and other stuff. Programming isnt hard if u put some effort on what u want to do

    • @demigodbga6280
      @demigodbga6280 4 ปีที่แล้ว +3

      @@senko784 Thanks for the advice, I really appreciate your positivity ;)

  • @JadenAccord
    @JadenAccord 6 ปีที่แล้ว +2

    Every video that I watch I keep remembering when I just found you in like 2013, with the survival game tutorial. You came a long way

  • @p3ngy21
    @p3ngy21 4 ปีที่แล้ว +41

    0:39
    so... so dark mode isnt... the most important thing.

    • @omanshsharma292
      @omanshsharma292 4 ปีที่แล้ว +1

      ofcourse it is!!!

    • @luckyizzac
      @luckyizzac 3 ปีที่แล้ว

      @Crimson stoped playz then you are lost!

  • @pranjalchaudhary4206
    @pranjalchaudhary4206 4 ปีที่แล้ว +1

    Glad this channel exist

  • @Lelouchishere
    @Lelouchishere 6 ปีที่แล้ว +4

    This channel is like the Enlightenment tree for me, respect Sensei!!

  • @Rex-nk1zj
    @Rex-nk1zj 4 ปีที่แล้ว

    Sir your tutorials are really easy to understand

  • @ntrg3248
    @ntrg3248 6 ปีที่แล้ว +8

    What great timing! I recently started a project, pong but with power ups, and I want to add mobile controls

  • @shivamchauhan2673
    @shivamchauhan2673 6 ปีที่แล้ว +1

    Again a great tutorial.
    I also want to say, that guy Chintao is donating to u since 2-3 yrs and is shown in every of your video.
    So call his name too in other video to show this guy a respect.
    He is the evergreen supporter of u.

  • @howchannel4414
    @howchannel4414 6 ปีที่แล้ว +5

    I love this channel and the free tutorials

  • @XtrminatR7
    @XtrminatR7 11 หลายเดือนก่อน

    Why does this guy have everything I ever wanted.

  • @alin97
    @alin97 6 ปีที่แล้ว +18

    Thank you sir, i was struggling with touch controls for 2 days, this video came like a blessing XD

  • @quaintgamestudio6149
    @quaintgamestudio6149 2 ปีที่แล้ว

    this man saves my life thousand times, i love you braeckys

  • @alpersaritas
    @alpersaritas 6 ปีที่แล้ว +9

    At last Omg I've been waiting for this for a long time thank you guys

  • @osamamghazal
    @osamamghazal 5 ปีที่แล้ว

    I am a UI UX Designer but watching this is very insightful for me as a designer who never had the chance to design for games before. Interesting new logic I learn here. Thanks :)

  • @quaintgamestudio6149
    @quaintgamestudio6149 6 ปีที่แล้ว +14

    👌I think purple is your favorite color😉

  • @Dabeer14
    @Dabeer14 2 ปีที่แล้ว

    Brackeys Is Just Simply Amazing

  • @masterank2005
    @masterank2005 4 ปีที่แล้ว +8

    Please tell about how to do tap and hold movement.
    Just like the movement if cube in cubethorn by tap and hold not a or d

  • @tpglogin7410
    @tpglogin7410 4 ปีที่แล้ว

    InfinityPBR the ultimate patreon

  • @israelrangreji2855
    @israelrangreji2855 6 ปีที่แล้ว +14

    At last,waited for this tutorial for such a long time

  • @tonytran07
    @tonytran07 3 ปีที่แล้ว +2

    I miss you, old friend.

  • @MsWhiskey974
    @MsWhiskey974 5 ปีที่แล้ว +10

    12:25 actually it's more like the deadzone of the stick.

    • @MaxIgnoramus
      @MaxIgnoramus 4 ปีที่แล้ว

      I was thinking the same while watching this and noticed the prefab sticks already offer the deadzone variable

    • @mauriciomb55555
      @mauriciomb55555 4 ปีที่แล้ว

      only difference is that with deadzone, the stick doesn't move until you drag past it.

  • @AleksVHaecky
    @AleksVHaecky 3 ปีที่แล้ว +11

    Be cautioned! on Windows, it's a bit of a chore. It took me a couple of hours to get it working. You need the exact right versions of the JDK and SDK, and the Unity Hub is not necessarily helpful (I ended up just installing a version of Unity that the Hub supports). I also installed Android Studio to have a cross-reference for debugging and the SDK manager. You may need drivers for your device on Windows, and should restart and reboot everything multiple times. Note that your device may work with Unity, but not show up in the File Explorer; use the Device Manager. And turn off your virus scanner (that's a big one). It's not hard, just fiddly and occasionally infuriating.

  • @momo-zr1tz
    @momo-zr1tz 6 ปีที่แล้ว +12

    Please more videos about mobile games and touches 🙏🙏

  • @DePistolero
    @DePistolero 6 ปีที่แล้ว +2

    Every single tutorial here, I learn more than you show.... so much more...

  • @ayushkumar4922
    @ayushkumar4922 6 ปีที่แล้ว +40

    Still remember that video called do you need unity pro....that started with one word...nope!

    • @grandmasterskitz748
      @grandmasterskitz748 6 ปีที่แล้ว +9

      That's still true. You don't have to have unity pro to develop a game. However, you cannot post your game commercially without pro or they own full rights to your game.
      Pretty much it's worth getting the pro version regardless if you do it just before posting your game or if you get it from the start of your project.
      But how cool is that free multiplayer server Pro offers?!?
      I'll close with this statement. I think Brackey is a very professional and very talented programmer that deserves some royalties and recognition for his work. Good for him! He's shown me some pretty cool programming tricks over the years. So I'm glad to see him succeeding and still doing free tutorials.

    • @ayushkumar4922
      @ayushkumar4922 6 ปีที่แล้ว +6

      I do not mean to mock him. I myself have learned everything about game dev from him....so sorry if that comment seemed rude.

    • @alimertc
      @alimertc 5 ปีที่แล้ว +2

      @@grandmasterskitz748 you can post your game commercially?

    • @alexcubed4270
      @alexcubed4270 5 ปีที่แล้ว +3

      @@alimertc yes, afaik there's just a threshold as to how many money you're allowed to make

    • @GreyHatGenX
      @GreyHatGenX 5 ปีที่แล้ว +13

      @@grandmasterskitz748 not true, you can make up to 100,000 per year, any amount over that you have to pay royalties to Unity. They never "own" your game.

  • @Fggg160
    @Fggg160 5 ปีที่แล้ว +1

    I LOVE YOU BRACKEYS THE BEST TUTORIALS DONT STOP BRO!

  • @ArthurCousseau
    @ArthurCousseau 6 ปีที่แล้ว +66

    "This is just an array, which means a... list"
    WTF HE SAID THAT
    Great video anyway! :)

    • @eatYoself
      @eatYoself 3 ปีที่แล้ว +3

      Im probably wrong but I figured he only said that for the python programmers would know an array as a list.

  • @TheRitesh41
    @TheRitesh41 4 ปีที่แล้ว

    man you helped me . you're a good teacher.

  • @crunchpvp3446
    @crunchpvp3446 6 ปีที่แล้ว +7

    Finally an android tutorial. Thanks Brackeys!

  • @antoniovictors.4374
    @antoniovictors.4374 4 ปีที่แล้ว +1

    For those who are having trouble with *Unity* *Remote* & Unity 2019.3.3. Try manually specify your sdk folder.

    • @wagon7052
      @wagon7052 4 ปีที่แล้ว

      i am new to unity and stuff wtf is a sdk could you maybe tell me and where do i find it?

    • @antoniovictors.4374
      @antoniovictors.4374 4 ปีที่แล้ว +1

      ​@@wagon7052
      Your Unity install must have the Android modules installed. You can install it by checking *"Android* *Build* *Support"* when installing a new version of Unity on Unity Hub.
      To manually specify your sdk folder (only if Unity Remote does not work):
      Go to Edit > Preferences > External Tools and uncheck "Android SDK tools installed with Unity".
      Manually enter the path to the folder where the SDK is located. It is usually "C:\Users\user\AppData\Local\Android\sdk". But that path may change depending on where Unity is installed.
      Restart Unity after that.

    • @wagon7052
      @wagon7052 4 ปีที่แล้ว +1

      @@antoniovictors.4374 ty man rly appreciate the help

  • @shaikhaaves6645
    @shaikhaaves6645 6 ปีที่แล้ว +6

    Thank you, I always wanted to learn this!!!!!
    You are Awesome, Bro!!!!!

  • @warjmen1
    @warjmen1 6 ปีที่แล้ว +9

    Can you please do a tutorial on the character movement with a joystick based on an isometric view?? It would really help me a lot! :)

  • @ashcatchem7206
    @ashcatchem7206 5 ปีที่แล้ว +6

    this is great !
    Good sir ! it will be awesome if you make more videos about advanced mobile inputs such as drag, swipe, hold, tap.
    you really helped me grow as game developer.. really thanks for everything you did !

  • @ThylineTheGay
    @ThylineTheGay 4 ปีที่แล้ว

    Nice reverb effect!

  • @iconsumeplutonium
    @iconsumeplutonium 6 ปีที่แล้ว +8

    Can you please do a video about implementing multiplayer in a game

    • @tylerstyle307
      @tylerstyle307 5 ปีที่แล้ว

      that would be really nice

    • @lostboycmd
      @lostboycmd 5 ปีที่แล้ว

      He made a whole multiplayer FPS tutorial a few years ago, that's probably a good place to start

  • @newyoyo9134
    @newyoyo9134 3 ปีที่แล้ว

    Your smile make your lecture Easy!

  • @gammingwithabreeze6532
    @gammingwithabreeze6532 5 ปีที่แล้ว +6

    Could you do a tutorial on 3d movement with touch screen plz

  • @moosesnWoop
    @moosesnWoop 4 ปีที่แล้ว

    Almost 1 mil subs dude! Just subscribed myself now after a few good months. Everytime I search for something about unity, you have a tutorial for it, so I mean you're a good sAuCE of information.

  • @Avidi
    @Avidi 6 ปีที่แล้ว +5

    I use controls similar to this for my mobile zombie game. Thank you for uploading this. Id love to hear your opinion on my game if you ever have a chance I upload devlogs to showcase it.

    • @Zzz-jz3bn
      @Zzz-jz3bn 6 ปีที่แล้ว

      Does anyone want to have a studio with me developing games
      Connect with me here at TH-cam grob :
      :) Join here: youtu.be/join/ct-xb5Juht-W60

    • @johnrodgers2844
      @johnrodgers2844 6 ปีที่แล้ว

      Hit me up if you need a level designer

    • @Avidi
      @Avidi 6 ปีที่แล้ว

      Yea sure thing!

    • @johnrodgers2844
      @johnrodgers2844 6 ปีที่แล้ว

      @@Avidi damianjaku11@gmail.com

    • @funnyman2097
      @funnyman2097 6 ปีที่แล้ว

      Whats the game called?

  • @lilalala8946
    @lilalala8946 6 ปีที่แล้ว

    I first thought that you said that it was a crap sprite. (3:35) and then "let's move this crap sprite around" came and I thought it was too cute for you to say that it was crap and understood. Thanks for the cool intro tutorial :D

  • @yakanashe
    @yakanashe 4 ปีที่แล้ว +3

    4:30, yeh right! i was missing 5 already!

  • @trendingshorts3501
    @trendingshorts3501 5 ปีที่แล้ว

    Bro u r best gaming teacher in the world
    Your teaching technique is so awesome 🤩🤩🤩🤩🤩🤩🤩🤩🤩

  • @martinmihaylov9416
    @martinmihaylov9416 6 ปีที่แล้ว +18

    I'M WAITING FOR THIS VIDEO FOR MONTHS.. TNX

    • @flgaming2165
      @flgaming2165 6 ปีที่แล้ว

      Months I've been waiting since 2016

    • @martinmihaylov9416
      @martinmihaylov9416 6 ปีที่แล้ว

      Xd

    • @sharklygoldman4040
      @sharklygoldman4040 6 ปีที่แล้ว +2

      All of this is in the documentation that you can read in 10 minutes.

    • @EcoAku
      @EcoAku 5 ปีที่แล้ว +1

      @@sharklygoldman4040 It seems some people will never make any research, not even the most basic like looking at Unity's documentation... that usually pops up first on a Google request. They probably just stay idle for... years(!!!... 2016 OMG) in front of their computer's screen, brain switched off, only clicking on their browser's refresh button, hoping at each reload of Brackey's TH-cam page that he has uploaded an exact answer to their tiny need.
      Newborns waiting to be fed and unable to evolve into food finders - in other words: eternal beginners.

    • @sharklygoldman4040
      @sharklygoldman4040 5 ปีที่แล้ว

      @@EcoAku LOL. So true. And surprisingly these people still find a way to make money by stealing other people's hard work and claim it as their own.

  • @4DoGamerHDD
    @4DoGamerHDD 2 ปีที่แล้ว +1

    For Android Users. You need to set up "charge only" mode for the USB cable. Data transfer mode wont work. If it still doesnt work, turn on USB-Debugging in the settings of your phone

    • @Ascyt
      @Ascyt 2 ปีที่แล้ว

      how

    • @4DoGamerHDD
      @4DoGamerHDD 2 ปีที่แล้ว +1

      @@Ascyt USB-debugging is in the developer settings. And on my S10 at least the USB-cable setting is in the notifications menu at the top of the phone

  • @FireFlix
    @FireFlix 5 ปีที่แล้ว +4

    I'd only buy pro for that dark theme/game server. Tutorials? I'd just watch you :)

  • @bruhman1681
    @bruhman1681 4 ปีที่แล้ว

    i like this guys smile

  • @RogerTheil
    @RogerTheil 6 ปีที่แล้ว +4

    Btw thank you for this! I've been making a game that I eventually want to put on mobile, so now I can stop procrastinating that part of it 😂

  • @Jamie-MrJam
    @Jamie-MrJam 5 ปีที่แล้ว +2

    If you're making a game that requires a virtual joystick or buttons, try to see if there is a better option using touch screen gestures first. If it's a platformer, maybe swipe to jump for one example. Just be creative with your inputs!

  • @johnrodgers2844
    @johnrodgers2844 6 ปีที่แล้ว +17

    I was actually looking for a video like that *thanks* by the way could you try to continue with your FPS series

  • @glogowatz_7526
    @glogowatz_7526 4 ปีที่แล้ว +1

    oh god Brackeys you are the best
    thank you for all the tutorials
    I feel like i'm stealing this content for getting it for free

  • @shoebsmk
    @shoebsmk 5 ปีที่แล้ว +3

    Gyroscope controls next

  • @brainy3429
    @brainy3429 3 ปีที่แล้ว

    I simply love this man.

  • @skynet2300
    @skynet2300 6 ปีที่แล้ว +3

    hi nice tutorial and I think that you should make more of it.
    you should make more tutorials about programming, withotu refering to asset store, we are here to learn how to make something by ourselves from scratch!

    • @abysslight5178
      @abysslight5178 6 ปีที่แล้ว +1

      You need assets for testing and visual feedback

    • @purrleterian
      @purrleterian 6 ปีที่แล้ว

      And assets have nothing to do with programming. By using assets from the assets store, he has more time to focus on the topic of the video

    • @skynet2300
      @skynet2300 6 ปีที่แล้ว

      yes but i wasnt thinking about models when he uses asset store, basically he downloaded joystick from store and implemented it, but all i want to know is how to program that joystcik from very scratch

    • @jordanneedscoffee
      @jordanneedscoffee 6 ปีที่แล้ว

      @@skynet2300 Read the video title. It's about touch input, not how to program your own joystick. The joystick was just a practical example of how to use touch input.

  • @RogerTheil
    @RogerTheil 6 ปีที่แล้ว

    That's a cool keyboard you have, Brackeys

  • @zetus11
    @zetus11 6 ปีที่แล้ว +3

    Hey, could you please do a video on how to drag a 3d object and move it around using touch?
    It would be really helpful, love your videos!!

    • @planetofeffects5422
      @planetofeffects5422 2 ปีที่แล้ว +2

      once you have the world position of the touch you can us that to find the object (maybe using a raycast) and then you could find the next position in the next frame, get the normalised vector for it, and then make that object go to that vector*previousdistance....
      i know youve sent this comment 3 years ago.. but if you want help with this we can talk about it

    • @darshandev1754
      @darshandev1754 2 ปีที่แล้ว +2

      @@planetofeffects5422 lol I'd be concerned if he still needed help with it 😆

  • @romanglinnik8073
    @romanglinnik8073 6 ปีที่แล้ว +1

    Awesome tutoriel, can't wait for the next👍

  • @unknownplayer3272
    @unknownplayer3272 4 ปีที่แล้ว +37

    Huh unity REMOTE? Isnt so remote if u ask me

    • @denizdemir9255
      @denizdemir9255 4 ปีที่แล้ว

      @I'll demo in a bit but unfortunately it is the ONLY alternative. :/

    • @juliuswon4216
      @juliuswon4216 4 ปีที่แล้ว

      @@denizdemir9255 on Android you can build directly to the phone.

    • @Zach-sc9xu
      @Zach-sc9xu 4 ปีที่แล้ว

      julius won same with Apple if you have a Mac. Just download x code

    • @carlabalos3884
      @carlabalos3884 4 ปีที่แล้ว

      The game looks like being cropped when using remote 5.

  • @TheSkeleton27
    @TheSkeleton27 3 ปีที่แล้ว +2

    who hates it when brackeys makes you delete 612 lines of code
    |
    |
    v

  • @Lav_A
    @Lav_A 4 ปีที่แล้ว +4

    i am getting this error "setup android sdk path what can i do?

  • @MiloTheDuck-s7j
    @MiloTheDuck-s7j 5 ปีที่แล้ว

    THANKS youre tutorials help me alot

  • @nkbdl
    @nkbdl 4 ปีที่แล้ว +3

    Just for those who are watching this recently, I needed to add using Debug = UnityEngine.Debug; on the top to make the codes at 8:31 work

  • @sergio2681
    @sergio2681 4 ปีที่แล้ว

    Good job again, my friend

  • @phineox113
    @phineox113 6 ปีที่แล้ว +3

    Thank you, i was going to have to learn this eventually but im glad i got a peek into the future. Love your videos they are of great help. Cant wait to be famous in the gaming industry with my games. Keep on Brackeys!

  • @crisjohnson2997
    @crisjohnson2997 5 ปีที่แล้ว

    Probably the best explanation about touch, thank you !

  • @bairstuffs
    @bairstuffs 5 ปีที่แล้ว +6

    This tutorial is awesome - thanks for making it! I was wondering what kind of extra tinkering it would take to make the joystick control an instantiated prefab/clone.

  • @TeekTawks
    @TeekTawks 2 ปีที่แล้ว

    The person with less than five fingers must me crying 4:30

  • @everton.colombo
    @everton.colombo 6 ปีที่แล้ว +6

    Hey, great video! I would like to make a suggestion: how about a video about drag and drop UIs? I have never seen a good quality tutorial about that topic, and would really like learning it from you.

  • @transformers395
    @transformers395 6 ปีที่แล้ว

    Oh Thank God, you just made a video on touch controls. I've been waiting for million of years for that video.
    Very Very Thankful to you. Hail Brackeys

  • @redamakarem3737
    @redamakarem3737 6 ปีที่แล้ว +3

    Hello Brackeys,
    Is it possible to have a tutorial on LeanTouch asset? To be more specific, I am interested in knowing how to move, rotate and scale multiple objects in the scene(individually)
    Thanks and great tuts as always :)

  • @roman43933
    @roman43933 5 ปีที่แล้ว +1

    plese make a viedo on sdk jdk path set in unity

  • @masterox2
    @masterox2 4 ปีที่แล้ว +91

    The person who's reading this, wish u an awesome day! :)

    • @JMANTHEGERMAN
      @JMANTHEGERMAN 4 ปีที่แล้ว +5

      ^ -^

    • @masterox2
      @masterox2 4 ปีที่แล้ว +2

      @Honey Hive thanks :)

    • @masterox2
      @masterox2 4 ปีที่แล้ว +2

      @@JMANTHEGERMAN :)

    • @mr_slimey3215
      @mr_slimey3215 4 ปีที่แล้ว +1

      Thanks mate!

    • @masterox2
      @masterox2 4 ปีที่แล้ว +1

      @@mr_slimey3215 :)😀 Hope you had an awesome day!
      -edit: dont know why the emoji is not showing

  • @edmondeyeemceeezekiels9158
    @edmondeyeemceeezekiels9158 4 ปีที่แล้ว

    Gotta love this Chanel if you already don't!

  • @animahon
    @animahon 5 ปีที่แล้ว +9

    Huh inaccurate! Depending the Device you actually need to enter debug mode to be able to use remote 5. as well as download some sdk/ndk files if your on Android.
    To enable developer mode on Android find your build number (often in about phone). Then go to developer tool and enable debugging over USB cable. Now select your device in unity. Under edit-> preferences you need to link an sdk and ndk library. And know your good to go. Remember that your computer needs access to your phones storage as well as it might need a software depending on your phone and manifacturer

    • @albond
      @albond 4 ปีที่แล้ว

      animahon3000 *if _you're_ on Android, *now _you're_ good to go, *phone's, *manufacturer

    • @spru_sky
      @spru_sky 4 ปีที่แล้ว

      @maximiliano vergara
      1. You can find your build number by going to your settings and scroll to the bottom of the screen and select that, find the build number and click it 7 times...
      2. The developer tool is Unity Remote 5.
      Just download the app at the Playstore.

  • @mehmetakn8407
    @mehmetakn8407 ปีที่แล้ว

    Thank you very much! Your tutorials are so helpful.

  • @Perfectbeing1045
    @Perfectbeing1045 4 ปีที่แล้ว +5

    It doesn't broadcast the game to my phone even when I do all the steps to setting it up. Any suggestions ?

    • @Wail-sd1ws
      @Wail-sd1ws 4 ปีที่แล้ว +1

      Have you tried the Unity Remote 5 app on the app store
      Edit: After Starting the video I realize this is a step and I seem like a douche

  • @marko-o2-h20
    @marko-o2-h20 5 ปีที่แล้ว

    Thanks Brackeys!