Yes, the 7,3 coordinates do refer to the snake's head tile bitmap (I did not make it sensitive to touch events; 7,3 is merely the coordinate set it starts off around) and the 90,40 is from my touch input on the view-- my question is how can I make the bitmaps that compose the snake's head and body 'aware' of what coordinates on the view's coordinate plane they overlap? Also, and you probably will need access to the sample code to answer this, how exactly do the snake's update/draw functions work when it is essentially on its own coordinate plane? I would expect them to map to the view's coordinate plane somewhere before rendering, but perhaps they don't need to and the Android renderer can work with only relative coordinates?
On Jun 10, 2:30 am, rich friedel <rich.frie...@gmail.com> wrote: > 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en