~saurabhs/bomberman

1bb2b94048197d62163ee9e47e5c8b976ee6db86 — Saurabh S 4 years ago 03e0019
Using XML file to read tilemap data instead of TMX
9 files changed, 13 insertions(+), 13 deletions(-)

R Assets/Resources/Tilemaps/{map01.tmx => map01.xml}
R Assets/Resources/Tilemaps/{map01.tmx.meta => map01.xml.meta}
R Assets/Resources/Tilemaps/{map02.tmx => map02.xml}
R Assets/Resources/Tilemaps/{map02.tmx.meta => map02.xml.meta}
R Assets/Resources/Tilemaps/{map03.tmx => map03.xml}
R Assets/Resources/Tilemaps/{map03.tmx.meta => map03.xml.meta}
R Assets/Resources/Tilemaps/{map04.tmx => map04.xml}
R Assets/Resources/Tilemaps/{map04.tmx.meta => map04.xml.meta}
M Assets/Scripts/Common/Constants.cs
R Assets/Resources/Tilemaps/map01.tmx => Assets/Resources/Tilemaps/map01.xml +0 -0
R Assets/Resources/Tilemaps/map01.tmx.meta => Assets/Resources/Tilemaps/map01.xml.meta +3 -3
@@ 1,8 1,8 @@
fileFormatVersion: 2
guid: e1418f6b008fea24f83020b81a939e52
timeCreated: 1519987521
guid: a030965f4eecdff4e86b3ce1757ea2d4
timeCreated: 1521054664
licenseType: Free
DefaultImporter:
TextScriptImporter:
  userData: 
  assetBundleName: 
  assetBundleVariant: 

R Assets/Resources/Tilemaps/map02.tmx => Assets/Resources/Tilemaps/map02.xml +0 -0
R Assets/Resources/Tilemaps/map02.tmx.meta => Assets/Resources/Tilemaps/map02.xml.meta +3 -3
@@ 1,8 1,8 @@
fileFormatVersion: 2
guid: 3b68fcbba6e3e2d43aec929a77b64e21
timeCreated: 1519991038
guid: 81e76ce135c7e2642bf6636ba59d2762
timeCreated: 1521054664
licenseType: Free
DefaultImporter:
TextScriptImporter:
  userData: 
  assetBundleName: 
  assetBundleVariant: 

R Assets/Resources/Tilemaps/map03.tmx => Assets/Resources/Tilemaps/map03.xml +0 -0
R Assets/Resources/Tilemaps/map03.tmx.meta => Assets/Resources/Tilemaps/map03.xml.meta +3 -3
@@ 1,8 1,8 @@
fileFormatVersion: 2
guid: 1d8ed4fa0c68f074f8744f844b8d5596
timeCreated: 1520282328
guid: dd808a0836b495d49ae115ed326831e7
timeCreated: 1521054664
licenseType: Free
DefaultImporter:
TextScriptImporter:
  userData: 
  assetBundleName: 
  assetBundleVariant: 

R Assets/Resources/Tilemaps/map04.tmx => Assets/Resources/Tilemaps/map04.xml +0 -0
R Assets/Resources/Tilemaps/map04.tmx.meta => Assets/Resources/Tilemaps/map04.xml.meta +3 -3
@@ 1,8 1,8 @@
fileFormatVersion: 2
guid: 8e242d5d82b56d748835f26e7418cf4c
timeCreated: 1520534870
guid: ee5873eae6946194297b310446cd3e1c
timeCreated: 1521054664
licenseType: Free
DefaultImporter:
TextScriptImporter:
  userData: 
  assetBundleName: 
  assetBundleVariant: 

M Assets/Scripts/Common/Constants.cs => Assets/Scripts/Common/Constants.cs +1 -1
@@ 181,7 181,7 @@ namespace Bomberman

        private static XmlDocument GetXMLDocument( string filename )
        {
            var filePath = Application.dataPath + @"/Resources/Tilemaps/" + filename + @".tmx";
            var filePath = Application.dataPath + @"/Resources/Tilemaps/" + filename + @".xml";

            if ( !System.IO.File.Exists( filePath ) )
                return null;