Hi all,
I'm trying to simulate an endless vertical scrolling using CALayer.
In my first test I made a simple texture (it's a street asphalt) and I
create a CALayer with this texture as content.
I made also a socond layer with same content attached on top to the main
layer, simply incrementing the position
of the main layer I can made a scrolldown simulating a running steet see
from  top.
My question is : how can I made an infinite scroll? It's possible to change
the role of superlayer removing it when it's offscreen, adding a new
layer and promoting the old layer to super?
It's the way I'm using the right way? I've excluded CAScrollLayer because I
need to fine control the speed of scrolling in function of many parameters.


Many thanks
Fabrizio
_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to