Mercurial > MadButterfly
view examples/tank/README @ 1395:a768d74e5f49
Fix the svg:use. For a svg:use, it is a group which include the content it reference. It means that we can not tween it to its origin object directly. Instead, we need to ungroup it and then use the result matrix to generate the tweened transformation matrix. Therefore, we need to concate its matrix to the referenced object.
Ad center object when the bbox-x is not available.
author | wycc |
---|---|
date | Sat, 02 Apr 2011 05:36:36 +0800 |
parents | 69e32729cd06 |
children |
line wrap: on
line source
<LEFT> Turn to left. <RIGHT> Turn to right. <UP> Turn to up. <DOWN> Turn to down. <SPACE> To Fire.