To migrate a map to 1_3, currently the following is necessary:
- Remove the map asset dependency on library/1_2 and add one for library/1_3.
- The map script should include the following line before any other Library.include commands:
Library.include('library/1_3/'); - Imports of 1_2 libraries should be changed as follows:
Library.include('library/1_2/Projectiles');
should become
Library.include('library/' + Global.LIBRARY_VERSION + '/Projectiles');
(this way of doing things will help make future library migrations much easier).
After doing those, the map should work exactly as it did with library/1_2.
No comments:
Post a Comment