After implementing all three optimize attributes to root element and removing of the only one one element with opacity (circle-sun) I could still easily during movement reach 100% of CPU load :-(
--- In svg-developers@yahoogroups.com, "Phi Tran" <[EMAIL PROTECTED]> wrote: > > More tips. > - Only use Semi-transparent or Semi-opacity when it is in real need. A pixel > is processed multiple times faster if it not Semi-opacity.(this is one of > the big time consuming work horse). > - One more tip that you should have in mind in creating the composition of > your SVG file/layer. If your pixel need to be in anti-alias you are forcing > the player to calculate and paint extra pixels (maybe 10- 15. . .) > > Hope it helps > > Phi > > > On 9/21/06, Phi Tran <[EMAIL PROTECTED]> wrote: > > > > In my experience I use this scheme and it helps. > > > > I use multiple layers specially those that serve as the background. > > Then I only "redraw" the layer that need to change. In this case I do not > > force the player to scan/redraw the whole SVG. > > Note: > > Every time updating the player does not know which and which. A pixel may > > be drawn multiple times of background and in order to come to the final > > foreground colors You want to avoid that... > > > > The drawback of this scheme is: > > - You may have to maintain multiple SVGs. > > - More SVG external javascript coding. > > > > There is only few style and attributes items that actually affect the > > drawing but I have scanned thru thousands of SVG files. Many of them (99% > > plus) have lengthy attribute and lengthy style. It does nothing but only > > wasting the CPU time. Remember: the player need to maintain all of them > > cascadingly (you also want to avoid that too) > > > > > > Hope it helps. > > Phi. > > > > > > On 9/21/06, Sylvain Rouillard <[EMAIL PROTECTED]> wrote: > > > > > > revelonshift a écrit : > > > > No CSS usage in my game. Some other tips please? > > > > > > avoid transparency like the plague. > > > > > > > > > > > > > > > > > > __________________________________________________________ > > > Découvrez un nouveau moyen de poser toutes vos questions quelque soit le > > > sujet ! > > > Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions > > > et vos expériences. > > > http://fr.answers.yahoo.com > > > > > > > > > > > > > > > > > -- > > Phi - Tran > > Hugely increase your speed, saving your band-width with ZipProtocol > > plus crystal clear SVG Rendering image at > > HTTP://oneplusplus.com > > > > > -- > Phi - Tran > Hugely increase your speed, saving your band-width with ZipProtocol > plus crystal clear SVG Rendering image at > HTTP://oneplusplus.com > > > [Non-text portions of this message have been removed] > ----- 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/