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)?
1 answer
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)methodonTouchEvent(MotionEvent event)- then we useeventand check the event we needevent.getAction() == MotionEvent.ACTION_HOVER_MOVE. - And
|
