I'm not aware of a joystick widget, but developing one (warning: famous last words) should be easy. Just process the touch events' x and y relative to the center of the widget and convert that into joystick input.
Yusuf Saib Android ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On Aug 7, 11:33 pm, Luciano Broussal <luciano.brous...@gmail.com> wrote: > Hi all, > > Any idea if such widget already exists ? or the best way to implement > it? > > Thanks > > Croco > > On Aug 3, 9:01 pm, Croco <luciano.brous...@gmail.com> wrote: > > > > > Hi All, > > > I'm wondering if someone know a snippet of code that would implement a > > joystick behavior. > > > I did a 4 orientation button widget but it's really not user friendly > > for my game :( > > > Thanks by advance. > > > Croco --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---