Hi skink, thanks for test. On what device you tested? What FPS you got, when not shooting bullets?
Yes, I think I should avoid any rotation operation on Canvas... Best Regards, Andre On 21 янв, 12:41, skink <psk...@gmail.com> wrote: > On Jan 21, 9:22 am, Andre <andranik.abra...@gmail.com> wrote: > > > Link to my .apk file: > > >http://rapidshare.com/files/338665093/Asteroids.apk.html > > > You can use following command to see output from the app: > > > adb logcat dalvikvm:D Asteroids:D *:S > > > There is a little issue with gc somewhere during the app init, not > > solved yet..., and after this I have no gc calls during the game loop. > > hi, > > i got 20-30 fps with average 27 > > one observation: you have bullet 8x8 px but actual bullet is 2x6, try > to crop it to that size or prepare bitmap of 8x(N*8) with prerotated > bullets, where N is number of possible angles your spaceship can turn > - that way you dont have to rotate your bullets in runtime > > pskink
-- 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