No CSS usage in my game. Some other tips please?

--- In [email protected], <[EMAIL PROTECTED]> wrote:
>
> Are you using styles in your svg?
> 
> for example
> 
> <style type="text/css"><![CDATA[.Pen0 {fill:none; stroke:#FFFFFF; 
> stroke-width:0.5}.Brush0 {fill:#FFFFFF; stroke:#FFFFFF; st........
> 
> and then
> 
> <path d="M172.5,263.261 L187.5,263.261 L187.5,238.261 L172.5,238.261 
> L172.5,263.261" class="Brush0" />
> 
> if you are then expect FF to run slowly if your doing some animation
with a 
> stylesheet.
> 
> 
> Hope ive been helpful
> 
> Richard
> 
> 
> 
> 
> >From: "revelonshift" <[EMAIL PROTECTED]>
> >Reply-To: [email protected]
> >To: [email protected]
> >Subject: [svg-developers] Performance tips
> >Date: Thu, 21 Sep 2006 09:55:38 -0000
> >
> >Hello there. Is there somebody experienced in
> >high-perrformance-tweaking of SVG implementation in Mozilla? I did
> >almost everything I could think about for optimization, but still, my
> >Submarine close-to-finish game performs in Gecko based browsers the
> >worse. The best is of course ASV (taking rouhly about 30% os CPU),
> >second is Batik (taking in some actions 100% of CPU), then Opera (is
> >optically slower than Batik but takes maximally 70% of CPU => I don't
> >know why :-(  ) and Mozilla/Firefox is the worst of them, reaching
> >100% of CPU power very often. I tried use of cloneNode instead of
> >creating new one, without benefit, I tried use one complex gradient
> >instead of several simple ones, again no benefit. The only possible
> >way to speed things in Firefox up is disable almost everything and
> >reduce greatly number of elements. But I'm quite sure that there must
> >be something I'm still not aware of...
> >
> >Thx for any tips,  Marek
> >
> >PS: Another problem I'm heading is sound => is there someone who knows
> >how to via Scripting control playing sounds, compatibility in many
> >browsersa is especially welcome. I failed using embed objects, playing
> >through FLASH API is also not very working, but perhaps there is some
> >way....
> >
> >
> >
> >
> 
> _________________________________________________________________
> Be the first to hear what's new at MSN - sign up to our free
newsletters! 
> http://www.msn.co.uk/newsletters
>







-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
---- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/svg-developers/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to