Making a Mobile Bounce Game with Unity 3D and Playmaker - Adding Mobile Touch Input

Поделиться
HTML-код
  • Опубликовано: 23 дек 2024

Комментарии • 27

  • @boldfrog82
    @boldfrog82 3 года назад +2

    I didn't know about unity remote 5 until now... Thank you sir.. You are great.. Just install it...

    • @BlizStudio
      @BlizStudio  3 года назад +1

      That’s awesome. Just know that it’s not a perfect screen resolution on your phone but it at least let’s you test out touch events while connected to the editor

  • @tuhinbiswas98
    @tuhinbiswas98 3 года назад +2

    if i tap more then 1 time my paddle go outside screen and i did add float clamp like you say and set to 3 stil same problem :O and restart button some time work some time dont :x

    • @BlizStudio
      @BlizStudio  3 года назад +1

      Hey Tuhin, I think another great option would be to use Lean Touch. I have a vid on using Lean Touch to move a car on screen but can also be used for something like the bounce type game. ruclips.net/video/Va2VEJYoRxs/видео.html The basic version is FREE on the assetstore and should work really well and is easy to implement.

    • @tuhinbiswas98
      @tuhinbiswas98 3 года назад

      @@BlizStudio yes i did watch your lean touch video and use that :) ty ty

    • @jorgem.7408
      @jorgem.7408 2 года назад +1

      Yeah my game works fine in unity but on the remote app my paddle sometimes goes off screen and I get a "Screen position out of view frustum" error and the game breaks

    • @izultube
      @izultube 2 года назад

      @@BlizStudio free version does not have Lean Constrain to Axis, my apologize

  • @izultube
    @izultube 2 года назад +1

    Hi Jerry, how about touch event on android? Get Touch Info just for ios, thanks

    • @BlizStudio
      @BlizStudio  2 года назад +1

      I would use either the New Input System with Touch events or Lean Touch + for drag events.

  • @PositivelyGhost
    @PositivelyGhost 3 года назад +2

    Hey Jerry Great video ! i wanted to ask if it is possible for you to make a small video on How to integrate Lean Touch asset with any games we make in unity ? if it is possible. Thanks again great video will be following you for more stuff !
    Cheers

    • @BlizStudio
      @BlizStudio  3 года назад +1

      Great suggestion!

    • @PositivelyGhost
      @PositivelyGhost 3 года назад +1

      @@BlizStudio Hey Thanks for the reply (even on a video you made so far back) Love your Tutorials, your way of explaining stuff is very simple and thats why i requested the Lean touch ( the free variant), as there are really not many tutorials about it and how to integrate them with playmaker. Anyways thanks once again for the Free tutorials !

  • @thefaynixx
    @thefaynixx Год назад +1

    Hey. I wanted to ask if we have a alternative solution for Unity remote 5. I cant intall it on my phone, Google saying me "This app is not available on your phone cause it was created for a old version of Android" ;w;

    • @BlizStudio
      @BlizStudio  Год назад

      Hey @thefaynixx2968 - firstly let me say "UNITY Get a new version out now!!!". They've needed to update this for a very long time. It's nice to be able to have it connected directly to Unity editor and be able to play your app and test inputs directly. I've seen a few folks who have posted updates or similar apps on Git but not sure the security of those since you are giving access to your computer from those apps. Only alternative is to just make a build directly but that is fairly easy to do, but it just takes time away from development.

  • @virtualarts4807
    @virtualarts4807 3 года назад +1

    if I want to add a mouse dragging input to the paddle how do I do that as I don't want the hovering mouse to control the movement of the paddle if u know please tell me i would be thankful

    • @BlizStudio
      @BlizStudio  3 года назад

      Hey Saif, create a new state. Then move the current Get Mouse X and Set Local Position actions to that new state. Then in the original Start State, you can add a Get Mouse Button Down. If someone clicks the mouse button, then take them to the state that has the Get Mouse X actions. You'll also need to add to the state that has the Get Mouse X actions, you'll add a Get Mouse Button Up. So that way if someone releases the Mouse Button it will go back to the Start State. Hope that makes sense.

    • @virtualarts4807
      @virtualarts4807 3 года назад

      @@BlizStudio can u create a tutorial on that it would be more clear to me

  • @FarazDirector
    @FarazDirector 3 года назад +2

    This was Tricky
    But It's Awesome to Learn 😍❤
    Keep it up..

    • @BlizStudio
      @BlizStudio  3 года назад +2

      Thanks Faraz. Felt like it was time to start the touch stuff since this was focused on being a mobile game. Hope you were able to do everything in the vid.

    • @FarazDirector
      @FarazDirector 3 года назад +3

      @@BlizStudio Yeah, Make more tutorials about Touch Controls.. It's Awesome..

    • @BlizStudio
      @BlizStudio  3 года назад +3

      @@FarazDirector I'll be recording another touch controls on a different mobile game type coming up next. ;)

    • @FarazDirector
      @FarazDirector 3 года назад +2

      @@BlizStudio Great.. 😍❤

  • @tokrasi_
    @tokrasi_ 3 года назад

    When i tap (or stop holding) the screen the paddle is going to X: 1.067478e+25 Y: 1.506966e+26 Z: -4.773706e+24. What am i doing wrong? (i use android)

    • @BlizStudio
      @BlizStudio  3 года назад

      Hey Crqshy, it will be hard to tell without seeing. When you go back to your start state for the paddle, go ahead and reset the position. Also on the state where you are moving the paddle, you can also add a Float Clamp. Float Clamp will of the variable you are using to move the paddle, you can use it to set a min and max value. That way it won't go outside of the screen. Let me know if that helps.

    • @tokrasi_
      @tokrasi_ 3 года назад +1

      @@BlizStudio It worked! Thank you :D

    • @BlizStudio
      @BlizStudio  3 года назад

      That's awesome!! Woohoooo

    • @izultube
      @izultube 2 года назад

      @@BlizStudio Get Touch Info won't get any input flinger on my android device, any suggest 🙏