Thursday, June 9, 2011

[android-developers] question about Snake game in sample code-- getting the snake tiles on to same coordinate plane as SnakeView

I don't have access to the snake game code at the moment but if I had to guess, I'd say that the (7, 3) coords are where the touchevent takes place on the body part and (90, 40) refers to where the touchevent takes place in the entire view.

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment