Chapter 4: Encoding Game Data

You have now completed all steps required to encode game data.
Just launch

ant encoding
to get binary 4 java file (binary file encoded using Java standard methods) in b4j\output\encoder.
This is your final binary game data, which won't evolve through following tutorial steps. The specific part of corresponding encoder is this generated XSLT transform.

Test decoding

To double-check the content of your binary game data file, you can

That's all about encoding!

Next

Go on to Chapter 5...
or back to Chapter 1 or Chapter 2 or Chapter 3.