Game Development Reference
In-Depth Information
The conversion of this data can be done manually, or by building a simple application that will convert it for you.
This is situation when custom tools can be built to help you be more productive when creating game assets and data.
The next approach is to manually lay out each character in a Flash timeline, which will then export the . png files
to be used in Texture Packer. Figure 6-6 shows a timeline in Flash being used to generate a series of numbers that
could be used in a scoreboard in EaselJS.
Figure 6-6. Number characters on the Flash timeline
The movieclip in Figure 6-6 has a center-aligned text field on the stage. By advancing down the timeline's
keyframes, the text value is updated. This results in a series of numbers using a special font in each frame, all sharing
the same spacing. The keyframes can be exported to a .png sequence by right-clicking on the movieclip in the library
and choosing Export PNG Sequence (see Figure 6-7 ).
 
Search WWH ::




Custom Search