Android Game Tutorial - MULTI TOUCH - EP13

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

ความคิดเห็น • 6

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

    Hey all!
    Hope you are having a great day!
    We are finally adding Multi Touch!
    Enjoy! :D

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

    New subscriber here. Really looking forward to this series. Thank you very much sir.

  • @user.isUnknown
    @user.isUnknown ปีที่แล้ว +1

    Nice video, but I have a suggestion regarding the ConcurrentModificationException. Instead of using an ArrayList and putting the code in a synchronized block, we can use CopyOnWriteArrayList. This will eliminate the need for synchronization.

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

    I think there's a bug in the multitouch code. If you hold the attack/menu button first and the touch the joystick, the player will move toward the direction of the first touched button.

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

      I think I'm having a similar bug. Whenever I hold the attack or menu button, use the joystick, then release the attack or menu button, I move straight up until I hold the attack or menu button again-- when I hold the attack or menu button, the joystick acts normally. The problem seems to persist until I let go of the joystick-- after this, the joystick, attack, and menu buttons seem to act as expected. Does anyone know what's causing this bug? Thanks in advance!

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

      @@allmath1172 I have solved the problem. It's because of how the Android multitouch system is implemented, it's quite confusing.