well, this is what i meant by importing shapes...or i got something
wrong, and from the moment of putting few different images inside of
one sprite all transformations will apply to them all?

Also, i think idea of using svg as a container of different elements
of gui for example quite useful by itself...

Anyway, thank you for support!!!

On Mar 1, 5:38 pm, "Martin O'Leary" <[email protected]> wrote:
> That would certainly be easier to accomplish, but obviously less
> useful. Again, I'll bear it in mind, but don't hold your breath.
>
> 2009/3/1 sonomute <[email protected]>:
>
>
>
> > I see...But what about importing only parts of svg file and loading
> > them to sprite independently? It loks like i can at least load few
> > different svg to one sprite,right?
>
> > This way i can recreate my shape and then do the rest...
>
> > Thank you!
>
> > On Mar 1, 3:52 pm, "Martin O'Leary" <[email protected]> wrote:
> >> I'm the original developer, but as the question was asked on-list,
> >> I'll reply on-list.
>
> >> There's currently no way to do this, although I can well understand
> >> why you would want to. Sadly, it's relatively unlikely that such a
> >> feature would become available - in order to achieve reasonable speeds
> >> in Squirtle, certain optimisations have to be made (either using
> >> display lists, as in the current stable version, or Pyglet's vertex
> >> lists as in the development branch) which mean that modifying the
> >> internals of an SVG after creation would be quite a difficult process.
> >> However, the feature request is noted, and I'll definitely bear it in
> >> mind for future releases.
>
> >> 2009/3/1 sonomute <[email protected]>:
>
> >> > Since i didn't find special group for this library(only some Pokemons
> >> > stuff:)) and it is for pyglet, i'm posting it here:
>
> >> > I have one request/suggestion/question whatever...is it possible to
> >> > implement functions like this:
>
> >> > my_svg = squirtle.SVG('filename')
> >> > svg_element = my_svg.get_child('element_name')
>
> >> > so one can import svg shapes and treat them independently inside of
> >> > sprite for example? it will be nice for animating sprites or, in my
> >> > case, control transformations like scaling and rotating...and may be
> >> > change opacity and some other attributes of elements?
>
> >> > I checked code of library, but i'm not really competent in python
> >> > yet:) It just svg structure itself looks quite clear, even svg library
> >> > for Processing (part of distribution now) which is quite primitive can
> >> > deal with parts of svg file...
>
> >> > I also sent same message to it's original developer, but in case if
> >> > somebody interested in same things and know how to realize it...
>
> >> > Anyway, thanks you very much! It looks like pyglet really what i'm
> >> > looking for, and some nice libraries based on it like cocos2d and PyMT
> >> > making it even more cool, may be i found tool for writing my final
> >> > thesis...
> >> > Cheers!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pyglet-users" 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/pyglet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to