CreateJS / TweenJS

A simple but powerful tweening / animation library for Javascript. Part of the CreateJS suite of libraries.
http://createjs.com/
MIT License
3.56k stars 967 forks source link

图形滚动 #113

Open yuanhaotian opened 3 years ago

yuanhaotian commented 3 years ago

Can you provide some ideas for the continuous scrolling of graphics in one part of canvas instead of the whole canvas? thank you

danzen commented 3 years ago

Hi @yuanhaotian - in ZIM we have a Scroller() class - you can look to see how we did that or consider using ZIM which extends CreateJS. https://zimjs.com/docs.html?item=Scroller here is an example of what it can do: https://zimjs.com/bits/view/scroller.html is this what you are looking for?