Mercurial > fife-parpg
view tests/data/crate_full_001.xml @ 141:5e85737281bc
- some modification to loaders and serializers/xmlmap, now you can set a callback which informs you about finished parts of the maploading process
- this can be used to prepare other parts of your client (e. g. load ingame gui) or to show a maploading progress bar
USAGE (example):
- map = loadMapFile(mapfile, engine, my_callback)
- def mycallback(msg, percent): print msg; print percent
author | chewie@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Fri, 03 Oct 2008 12:14:39 +0000 |
parents | 4a0efb7baf70 |
children |
line wrap: on
line source
<animation delay="10" id="2005"> <frame source="crate/full_s_000.png" /> <frame source="crate/full_s_0001.png" /> <frame delay="20" source="crate/full_s_0002.png" /> <frame delay="40" source="crate/full_s_0003.png" /> <frame delay="60" source="crate/full_s_0004.png" /> <frame delay="80" source="crate/full_s_0005.png" /> <frame delay="100" source="crate/full_s_0006.png" /> <frame delay="120" source="crate/full_s_0007.png" /> <frame delay="120" source="crate/full_s_0008.png" /> <frame delay="100" source="crate/full_s_0007.png" /> <frame delay="80" source="crate/full_s_0006.png" /> <frame delay="60" source="crate/full_s_0005.png" /> <frame delay="40" source="crate/full_s_0004.png" /> <frame delay="20" source="crate/full_s_0003.png" /> <frame source="crate/full_s_0002.png" /> <frame source="crate/full_s_0001.png" /> </animation>