Mercurial > MadButterfly
view examples/tank/bullet.svg @ 795:46a4cd4d382b
Remove dependent on system time to gain frame rate
Date.now() would read system time. It is ineffeciency in for some
implementation. To gain frame rate, we should rely on accuration of
setInterval().
author | Thinker K.F. Li <thinker@codemud.net> |
---|---|
date | Tue, 31 Aug 2010 10:04:15 +0800 |
parents | 3895d2224e67 |
children |
line wrap: on
line source
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <!-- Created with Inkscape (http://www.inkscape.org/) --> <svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" width="10" height="10" id="svg2523" sodipodi:version="0.32" inkscape:version="0.46" version="1.0" sodipodi:docname="bullet.svg" inkscape:output_extension="org.inkscape.output.svg.inkscape"> <defs id="defs2525"> <inkscape:perspective sodipodi:type="inkscape:persp3d" inkscape:vp_x="0 : 526.18109 : 1" inkscape:vp_y="0 : 1000 : 0" inkscape:vp_z="744.09448 : 526.18109 : 1" inkscape:persp3d-origin="372.04724 : 350.78739 : 1" id="perspective2531" /> </defs> <sodipodi:namedview id="base" pagecolor="#ffffff" bordercolor="#666666" borderopacity="1.0" gridtolerance="10000" guidetolerance="10" objecttolerance="10" inkscape:pageopacity="0.0" inkscape:pageshadow="2" inkscape:zoom="1" inkscape:cx="5.3383085" inkscape:cy="5" inkscape:document-units="px" inkscape:current-layer="layer1" showgrid="false" inkscape:window-width="640" inkscape:window-height="695" inkscape:window-x="393" inkscape:window-y="151" /> <metadata id="metadata2528"> <rdf:RDF> <cc:Work rdf:about=""> <dc:format>image/svg+xml</dc:format> <dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> </cc:Work> </rdf:RDF> </metadata> <g inkscape:label="Layer 1" inkscape:groupmode="layer" id="layer1"> <rect style="opacity:1;fill:#333333;fill-opacity:1;stroke:#4d4d4d;stroke-width:0.62018234000000005;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" id="rect2533" width="2.2188118" height="5.6734467" x="3.9087794" y="3.5517902" /> <path sodipodi:type="star" style="opacity:1;fill:#333333;fill-opacity:1;stroke:#4d4d4d;stroke-width:1.54299998000000005;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" id="path2535" sodipodi:sides="3" sodipodi:cx="8.1385279" sodipodi:cy="1.0822511" sodipodi:r1="5.0263076" sodipodi:r2="2.5131538" sodipodi:arg1="0.53303411" sodipodi:arg2="1.5802317" inkscape:flatsided="true" inkscape:rounded="0" inkscape:randomized="0" d="M 12.467532,3.6363635 L 3.7620995,3.5542224 L 8.1859521,-3.9438328 L 12.467532,3.6363635 z" transform="matrix(0.3813576,0,0,0.3735973,1.9227663,2.306617)" /> </g> </svg>