On Tue, Jul 01, 2008 at 12:04:15PM +1000, Bluebie, Jenna wrote:
> When you run code in an 'animate' loop, does the animate loop cache all the 
> updates until the code block finishes and then draw them to the screen, or 
> progressively draw then straight to the display irrespective of screen 
> refreshes and the likes? If not, could I simulate it by drawing to an 
> ImageBlock or something like that instead? Mainly I'll just be layering 
> images on top of each other rapidly, and maybe drawing some text and simple 
> vectors.

Updates aren't batched together yet, no.  This is in my plans for
the July 31st release.  Depending on the number of objects you're
animating, you may try using a `clear` block rathen than a lot of
`move`s.  Since images are cached in memory anyway.

> Can I play with Shoes in IRB or something like it?

samples/expert-irb.rb is the only IRB wrapper so far.

_why

Reply via email to