• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps android java how to add a joustick

jordy2254

Lurker
Apr 23, 2012
3
0
Hello people I am in process of making a small game in Java for android and I was wondering how you add a joystick so far I have the following classes Mainactivity: this contains a a play button leading to the next class Play: this conatains a thread that dress a canvas witch is linked to tthe next class Sprite: this contains all coding needed to animate a sprite tto go round a the outside of a screen so what I would like is some help on how to add a joystick to controlled the sprite in the ssprite class if someone could do a video or upload a link to a good website/video that would be much apreciated

Cheers

Jordan
 

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones