Heres a bit of the code that manages the movement.. what do i need to
do to it
if (keyCode == KeyEvent.KEYCODE_DPAD_DOWN) {
if (mDirection != NORTH) {
mNextDirection = SOUTH;
}
return (true);
}
On Jan 23, 4:54 pm, HairyPlotter <[email protected]> wrote:
> I wanted to add swipe controls to my app. Like if you swipe up on the
> screen it will move the character up. I already have it set up with
> the Dpad controls but i wanted to make this a secondary option. Where
> can i find this action. I know dpad controls are in the key event
> class, where are swipe or touch controls. Will i be able to add them
> like i did with the other ones or is there a whole code to go with
> them
> -Hope this made sense (im kinda new to java and android), Matt
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en