I replied on the developers group but will paste my thoughts here as well.
It is *impossible* to do smooth scrolling on Android, or any other mobile OS which allows background processes. Even though your game can be tuned to the max, nothing prevents *other* apps from triggering GC. That is, in my game, I *never*, *ever* do any allocation after startup. However, other background processes do trigger GC, and voila - my game stutters for a bit when GC kicks in. Compare to iPhone, which disallows background processing and the foreground app is never interrupted. Cheers On Thu, Mar 26, 2009 at 11:18 AM, [email protected] <[email protected]> wrote: > > because I don't think Android can handle smooth scrolling. Tried > myself with all sorts of views, surface views, always a horrible > flicker even with 20 - 30fps. > > Looking at the market its the same story. Most games don't attempt > side scrolling and the ones that do end up with very jerky scrolling, > e.g. deBlob $3.99 ported from iPhone. Alien Blood Bath is a similar > story. > > I'm starting to think this is a technical limitation.If it is, this > could mean our games never compete with other mobile platforms and > could limit Android's ability to compete in the market. > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Discuss" 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-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
