Tell me how you can implement in Java on Android control using the built-in joystick (as in the lower left corner of the screen)?

enter image description here

    1 answer 1

    Personally, I did this with libGDX . And there is a tutorial on this topic link to the source .

    • Tell me, how is it possible without a joystick, by standard means, to realize the movement of a "snake"? so that wherever we go, we move it there - Dagget
    • @Dagget; For example, there is an onTouchEvent(MotionEvent event) method onTouchEvent(MotionEvent event) - then we use event and check the event we need event.getAction() == MotionEvent.ACTION_HOVER_MOVE . - And