Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Map not rendered #2

Open
iujlaki opened this issue Aug 9, 2015 · 0 comments
Open

Map not rendered #2

iujlaki opened this issue Aug 9, 2015 · 0 comments

Comments

@iujlaki
Copy link

iujlaki commented Aug 9, 2015

Hi,

I tried to load map.tmx file generated by Tiled but rendered nothing. The weirdest thing that it works on simulator but not works on my device.
This is my tmx file:

<?xml version="1.0" encoding="UTF-8"?>
<map version="1.0" orientation="isometric" renderorder="right-down" width="10" height="10" tilewidth="128" tileheight="64" backgroundcolor="#66d164" nextobjectid="1">
 <tileset firstgid="1" name="forest_trees@2x" tilewidth="132" tileheight="116">
  <image source="[email protected]" width="132" height="116"/>
 </tileset>
 <tileset firstgid="2" name="grass@2x" tilewidth="132" tileheight="66">
  <image source="[email protected]" width="132" height="66"/>
 </tileset>
 <tileset firstgid="3" name="pine_trees@2x" tilewidth="128" tileheight="129">
  <image source="[email protected]" width="128" height="129"/>
 </tileset>
 <layer name="Ground" width="10" height="10">
  <data encoding="base64" compression="zlib">
   eJxjYmBgYBrFgwYDAJ9gAMk=
  </data>
 </layer>
 <layer name="Barriers" width="10" height="10">
  <data encoding="base64" compression="zlib">
   eJxjYCANMEMxMWoIqSVXHbpaRhxq0dUwoolhsxObOmyAmuoYkTAAPtwARg==
  </data>
 </layer>
</map>

My code works fine with "01.tmx" from your example.
What is the problem with my xml?
Thanks,
Imre

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant