Game Development Reference
In-Depth Information
Ascertaining Collision Data Optimization: Calculating
Data Footprint for SVG Data
Let's figure out our data footprint optimization percentage. The SVG data culled from
the file shown in
Figure 16-18
, and put into the format we will use in our Bagel() con-
structor method call, can be seen in the top part of
Figure 16-19
.
Mouse-over both iBshape1svg files, seen in
Figures 16-19
and
16-20
,
and get the
file size, or right-click on the file, and use a
Properties
dialog to find the number of
bytes in the files. This should be
97
bytes and
1,605
bytes.
Figure 16-19
.
Open folder in your workstation containing the SVG data, and mouse-over file to see the number of
bytes