Hi Roman, Thanks for the patch! I'm sorry I can't look at this right now, but once we get your multi-file approach done&tested, I'm pretty sure it can be merged into SDLx::Sprite::Animated. If you want to speed things up, please join us at #sdl in irc.perl.org.
Cheers, garu On Thu, Mar 24, 2011 at 5:12 AM, Roman V. Nikolaev <rsha...@rambler.ru> wrote: > How? > I was use SDLx::Sprite::Animated, but my images in separate files like: > unit-run1.png, unit-run2.png, unit-run3.png, ... > I make simple child (in attach) but this strings not work: > > my $full = SDLx::Surface->new(width=>$width, height=>$height); > $_->surface->blit($full) for @sprite; > > I try SDLx::Sprite->draw but it not work too. I think I go to wrong way. > Please help me to do this. > > P.S. What you think: this code (with fixes) can be added later in > SDLx::Sprite::Animated? > > > Roman V. Nikolaev > >