Wizcorp / unitydemo-SurvivalShooter

Unity demo project: Survival Shooter
12 stars 22 forks source link

Touch Controls for mobile devices #5

Open NancyTs opened 6 years ago

NancyTs commented 6 years ago

closes issue Wizcorp/unitydemo-SurvivalShooter#3 Adds 2 Virtual Joysticks for movement and shooting Updated to work in Version 2017.3.1f1 Switch build platform to android to see the changes

cainmartin commented 6 years ago

I tested this on an android device and it worked just fine. A couple of comments though:

  1. I would avoid checking in binary files (the APK) into the main repo in general - it's not necessary given it can be built from the project, and can cause some confusion regarding versioning etc.

  2. Secondly, I am just wondering why the right virtual joystick is more 'square' than circular - it's fairly common to use circular joysticks on both controls.

NancyTs commented 6 years ago

@cainmartin

  1. You are right, I committed the APK in case you didn't want to do your own build, but it's a bad practice usually.
  2. I didn't notice a "squareness" to the right joystick, could you elaborate?
cainmartin commented 6 years ago

Sorry didn't get back to you sooner - when I ran the build on an android device, the right joypad looked square (with rounded corners).