You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
First of all thank you very much to you and all the people who contributed to this project.
I am a beginner developer and I have searched everywhere but I can't find a way to load objectsGroup or Layers that are in a group on Tiled.
I tried to look in your code and add this into the map.cs
foreach (var e in xMap.Elements("group").Elements("layer"))
Layers.Add(new TmxLayer(e, Width, Height));
foreach (var e in xMap.Elements("group").Elements("objectgroup"))
ObjectGroups.Add(new TmxObjectGroup(e));
And it's working \o/
I don't know if it's the right way to do it or if it's already possible and i missed the process.
Thanks again for your work
Br
The text was updated successfully, but these errors were encountered:
I'm afraid it's been an incredibly long time since I have worked on this project. Despite its unmaintained status, patches from contributors appear to have allowed it to limp along.
To the best of my memory, there are some unimplemented elements, and ObjectGroup may be one of them. Or perhaps they are implemented but were never tested.
I will see if I can find some time to look into your problem, but am unsure when it will happen. But perhaps someone else watching this issue has more information.
Hi,
First of all thank you very much to you and all the people who contributed to this project.
I am a beginner developer and I have searched everywhere but I can't find a way to load objectsGroup or Layers that are in a group on Tiled.
I tried to look in your code and add this into the map.cs
foreach (var e in xMap.Elements("group").Elements("layer"))
Layers.Add(new TmxLayer(e, Width, Height));
foreach (var e in xMap.Elements("group").Elements("objectgroup"))
ObjectGroups.Add(new TmxObjectGroup(e));
And it's working \o/
I don't know if it's the right way to do it or if it's already possible and i missed the process.
Thanks again for your work
Br
The text was updated successfully, but these errors were encountered: