[android-beginners] Re: Sprite imaging for 2D game programming

2009-05-18 Thread ayush
there is no Sprite class available like the one in J2ME. like nicholas suggests - u might want to write your own custom sprite class with the same functionality. i managed to avoid it on my current project, but i guess sooner or later i'll have to write my own game API. here is what i have in

[android-beginners] Re: Sprite imaging for 2D game programming

2009-05-18 Thread Cass Surek
Guys, I have tried to use AnimationDrawable and could never get to make it work. This is what I've tried to do: http://groups.google.com/group/android-beginners/browse_thread/thread/12b1af591d8dfbf0?hl=en Grateful for any insights from any of you. Cheers Cass On May 18, 11:36 am, ayush

[android-beginners] Re: Sprite imaging for 2D game programming

2009-05-17 Thread Nicholas Radford
Take a look at http://developer.android.com/reference/android/graphics/Canvas.html#drawBitmap(android.graphics.Bitmap, android.graphics.Rect, android.graphics.RectF, android.graphics.Paint) http://developer.android.com/reference/android/graphics/Canvas.html drawBitmap calls, (if your using the