Basically the API itself did not provide such 'tiling' animation. But
the technique is simple and tons of tutorial related to that is
available.
Alternatively, you may also look for 2D game engines for Android, I
think this is fundamental in game development to support tile
animation.

On Nov 17, 5:02 am, TreKing <[email protected]> wrote:
> On Thu, Nov 11, 2010 at 10:12 PM, elioncho <[email protected]> wrote:
> > Is there a way to make the background- image repeat endlessly or should I
> > load the image twice and move them one behind the other one. Can anyone
> > guide me on this one?
>
> Well, since no one else is responding ... I haven't used drawing stuff in
> Android too much, but most rendering APIs will have some way of specifying
> where to draw what portion of an image. So you could draw the right half of
> the image on the left half of the screen and vice versa. Then you could draw
> into those two areas, moving the "wrap point" to give the illusion of
> movement.
>
> If you can't do something like this, your two-image idea is worth a shot,
> assuming they're small. Or look into OpenGL - there's gotta be a way of
> doing such things with that.
>
> -------------------------------------------------------------------------------------------------
> TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
> transit tracking app for Android-powered devices

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" 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-developers?hl=en

Reply via email to